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) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for