AllJoynEventSelect function (msajtransport.h)

Provides AllJoyn transport functionality similar to the TCP socket WSAEventSelect functionality.

Syntax

BOOL AllJoynEventSelect(
  [in] HANDLE connectedBusHandle,
  [in] HANDLE eventHandle,
  [in] DWORD  eventTypes
);

Parameters

[in] connectedBusHandle

Pipe handle.

[in] eventHandle

Handle to the event to be set when any of the events in bit mask happens.

[in] eventTypes

Bit mask of events to select.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps | UWP apps]
Minimum supported server Windows Server 2016 [desktop apps | UWP apps]
Target Platform Windows
Header msajtransport.h
Library MSAJApi.lib
DLL MSAJApi.dll