Skip to content

Latest commit

 

History

History
86 lines (67 loc) · 2.42 KB

nf-msajtransport-alljoynsendtobus.md

File metadata and controls

86 lines (67 loc) · 2.42 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.AllJoynSendToBus
AllJoynSendToBus function (msajtransport.h)
Sends data to the bus via named pipe. The caller of this API is responsible to check if the bytesTransferred is less than the requested bytes and call this API again to resend the rest of the data.
AllJoynSendToBus
AllJoynSendToBus function [AllJoyn API]
alljoyn.alljoynsendtobus
msajtransport/AllJoynSendToBus
alljoyn\alljoynsendtobus.htm
AllJoyn
8D941DB8-AA73-472B-92E2-85EA72BD9A40
12/05/2018
AllJoynSendToBus, AllJoynSendToBus function [AllJoyn API], alljoyn.alljoynsendtobus, msajtransport/AllJoynSendToBus
msajtransport.h
Windows
Windows 10 [desktop apps \| UWP apps]
Windows Server 2016 [desktop apps \| UWP apps]
MSAJApi.lib
MSAJApi.dll
Windows
19H1
AllJoynSendToBus
msajtransport/AllJoynSendToBus
c++
APIRef
kbSyntax
DllExport
MSAJApi.dll
AllJoynSendToBus

AllJoynSendToBus function

-description

Sends data to the bus via named pipe. The caller of this API is responsible to check if the bytesTransferred is less than the
requested bytes and call this API again to resend the rest of the data.

When the named pipe outBufferSize is less than the bytesToWrite, writing to named pipe is returning TRUE and bytesTransferred == 0, rather than returning TRUE and transferring as much as possible.

-parameters

-param connectedBusHandle [in]

Pipe handle.

-param buffer [in]

Input data buffer.

-param bytesToWrite [in]

Number of bytes to send.

-param bytesTransferred [out, optional]

Number of bytes written.

-param reserved [in, out]

May be used in a future version as OVERLAPPED address. Currently must be NULL.

-returns

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.