Skip to content

Latest commit

 

History

History
81 lines (70 loc) · 2.19 KB

nf-msajtransport-alljoynconnecttobus.md

File metadata and controls

81 lines (70 loc) · 2.19 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:msajtransport.AllJoynConnectToBus
AllJoynConnectToBus function (msajtransport.h)
Opens the AllJoyn Router Node Service named pipe, and sets it to PIPE_NOWAIT.
AllJoynConnectToBus
AllJoynConnectToBus function [AllJoyn API]
alljoyn.alljoynconnecttobus
msajtransport/AllJoynConnectToBus
alljoyn\alljoynconnecttobus.htm
AllJoyn
B1929CE6-3707-4660-92CA-E267B1E5B9CC
12/05/2018
AllJoynConnectToBus, AllJoynConnectToBus function [AllJoyn API], alljoyn.alljoynconnecttobus, msajtransport/AllJoynConnectToBus
msajtransport.h
Windows
Windows 10 [desktop apps \| UWP apps]
Windows Server 2016 [desktop apps \| UWP apps]
MSAJApi.lib
MSAJApi.dll
Windows
19H1
AllJoynConnectToBus
msajtransport/AllJoynConnectToBus
c++
APIRef
kbSyntax
DllExport
MSAJApi.dll
AllJoynConnectToBus

AllJoynConnectToBus function

-description

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

-parameters

-param connectionSpec [in, optional]

Optional parameter to pass connection spec for future use.

-returns

The client side handle.

Return code Description
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.