次の方法で共有


PFN_SENDFRAME (Windows Embedded CE 6.0)

1/5/2010

This function is used by KITL protocol to send a packet or frame to the development computer KITL transport.

Syntax

BOOL TransportSend(
  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

If the send succeeds, 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 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
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Required KITL Functions
KITLTRANSPORT
OEMKitlInit

Other Resources