RtReleaseShutdownHandler
RtReleaseShutdownHandler destroys the shutdown handler object created by RtAttachShutdownHandler.
Syntax
BOOL RtReleaseShutdownHandler(
HANDLE hShutdown
);
Parameters
hShutdown
A handle returned by RtAttachShutdownHandler.
Return Value
When hShutdown specifies a valid shutdown handler object and the object has been successfully destroyed, it returns TRUE. Otherwise, it returns FALSE.
To get extended error information, call GetLastError.
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 |
---|---|---|
eRTOS 1.0 SDK |
Rtapi.h | rtkrnl.lib |
See Also: