Share via


WPUCloseEvent (Windows CE 5.0)

Send Feedback

This function closes an open event object handle.

BOOL WPUCloseEvent(WSAEVENT hEvent,LPINT lpErrno);

Parameters

  • hEvent
    [in] Handle to an open event object.
  • lpErrno
    [out] Pointer to the error code.

Return Values

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

The following table shows the possible error code.

Error value Description
WSA_INVALID_HANDLE The hEvent is not a valid event object handle.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ws2spi.h.
Link Library: Ws2.lib.

See Also

WPUCreateEvent

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.