Using Win32 functions in Visual FoxPro Image Gallery
Power Management
Code examples:
Get the power status of your laptop computer
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the power status of the system. The status indicates whether the system is running on AC or DC power, whether the battery is currently charging, and how much battery life remains.
Code examples:
Get the power status of your laptop computer
BOOL GetSystemPowerStatus(
FoxPro declaration:
DECLARE INTEGER GetSystemPowerStatus IN kernel32;
    STRING @lpSystemPowerStatus

[out] Pointer to a SYSTEM_POWER_STATUS structure that receives status information.
Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the GetSystemPowerStatus :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2003-03-17 17:01:28
Modified: 2006-01-13 20:25:07
Visited in last 7 days: 36
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
25 sec.Function: 'ShellAbout'
42 sec.Function: 'DwmExtendFrameIntoClientArea'
59 sec.Function: 'DestroyPhysicalMonitors'
1.23 min.Function: 'AddPrinter'
1.5 min.Function: 'HeapAlloc'
1.77 min.Function: 'GdiSetBatchLimit'
2.03 min.Function: 'GetUserDefaultLCID'
2.32 min.Function: 'GetKeyboardType'
2.58 min.Function: 'CryptAcquireContext'
2.83 min.Function: 'AVIStreamGetFrame'
Advertise here!