Share via


IOCTL_EDBG_RECV (Compact 2013)

10/16/2014

This I/O control message receives data from a KITL transport. Send this message with KernelIoControl.

Syntax

BOOL KernelIoControl(
    DWORD dwIoControlCode,
    LPVOID pRecvBuf,
    DWORD Id,
    LPVOID pdwLen,
    DWORD Timeout,
    LPDWORD lpBytesReturned
);

Parameters

  • dwIoControlCode
    [in] Control code for the operation. Use IOCTL_EDBG_RECV for this operation.
  • pRecvBuf
    [in] Pointer to the buffer that will receive the data from a device.
  • Id
    [in] Specifies the client identifier.
  • pdwLen
    [in] Pointer to a DWORD that is set to the size of the buffer, in bytes.
  • Timeout
    [in] Specifies the amount of time, in seconds, before the receive operation fails.
  • lpBytesReturned
    Not used; set to NULL.

Return Values

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

The CE 4.2 kernel has been enhanced to automatically perform this operation for default KITL clients. Previously this I/O control enabled the user to perform this action. Moving forward your code does not need to handle this operation for default KITL clients. However, this control remains for you to use with custom clients. If your BSP does not handle custom KITL clients it can be freed of code using this control.

Requirements

Header

pkfuncs.h

See Also

Reference

EDBG IOCTLs
KITL IOCTLs