Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's the perfect way for Rebooting the machine
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00103482
Message ID:
00103491
Views:
23
>Hello,
>
>What's the systematic and perfect way thru Win32Api to Re-Boot the machine and also to handle other opened Application Windows,
>
>Please try to solve it with example
>
>Regards
>Raj
Here you go:
#define EWX_REBOOT   2
DECLARE ExitWindowsEx IN Win32API;
  INTEGER uFlags, INTEGER Reserved
= ExitWindowsEx(EWX_REBOOT, 0)
hth,
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform