IPortClsRuntimePower::UnregisterPowerControlCallback method

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

Syntax

NTSTATUS UnregisterPowerControlCallback(
  PDEVICE_OBJECT _DeviceObject
);

Parameters

_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

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

See also

IPortClsRuntimePower