UPSStop function (upssvc.h)
The UPSStop function causes a UPS minidriver to stop monitoring its UPS unit.
Syntax
void UPSStop();
Return value
None
Remarks
The UPSStop function must:
- Cancel all waiting calls to UPSWaitForStateChange.
- Stop monitoring the UPS unit.
- Close and release the UPS unit's COM port.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | upssvc.h (include Upssvc.h) |