ISensOnNow interface (sensevts.h)

The ISensOnNow interface handles AC and battery power events fired by the System Event Notification Service (SENS).

Inheritance

The ISensOnNow interface inherits from the IDispatch interface. ISensOnNow also has these types of members:

Methods

The ISensOnNow interface has these methods.

 
ISensOnNow::BatteryLow

The BatteryLow method notifies an application that battery power is low. SENS calls the BatteryLow method to notify an application that a computer is using battery power.
ISensOnNow::OnACPower

SENS calls the OnACPower method to notify your application that the computer is using AC power.
ISensOnNow::OnBatteryPower

SENS calls the OnBatteryPower method to notify an application that a computer is using battery power.

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

See also

About System Event Notification Service

ISensLogon

ISensNetwork