Canceling the Current Restart Manager Operation
When a user action directs the installer to perform a different action, the following method can be used to cancel the current Restart Manager operation.
To cancel the current Restart Manager operation
- The installer can call the RMCancelCurrentTask function from another thread to cancel the current RmShutdown or RmRestart operation. The Restart Manager may cancel the operation depending on the extent to which the operation has completed when the RMCancelCurrentTask function is called.