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
展開 最小化

WdfControlDeviceInitSetShutdownNotification メソッド

The WdfControlDeviceInitSetShutdownNotification method sets shutdown notification information for a control device object.

構文

VOID WdfControlDeviceInitSetShutdownNotification(
  [in]  PWDFDEVICE_INIT DeviceInit,
  [in]  PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION Notification,
  [in]  UCHAR Flags
);

パラメーター

DeviceInit [in]

A pointer to a WDFDEVICE_INIT structure that the driver obtained by calling WdfControlDeviceInitAllocate.

Notification [in]

A pointer to the driver's EvtDeviceShutdownNotification event callback function.

Flags [in]

One or more WDF_DEVICE_SHUTDOWN_FLAGS-typed flags that indicate when the EvtDeviceShutdownNotification callback function will be called.

戻り値

None

解説

The driver must call WdfControlDeviceInitSetShutdownNotification before calling WdfDeviceCreate. For more information about calling WdfControlDeviceInitSetShutdownNotification, see Using Control Device Objects.

For a code example that uses WdfControlDeviceInitSetShutdownNotification, see WdfControlDeviceInitAllocate.

要件

バージョン

Available in version 1.0 and later versions of KMDF.

ヘッダー

Wdfcontrol.h (includeWdf.h)

ライブラリ

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

IRQL

<= DISPATCH_LEVEL

参照

EvtDeviceShutdownNotification
WDF_DEVICE_SHUTDOWN_FLAGS
WDFDEVICE_INIT
WdfDeviceCreate

 

 

コミュニティの追加

追加
表示:
© 2015 Microsoft