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: 12
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.20.196.179)
23.45 min.Example: 'How to check whether the system is 32-bit or 64-bit'
31.53 min.Function: 'MAPIReadMail'
31.58 min.Function: 'FindClose'
Function group: 'File Management'
6.74 hrs.Function: 'GetMenuItemInfo'
Function group: 'Menu'
 Example: 'Enumerating files opened on the network'
6.87 hrs.Example: 'Disabling drawing in the VFP form'
7.2 hrs.
Function group: 'String'
8.01 hrs.Example: 'Mapping and disconnecting network drives'
 Function: 'UpdateResource'
Function group: 'Resource'
9.66 hrs.Example: 'Retrieving Printer Device Context using PrintDlg function'
Google
Advertise here!