Share via


PFN_RECVFRAME (Windows Embedded CE 6.0)

1/5/2010

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

The OEM does not call this function directly. Instead, you implement a function of this type and assign it to the pfnRecv member of the KITLTRANSPORT structure during your BSP KITL initialization. For an example of the implementation of this function, see the KitlEthRecv function in %_WINCEROOT%\Platform\Common\Src\Common\Kitl\Kitleth.c.

Requirements

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

See Also

Reference

Required KITL Functions
KITLTRANSPORT