Поделиться через


OAL_KITLSERIAL_RECV (Windows Embedded CE 6.0)

1/5/2010

This function pointer reads data from the KITL serial device.

Syntax

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

Parameters

  • pData
    [out] Pointer to the packet data read from the KITL serial device.
  • size
    [in] Best size of the data to read from the serial device, in bytes.

Return Value

Returns the number of bytes read.

Remarks

The pfnRecv member of the OAL_KITL_SERIAL_DRIVER structure points to the custom function that implements OAL_KITLSERIAL_RECV.

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