IWDFDevice::CommitPnpState method

The CommitPnpState method commits the state of the Plug and Play (PnP) property (that is, turns on, turns off, or sets to the default state) that the IWDFDevice::SetPnpState method set.

Syntax


void CommitPnpState();

Parameters

This method has no parameters.

Return value

None

Remarks

The values of the WDF_PNP_STATE enumeration identify the state of PnP for the device.

Examples

For a code example of how to use the CommitPnpState method, see IWDFDevice::SetPnpState.

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

See also

IWDFDevice
IWDFDevice::SetPnpState
WDF_PNP_STATE

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft