Partager via


IOCTL_EDBG_SEND (Compact 2013)

10/16/2014

This I/O control message sends data over a KITL transport. Send this message with KernelIoControl.

Syntax

BOOL KernelIoControl(
    DWORD dwIoControlCode,
    LPVOID pUserData,
    DWORD Id,
    LPVOID lpOutBuf,
    DWORD dwUserDataLen,
    LPDWORD lpBytesReturned
);

Parameters

  • dwIoControlCode
    [in] Control code for the operation. Use IOCTL_EDBG_SEND for this operation.
  • pUserData
    [in] Pointer to the user data to be sent to the device.
  • Id
    [in] Specifies the client identifier.
  • lpOutBuf
    [in] Set to NULL.
  • dwUserDataLen
    [in] The number of bytes specified by pUserData.
  • lpBytesReturned
    [in] 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