RtReleaseShutdownHandler
RtReleaseShutdownHandler destroys the shutdown handler object created by RtAttachShutdownHandler.
Syntax
BOOL RtReleaseShutdownHandler(
[in] HANDLE hShutdown
);
Parameters
[in] hShutdown
A handle returned by RtAttachShutdownHandler.
Return Value
If parameter hShutdown specifies a valid shutdown handler object and the object has been successfully destroyed, it returns TRUE. FALSE otherwise. Call GetLastError to obtain an error code.
Remarks
The shutdown handler should not call ExitThread or ExitProcess, nor should it attempt to create or close any objects. The process will exit after the shutdown handler returns.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtssApi.h |
Startup.lib |
See Also: