Partager via


KitlSendRawData

This function sends raw data to the host computer but bypasses all the KITL protocol layers to do so.

BOOL KitlSendRawData(
  LPBYTE pbData,
  WORD wLength
);

Parameters

  • pbData
    [in] Pointer to a BYTE buffer.
  • wLength
    [in] Length of the BYTE buffer pointed to by pbData.

Return Values

If the send is successful, TRUE is returned; otherwise, FALSE is returned.

Remarks

OEMs must call this function if, for any reason, they must send data through the transport without notifying KITL.

Note   The data sent will not be seen by KITL on the desktop. The purpose of this function is to provide a way to safely send transport-specific handshakes, such as DHCP/ARP, when using an Ethernet transport.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Kitl.h.
Link Library: Kitl.lib.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.