|
WSACloseEvent closes an open event object.
Syntax
BOOL WSACloseEvent(
__in WSAEVENT hEvent
);
Parameters
hEvent
An open event object handle.
Return Values
A handle to the event object if the function succeeds, NULL if the function fails
To get extended error information, call WSAGetLastError.
Remarks
WSACloseEvent invalidates the specified object handle, decrements the event object's handle count, and performs event object retention checks. Once the last handle to an event object is closed, the event object is removed from the operating system.
Requirements
Library | Rtxtcpip.lib |