upssvc.h header

This header is used by battery. For more information, see:

upssvc.h contains the following programming interfaces:

Functions

 
UPSCancelWait

The UPSCancelWait function cancels all waits initiated by calls to UPSWaitForStateChange.
UPSGetState

The UPSGetState function returns the operational state of the UPS.
UPSInit

The UPSInit function initializes a UPS minidriver, opens communication to the UPS unit, updates the registry, and causes the minidriver to start monitoring the UPS unit.
UPSStop

The UPSStop function causes a UPS minidriver to stop monitoring its UPS unit.
UPSTurnOff

The UPSTurnOff function turns off the UPS unit's power outlets, after a specified delay time.
UPSWaitForStateChange

The UPSWaitForStateChange function waits until a specified UPS state changes, or until a time-out interval elapses.