AllJoynReceiveFromBus function

Receives data from the bus via named pipe.

Syntax


BOOL WINAPI AllJoynReceiveFromBus(
  _In_      HANDLE connectedBusHandle,
  _Out_     VOID*  buffer,
  _In_      DWORD  bytesToRead,
  _Out_opt_ PDWORD *bytesTransferred,
  _Inout_   PVOID  reserved
);

Parameters

connectedBusHandle [in]

Pipe handle.

buffer [out]

Output data buffer.

bytesToRead [in]

Number of bytes to receive.

bytesTransferred [out, optional]

Number of bytes read.

reserved [in, out]

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

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: