Share via


PFN_RECVFRAME (Compact 2013)

10/16/2014

This function is used by kernel independent transport layer (KITL) protocol to receive a frame of data from the transport.

Syntax

typedef BOOL (* PFN_RECVFRAME) (
    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 pbBufferbuffer.

Return Value

Returns true if successful; otherwise, false.

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

See Also

Reference

Required KITL Functions
KITLTRANSPORT