Using Win32 functions in Visual FoxPro Image Gallery
Remote Application Programming (RAPI)
..msdn
CeCloseHandle
CeCopyFile
CeCreateDatabase
CeCreateDirectory
CeCreateFile
CeCreateProcess
CeDeleteDatabase
CeDeleteFile
CeDeleteRecord
CeEnumDBVolumes
CeFindAllFiles
CeFindFirstDatabaseEx
CeFindFirstFile
CeFindNextDatabaseEx
CeGetFileSize
CeGetLastError
CeGetSpecialFolderPath
CeGetStoreInformation
CeGetSystemInfo
CeGetSystemPowerStatusEx
CeGetTempPath
CeGetVersionEx
CeGlobalMemoryStatus
CeMoveFile
CeOidGetInfoEx
CeOpenDatabase
CeRapiFreeBuffer
CeRapiGetError
CeRapiInit
CeRapiInitEx
CeRapiInvoke
CeRapiUninit
CeReadFile
CeReadRecordProps
CeRegCloseKey
CeRegCreateKeyEx
CeRegDeleteKey
CeRegDeleteValue
CeRegEnumKeyEx
CeRegEnumValue
CeRegOpenKeyEx
CeRegQueryInfoKey
CeRegQueryValueEx
CeRegSetValueEx
CeRemoveDirectory
CeSeekDatabase
CeSetFilePointer
CeWriteFile
CeWriteRecordProps
Code examples:
Pocket PC: base class
CeGetSystemPowerStatusEx
..msdn    Add comment     W32 Constants      Translate this page
This function retrieves the power status of the system.
Code examples:
Pocket PC: base class
Declaration:
BOOL CeGetSystemPowerStatusEx(
  PSYSTEM_POWER_STATUS_EX pstatus, 
  BOOL fUpdate
);
FoxPro declaration:
DECLARE INTEGER CeGetSystemPowerStatusEx IN rapi;
    STRING  @ pstatus,;
    INTEGER   fUpdate
Parameters:
pstatus
[out] Pointer to the SYSTEM_POWER_STATUS_EX structure receiving the power status information.

fUpdate
[in] If this Boolean is set to TRUE, CeGetSystemPowerStatusEx gets the latest information from the device driver, otherwise it retrieves cached information that may be out-of-date by several seconds.
Return value:
This function returns TRUE if successful; otherwise, it returns FALSE.
My comment:
The status indicates whether the system is running on AC or DC power, whether or not the batteries are currently charging, and the remaining life of main and backup batteries.
Word Index links for the CeGetSystemPowerStatusEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-06-25 11:25:32
Modified: 2004-06-25 11:27:20
Visited in last 7 days: 37
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.22.136.56)
12 sec.Function: 'mciSendString'
Function group: 'Windows Multimedia'
23 sec.Function: 'GdipCreateStringFormat'
34 sec.Function: 'FindVolumeClose'
46 sec.Function: 'FindText'
58 sec.Function: 'GdipGetPageUnit'
1.15 min.
Function group: 'Security'
1.33 min.
Function group: 'Bitmap'
1.55 min.Function: 'GdipGetPropertyItem'
1.73 min.Example: 'GDI+: printing vertical text on VFP reports via generated images (VFP8)'
1.93 min.Login
Google
Advertise here!