Platform SDK: Synchronization Manager |
SENS calls this method to notify your application that the computer is using AC power.
HRESULT OnACPower(void);
[id(0x00000001)]
SENS calls this method to notify your application that AC power has been activated.
Filtering is not currently supported for this event.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Sensevts.h.
Library: Use Sensevts.tlb.
ISensOnNow::OnBatteryPower, About System Event Notification Service, IEventSubscription, IEventSubscription::PutPublisherProperty