IPortClsPnp::UnregisterAdapterPnpManagement method (portcls.h)

The UnRegisterAdapterPowerManagement method unregisters the PnP management interface of the adapter from PortCls.

Syntax

NTSTATUS UnregisterAdapterPnpManagement(
  [in] PDEVICE_OBJECT DeviceObject
);

Parameters

[in] DeviceObject

Specifies a pointer to a DEVICE_OBJECT structure that represents the functional device object of the adapter that the PnP management was registered with earlier using IPortClsPnp::RegisterAdapterPnpManagement.

Return value

The UnregisterAdapterPowerManagement method returns STATUS_SUCCESS if the call is successful. Otherwise, it returns the appropriate error code.

Remarks

For more information, see Implement PnP Rebalance for PortCls Audio Drivers.

Requirements

Requirement Value
Minimum supported client Available in Windows 10, version 1511 and later versions of Windows.
Target Platform Universal
Header portcls.h (include Portcls.h)
IRQL PASSIVE_LEVEL

See also

IPortClsPnp

IPortClsPnp::RegisterAdapterPnpManagement