Share via


KitlSendRawData

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

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

Syntax

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 Value

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. This function provides a way to safely send transport-specific handshakes, such as DHCP/ARP, when using an Ethernet transport.

Requirements

Header kitl.h
Library Kitl.lib
Windows Embedded CE Windows CE .NET 4.0 and later