IWDFDevice2 interface (wudfddi.h)
[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]
Drivers obtain the IWDFDevice2 interface by calling IWDFDevice::QueryInterface.
The IWDFDevice2 interface inherits from IWDFDevice. IWDFDevice2 also has these types of members:
The IWDFDevice2 interface has these methods.
The AssignS0IdleSettings method provides driver-supplied information that the framework uses when a device is idle and the system is in its working (S0) state.
The AssignSxWakeSettings method provides driver-supplied information about a device's ability to trigger a wake signal while both the device and the system are in a low-power state.
The CreateRemoteInterface method creates a remote interface object that represents a device interface.
The CreateRemoteTarget method creates a remote target object that represents a remote I/O target.
TheCreateSymbolicLinkWithReferenceString method creates a symbolic link name, and optionally, a reference string, for a device.
The GetDeviceStackIoTypePreference method retrieves the buffer access methods that the framework is using for a device.
The GetSystemPowerAction method returns the system power action, if any, that is currently occurring for the computer.
The RegisterRemoteInterfaceNotification method registers a driver to receive a notification when a specified device interface becomes available.
The ResumeIdle method informs the framework that the device is not in use and can be placed in a device low-power state if it remains idle.
The StopIdle method informs the framework that the device must be placed in its working (D0) power state.
|End of support||Unavailable in UMDF 2.0 and later.|
|Minimum UMDF version||1.9|
|Header||wudfddi.h (include Wudfddi.h)|