IPortClsPower::UnregisterAdapterPowerManagement method (portcls.h)
The UnregisterAdapterPowerManagement
method unregisters the adapter's power management interface with PortCls.
Syntax
NTSTATUS UnregisterAdapterPowerManagement(
[in] PDEVICE_OBJECT _DeviceObject
);
Parameters
[in] _DeviceObject
Specifies a pointer to a DEVICE_OBJECT structure that represents the functional device object of the adapter.
Return value
The UnregisterAdapterPowerManagement
method returns STATUS_SUCCESS if the call is successful. Otherwise, it returns the appropriate error code.
Remarks
The UnregisterAdapterPowerManagement
method unregisters the adapter's power management interface that was registered by the IPortClsPower::RegisterAdapterPowerManagement method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 7 and later versions of Windwows. |
Target Platform | Universal |
Header | portcls.h (include Portcls.h) |
IRQL | PASSIVE_LEVEL. |