AllJoynConnectToBus function

Opens the AllJoyn Router Node Service named pipe, and sets it to PIPE_NOWAIT.

Syntax


HANDLE WINAPI AllJoynConnectToBus(
  _In_opt_ PCWSTR connectionSpec
);

Parameters

connectionSpec [in, optional]

Optional parameter to pass connection spec for future use.

Return value

The client side handle.

Return codeDescription
INVALID_HANDLE_VALUE

An error occurred. Call GetLastError for more information. The app can retry the ConnectToBus in case of GetLastError() == ERROR_PIPE_BUSY. In AllJoyn, we allow multiple instances of server, so ERROR_PIPE_BUSY is not expected to occur in a normal use case.

 

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016 Technical Preview [desktop apps only]

Minimum supported phone

Windows 10 Mobile

Header

MSAJTransport.h

Library

MSAJApi.lib

DLL

MSAJApi.dll

 

 

Community Additions

ADD
Show: