Partager via


OAL_KITLSERIAL_SEND (Windows Embedded CE 6.0)

1/5/2010

This function pointer sends data to the KITL serial device.

Syntax

typedef UINT16 (*OAL_KITLSERIAL_SEND)(
  UINT8 *pData,
  UINT16 size
);

Parameters

  • pData
    [in] Pointer to the data to send to the serial device driver.
  • size
    [in] Size of the data specified in pData, in bytes.

Return Value

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

Remarks

The pfnSend member of the OAL_KITL_SERIAL_DRIVER structure points to the custom function that implements OAL_KITLSERIAL_SEND.

Requirements

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

See Also

Reference

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