EvtDeviceReportedMissing
EvtDeviceUsageNotificationEx
EvtDeviceWdmIrpDispatch
EvtDeviceWdmPostPoFxRegisterDevice
EvtDeviceWdmPrePoFxUnregisterDevice
WDF_DEVICE_INTERFACE_PROPERTY_DATA
WDF_DEVICE_INTERFACE_PROPERTY_DATA_INIT
WDF_DEVICE_PROPERTY_DATA
WDF_DEVICE_PROPERTY_DATA_INIT
WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS
WDF_EVENT_TYPE
WDF_IO_TYPE_CONFIG
WDF_IO_TYPE_CONFIG_INIT
WDF_POWER_FRAMEWORK_SETTINGS
WDF_POWER_FRAMEWORK_SETTINGS_INIT
WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE
WDF_RELEASE_HARDWARE_ORDER_ON_FAILURE
WDF_REMOVE_LOCK_OPTIONS
WDF_REMOVE_LOCK_OPTIONS_FLAGS
WDF_REMOVE_LOCK_OPTIONS_INIT
WdfDeviceAllocAndQueryInterfaceProperty method
WdfDeviceAllocAndQueryPropertyEx method
WdfDeviceAssignInterfaceProperty method
WdfDeviceAssignProperty method
WdfDeviceConfigureWdmIrpDispatchCallback method
WdfDeviceGetDeviceStackIoType method
WdfDeviceGetHardwareRegisterMappedAddress
WdfDeviceInitSetIoTypeEx method
WdfDeviceInitSetReleaseHardwareOrderOnFailure method
WdfDeviceInitSetRemoveLockOptions method
WdfDeviceMapIoSpace
WdfDeviceOpenDevicemapKey method
WdfDevicePostEvent
WdfDeviceQueryInterfaceProperty method
WdfDeviceQueryPropertyEx method
WdfDeviceReadFromHardware
WdfDeviceResumeIdleWithTag method
WdfDeviceStopIdleWithTag method
WdfDeviceUnmapIoSpace
WdfDeviceWdmAssignPowerFrameworkSettings method
WdfDeviceWdmDispatchIrp method
WdfDeviceWdmDispatchIrpToIoQueue method
WdfDeviceWriteToHardware
WdfFdoInitAllocAndQueryPropertyEx method
WdfFdoInitQueryPropertyEx method
展開 最小化

WdfDeviceInitSetExclusive メソッド

The WdfDeviceInitSetExclusive method indicates whether a specified device is an exclusive device.

構文

VOID WdfDeviceInitSetExclusive(
  [in]  PWDFDEVICE_INIT DeviceInit,
  [in]  BOOLEAN IsExclusive
);

パラメーター

DeviceInit [in]

A pointer to a WDFDEVICE_INIT structure.

IsExclusive [in]

A Boolean value which, if TRUE, indicates that the device is an exclusive device. If FALSE, the device is not an exclusive device.

戻り値

None

解説

If a driver calls WdfDeviceInitSetExclusive, it must do so before it calls WdfDeviceCreate.

If a driver calls WdfDeviceInitSetExclusive, only that driver's device object is exclusive. To make a device's entire device stack exclusive, the device's INF file should include an INF AddReg directive that sets an Exclusive entry to TRUE in the registry.

For more information about calling WdfDeviceCreate, see Creating a Framework Device Object.

The following code example indicates that a device is an exclusive device.

WdfDeviceInitSetExclusive(
                          DeviceInit,
                          TRUE
                          );

要件

バージョン

Available in version 1.0 and later versions of KMDF.

ヘッダー

Wdfdevice.h (includeWdf.h)

ライブラリ

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

IRQL

<= DISPATCH_LEVEL

参照

EvtDriverDeviceAdd
WdfDeviceCreate

 

 

コミュニティの追加

追加
表示:
© 2015 Microsoft