Partager via


PFN_SENDFRAME (Compact 2013)

10/16/2014

This function is used by kernel independent transport layer (KITL) protocol to send a packet or frame to the development computer KITL transport.

Syntax

typedef BOOL (* PFN_SENDFRAME) (
    LPBYTE pbFrame,
   USHORT cbFrame
);

Parameters

  • pbFrame
    [in] Pointer to a data frame to be sent over the transport.
  • cbFrame
    [in] Size of the data frame.

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 pfnSend member of the KITLTRANSPORT structure during your BSP KITL initialization. For an example of the implementation of this function, see the KitlEthSend function in %_WINCEROOT%\Platform\Common\Src\Common\Kitl\Kitleth.c.

Requirements

Header

kitl.h

Library

Kitl.lib

See Also

Reference

Required KITL Functions
KITLTRANSPORT