Export (0) Print
Expand All
Expand Minimize

WPUCloseEvent function

The WPUCloseEvent function closes an open event object handle.

Syntax


BOOL WPUCloseEvent(
  _In_   WSAEVENT hEvent,
  _Out_  LPINT lpErrno
);

Parameters

hEvent [in]

Handle to an open event object.

lpErrno [out]

Pointer to the error code.

Return value

If the function succeeds, the return value is TRUE. Otherwise, the return value is FALSE and a specific error code is available in lpErrno.

Error codeMeaning
WSA_INVALID_HANDLE

The hEvent parameter is not a valid event object handle.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ws2spi.h

See also

WPUCreateEvent

 

 

Community Additions

ADD
Show:
© 2014 Microsoft