CCAux  2.20.0.0
CCAux API reference
Namespaces | Typedefs | Enumerations | Functions
PowerMgr.h File Reference

Go to the source code of this file.

Namespaces

 CrossControl
 

Typedefs

typedef void * POWERMGRHANDLE
 

Enumerations

enum  PowerMgrConf { Normal = 0 , ApplicationControlled = 1 , BatterySuspend = 2 }
 
enum  PowerMgrStatus { NoRequestsPending = 0 , SuspendPending = 1 , ShutdownPending = 2 }
 

Functions

EXTERN_C CCAUXDLL_API POWERMGRHANDLE CCAUXDLL_CALLING_CONV GetPowerMgr (void)
 
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV PowerMgr_release (POWERMGRHANDLE)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV PowerMgr_registerControlledSuspendOrShutDown (POWERMGRHANDLE, PowerMgrConf conf)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV PowerMgr_getConfiguration (POWERMGRHANDLE, PowerMgrConf *conf)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV PowerMgr_getPowerMgrStatus (POWERMGRHANDLE, PowerMgrStatus *status)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV PowerMgr_setAppReadyForSuspendOrShutdown (POWERMGRHANDLE)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV PowerMgr_hasResumed (POWERMGRHANDLE, bool *resumed)