>>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.aspSorry 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 ?