Using Win32 functions in Visual FoxPro Image Gallery
Power Management
..msdn
GetPwrCapabilities
GetSystemPowerStatus
IsPwrSuspendAllowed
SetSuspendState
SetSystemPowerState
SetThreadExecutionState
Code examples:
Power capabilities of the system: battery, UPS, sleep and hibernation modes, processor throttling
GetPwrCapabilities
..msdn    Add comment     W32 Constants      Translate this page
The GetPwrCapabilities function retrieves information about the system power capabilities.
Code examples:
Power capabilities of the system: battery, UPS, sleep and hibernation modes, processor throttling
Declaration:
BOOLEAN GetPwrCapabilities(
  PSYSTEM_POWER_CAPABILITIES lpSystemPowerCapabilities
);
FoxPro declaration:
DECLARE INTEGER GetPwrCapabilities IN powrprof;
    STRING @lpSystemPowerCapabilities

Parameters:
lpSystemPowerCapabilities
[out] Pointer to a SYSTEM_POWER_CAPABILITIES structure that receives the information.
Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the GetPwrCapabilities :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-03-22 20:27:15
Modified: 2006-01-13 20:20:08
Visited in last 7 days: 21
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.224.43.96)
13 sec.Function: 'GdipSetImagePalette'
27 sec.Function: 'GetCursorPos'
42 sec.Function: 'PathCompactPathEx'
56 sec.Function: 'GdipGetImageType'
1.22 min.
Function group: 'Version Information'
1.5 min.Function: 'StrDup'
1.8 min.Function: 'StrToInt'
2.08 min.Function: 'CommandLineToArgvW'
2.45 min.Function: 'SHGetPathFromIDList'
2.75 min.
Function group: 'File System'
Google
Advertise here!