AllJoynConnectToBus function (msajtransport.h)
Opens the AllJoyn Router Node Service named pipe, and sets it to PIPE_NOWAIT.
Syntax
HANDLE AllJoynConnectToBus(
[in, optional] PCWSTR connectionSpec
);
Parameters
[in, optional] connectionSpec
Optional parameter to pass connection spec for future use.
Return value
The client side handle.
Return code | Description |
---|---|
|
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
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 |