WDF_IO_TARGET_OPEN_PARAMS_INIT_OPEN_BY_FILE
WDF_IO_TARGET_PURGE_IO_ACTION
WdfIoTargetPurge method
Collapse the table of content
Expand the table of content
展開 最小化

WdfIoTargetGetState メソッド

The WdfIoTargetGetState method returns state information for a local or remote I/O target.

構文

WDF_IO_TARGET_STATE WdfIoTargetGetState(
  [in]  WDFIOTARGET IoTarget
);

パラメーター

IoTarget [in]

A handle to a local or remote I/O target object that was obtained from a previous call to WdfDeviceGetIoTarget or WdfIoTargetCreate or from a method that a specialized I/O target supplies.

戻り値

WdfIoTargetGetState returns a WDF_IO_TARGET_STATE-typed value that indicates the state of the specified I/O target.

A bug check occurs if the driver supplies an invalid object handle.

解説

For more information about WdfIoTargetGetState, see Controlling a General I/O Target's State.

For more information about I/O targets, see Using I/O Targets.

The following code example obtains state information for a USB I/O target.

WDF_IO_TARGET_STATE  ioTargetState;

ioTargetState = WdfIoTargetGetState(WdfUsbTargetPipeGetIoTarget(pipeHandle));

要件

バージョン

Available in version 1.0 and later versions of KMDF.

ヘッダー

Wdfiotarget.h (includeWdf.h)

ライブラリ

Wdf<MajorVersionNumber>000.sys (see Framework Library Versions.)

IRQL

<=DISPATCH_LEVEL

参照

WDF_IO_TARGET_STATE
WdfDeviceGetIoTarget
WdfIoTargetCreate

 

 

コミュニティの追加

追加
表示:
© 2015 Microsoft