Share via


TransportRecv

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This function is used by KITL protocol to receive a frame of data from the transport.

Syntax

BOOL TransportRecv(
  LPBYTE pbBuffer,
  PUSHORT pcbBuffer
);

Parameters

  • pbBuffer
    [in] Pointer to a buffer used to receive the data from the transport.
  • pcbBuffer
    [in] Set to the size of the buffer when called and then reset by the KITL transport to the size of data written to the pbBuffer buffer.

Return Value

If the receive is successful, TRUE is returned; otherwise, FALSE is returned.

Remarks

TransportRecv should not be called directly by the OEM. Assign TransportRecv to the pfnRecv member of KITLTRANSPORT during OEMKitlInit.

Requirements

Header kitl.h
Library Kitl.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

KITLTRANSPORT
OEMKitlInit