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


KITLRecv (Windows Embedded CE 6.0)

1/5/2010

This function is used by the client to receive data from a device.

Syntax

BOOL KITLRecv(
  KITLID id,
  LPVOID pBuffer,
  USHORT* pcbBuffer,
  DWORD dwTimeout
);

Parameters

  • id
    [in] Kernel Independent Transport Layer (KITL) client identifier returned from KITLRegisterClient.
  • pBuffer
    [in] Pointer to a buffer that will receive the data from a device.
  • pcbBuffer
    [in, out] Pointer to a DWORD that is set to the size of the buffer in bytes. On a successful read, pcbBuffer is set to how many bytes are remaining to be read. If set to 0, all bytes have been read.
  • dwTimeout
    [in] Specifies the amount of time, in milliseconds, before the receive operation fails.

Return Value

None.

Requirements

Header kitlclnt.h
Library kitldll.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

KITL Transport Functions
KITLRegisterClient