Partager via


OAL_KITLETH_SEND_FRAME (Windows Embedded CE 6.0)

1/5/2010

This function pointer sends an Ethernet frame to the network.

Syntax

typedef UINT16 (*OAL_KITLETH_SEND_FRAME)(
  UINT8 *pData,
  UINT32 size
);

Parameters

  • pData
    [in] Pointer to the packet data.
  • size
    [in] Length of the packet data, in bytes.

Return Value

Returns 0 on success. If any other value is returned, the function call failed.

Remarks

The pfnSendFrame member of the OAL_KITL_ETH_DRIVER structure points to the custom function that implements OAL_KITLETH_SEND_FRAME.

Requirements

Header oal_kitl.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

KITL Functions for Ethernet Drivers
KITL Functions for Production-Quality OAL