Shut Down Windows
Author:Intelligent Solutions Inc.
This routine is a wrapper around the ExitWindowsEx API function. Use one of the Enum Values in the Declarations below as a parameter. If the name of the value has FORCED in it, it will not give other applications a chance to exit normally. Thus, use one of these values with caution.
Instructions: Copy the declarations and code below and paste directly into your VB project.