NET_ADAPTER_POWER_CAPABILITIES_INIT function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

Initializes a NET_ADAPTER_POWER_CAPABILITIES structure.

Syntax

void NET_ADAPTER_POWER_CAPABILITIES_INIT(
  NET_ADAPTER_POWER_CAPABILITIES *PowerCapabilities
);

Parameters

PowerCapabilities

A pointer to the driver-allocated NET_ADAPTER_POWER_CAPABILITIES structure.

Return Value

This method does not return a value.

Remarks

The NET_ADAPTER_POWER_CAPABILITIES_INIT function zeros the specified NET_ADAPTER_POWER_CAPABILITIES structure and sets the structure's Size member. It also sets the structure's ManageS0IdlePowerReferences member to WdfUseDefault.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Minimum KMDF version 1.21
Header netadapter.h
IRQL PASSIVE_LEVEL

See Also

NetAdapterSetPowerCapabilities