Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hibernating windows 2000
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00658049
Message ID:
00662885
Vues:
17
>>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 ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform