AllJoynEnumEvents function (msajtransport.h)

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

Syntax

BOOL AllJoynEnumEvents(
  [in]           HANDLE connectedBusHandle,
  [in, optional] HANDLE eventToReset,
  [out]          PDWORD eventTypes
);

Parameters

[in] connectedBusHandle

Pipe handle.

[in, optional] eventToReset

Optional handle to the event to be reset after completion of this call.

[out] eventTypes

Output for bitmask of events being set.

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