Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hibernating windows 2000
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00658049
Message ID:
00662885
Views:
18
>>Hello all,
>>
>>I want to hibernate a W2k machine programmaticly.
>>
>>Does someone knows a API call for that one ?
>
>Take a looka at SetSuspendState() and SetSystemPowerState() Win API functions
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/hardware/power_84md.asp
Sorry for the late reply, but i was busy :)

But, i don't get that function to work.
It doesn't look like an valid API call, and also VFP doesn't have a datatype for sending BOOLs to a API function.

It also stats about a "powrprof.lib" which i can't find on my HD.

Do you have an exmaple of getting this to work ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform