NET_POWER_OFFLOAD_LIST_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netpoweroffloadlist.h

void NET_POWER_OFFLOAD_LIST_INIT(
  [_Out_] NET_POWER_OFFLOAD_LIST *List
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netpoweroffloadlist-net_power_offload_list_init)

NET_POWER_OFFLOAD_LIST_INIT function

Description

The NET_POWER_OFFLOAD_LIST_INIT function initializes a NET_POWER_OFFLOAD_LIST structure.

Parameters

List [_Out_]

A handle to a driver-allocated NET_POWER_OFFLOAD_LIST structure.

Remarks

This function zeros out the memory for the NET_POWER_OFFLOAD_LIST structure, then fills in the Size member. After calling this function, call NetDeviceGetPowerOffloadList with the initialized structure to get the list of low power offloads to this net adapter.

The client driver must only call NET_POWER_OFFLOAD_LIST_INIT during a power transition, typically from its EVT_WDF_DEVICE_ARM_WAKE_FROM_SX, EVT_WDF_DEVICE_ARM_WAKE_FROM_S0, or EVT_NET_DEVICE_PREVIEW_POWER_OFFLOAD callback function. Otherwise, the call results in a system bugcheck.

For a code sample of working with NETPOWEROFFLOAD objects, see Configuring power management.

See also

Configuring power management

NET_POWER_OFFLOAD_LIST

NetDeviceGetPowerOffloadList