RtnReleaseProcessExitHandler
RtnReleaseProcessExitHandler removes an application's networking exit handler registered by the function RtnAttachProcessExitHandler.
Syntax
BOOL RtnReleaseProcessExitHandler(void);
Parameters
This function has no parameters.
Return Value
Returns TRUE when the exit handler was successfully removed. Returns FALSE when an error occurs during an attempt to remove an exit handler. You can retrieve an error code using WSAGetLastError. The possible error codes are listed below:
Error Code | Meaning |
---|---|
WSAENETDOWN | The RT-TCP/IP Stack is not running. |
WSANOTINITIALISED | A successful WSAStartup has not been executed. |
Remarks
Valid WSAStartup must complete before RtnReleaseProcessExitHandler is called. The final WSACleanup, which performs actual socket cleanup, also removes the exit handler.
Requirements
Minimum Supported Version | RTX64 3.0 |
Header | rtnapi.h |
Library | RtTcpip.lib |
See Also: