PcRegisterAdapterPowerManagement

PcRegisterAdapterPowerManagement function

The PcRegisterAdapterPowerManagement function registers the adapter's power-management interface with the PortCls system driver.

Syntax


NTSTATUS PcRegisterAdapterPowerManagement(
  _In_ PUNKNOWN pUnknown,
  _In_ PVOID    pvContext1
);

Parameters

pUnknown [in]

Pointer to an adapter driver object's IUnknown interface. The PortCls system driver queries this object for its IAdapterPowerManagement interface.

pvContext1 [in]

Pointer to the adapter's functional device object (FDO). This parameter is a pointer to a system structure of type DEVICE_OBJECT but is cast to type PVOID.

Return value

PcRegisterAdapterPowerManagement returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code.

Remarks

Requirements

Target platform

Universal

Version

Available starting in Windows 2000. 

Header

Portcls.h (include Portcls.h)

Library

Portcls.lib

IRQL

PASSIVE_LEVEL

See also

DEVICE_OBJECT
IAdapterPowerManagement

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft