Share via


IeXdi2HelperGeneric::Ioctl (Windows Embedded CE 6.0)

1/5/2010

This method provides a nonformatted IOCTL interface.

Syntax

HRESULT Ioctl(
  [in] GUID guidIoctl,
  [in] DWORD dwBuffInSize,
  [in, size_is(dwBuffInSize)] const BYTE* pbBufferIn,
  [out] DWORD* pdwBuffOutSize,
  [out, size_is(,* pdwBuffOutSize)] BYTE** ppbBufferOut
);

Parameters

  • guidIoctl
    GUID that identifies the IOCTL.
  • dwBuffInSize
    Size in byte of *pbyBufferIn.
  • pbBufferIn
    Buffer to hold input parameters.
  • pdwBuffOutSize
    Effective size of *pbyBufferOut, in bytes.
  • ppbBufferOut
    Buffer to hold output parameters.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates the function was successful.

E_FAIL

Indicates an unspecified failure.

E_NOTIMPL

Indicates the interface is not implemented.

E_INVALIDARG

Indicates one or more invalid arguments.

E_OUTOFMEMORY

Indicates an out of memory error.

EXDI_E_COMMUNICATION

Indicates a communication error between host driver and debugging target.

Requirements

Header eXDI2.h
Library ole32.lib, oleaut32.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IeXdi2HelperGeneric
IeXDI2 Interfaces