AllJoynReceiveFromBus function (msajtransport.h)
Receives data from the bus via named pipe.
Syntax
BOOL AllJoynReceiveFromBus(
[in] HANDLE connectedBusHandle,
[out] PVOID buffer,
[in] DWORD bytesToRead,
[out, optional] PDWORD bytesTransferred,
[in, out] PVOID reserved
);
Parameters
[in] connectedBusHandle
Pipe handle.
[out] buffer
Output data buffer.
[in] bytesToRead
Number of bytes to receive.
[out, optional] bytesTransferred
Number of bytes read.
[in, out] reserved
May be used in a future version as OVERLAPPED address. Currently must be NULL.
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 |