IPortClsRuntimePower::UnregisterPowerControlCallback method (portcls.h)

The port class driver (PortCls) uses the UnregisterPowerControlCallback method to unregister a power control callback.

Syntax

NTSTATUS UnregisterPowerControlCallback(
  [in] PDEVICE_OBJECT _DeviceObject
);

Parameters

[in] _DeviceObject

The device object.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2003
Target Platform Universal
Header portcls.h

See also

IPortClsRuntimePower