ISensOnNow::OnACPower method (sensevts.h)
SENS calls the OnACPower method to notify your application that the computer is using AC power.
Syntax
HRESULT OnACPower();
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method returned successfully. |
Remarks
SENS calls this method to notify your application that AC power has been activated.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | sensevts.h |
DLL | Sens.dll |
See also
About System Event Notification Service