IWDFDeviceInitialize interface

The IWDFDeviceInitialize interface is a helper interface that the framework supplies as an input parameter to the driver's IDriverEntry::OnDeviceAdd method.

Members

The IWDFDeviceInitialize interface inherits from the IUnknown interface. IWDFDeviceInitialize also has these types of members:

Methods

The IWDFDeviceInitialize interface has these methods.

MethodDescription
IWDFDeviceInitialize::AutoForwardCreateCleanupClose

The AutoForwardCreateCleanupClose method controls when create, cleanup, and close notifications are forwarded to the next lower driver in the device stack.

IWDFDeviceInitialize::GetPnpCapability

The GetPnpCapability method determines the state of the specified Plug and Play (PnP) capability.

IWDFDeviceInitialize::RetrieveDeviceInstanceId

The RetrieveDeviceInstanceId method retrieves the identifier of an instance of a device.

IWDFDeviceInitialize::RetrieveDevicePropertyStore

The RetrieveDevicePropertyStore method retrieves a device property store that clients can read and write device properties through.

IWDFDeviceInitialize::SetFilter

The SetFilter method sets the property that enables a device as a filter device.

IWDFDeviceInitialize::SetLockingConstraint

The SetLockingConstraint method sets the synchronization (or locking) model for callback functions into the driver.

IWDFDeviceInitialize::SetPnpCapability

The SetPnpCapability method sets the specified Plug and Play (PnP) capability of a device to the specified state.

IWDFDeviceInitialize::SetPowerPolicyOwnership

The SetPowerPolicyOwnership method sets the ownership of the power policy to a driver or removes ownership from the driver.

 

Remarks

The driver calls the methods of this interface to set the properties for a new device object and passes this interface as an input to the IWDFDriver::CreateDevice method to create the new device object.

Do not use this interface after calling IWDFDriver::CreateDevice.

Requirements

Target platform

Desktop

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.5

Header

Wudfddi.h (include Wudfddi.h)

DLL

WUDFx.dll

 

 

Send comments about this topic to Microsoft

표시:
© 2015 Microsoft