NetDeviceGetPowerOffloadList - NtDoc

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

void NetDeviceGetPowerOffloadList(
  [_In_]    WDFDEVICE              Device,
  [_Inout_] NET_POWER_OFFLOAD_LIST *List
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

NetDeviceGetPowerOffloadList function

Description

The NetDeviceGetPowerOffloadList function gets the list of low power protocol offloads to a net adapter.

Parameters

Device [_In_]

The WDFDEVICE object associated with the net adapter.

List [_Inout_]

A pointer to a driver-allocated and initialized NET_POWER_OFFLOAD_LIST structure.

Remarks

Call NET_POWER_OFFLOAD_LIST_INIT to initialize the NET_POWER_OFFLOAD_LIST structure, then call this function to retrieve the low power protocol offload list.

The client driver must only call NetDeviceGetPowerOffloadList during a power transition, typically from its EVT_WDF_DEVICE_ARM_WAKE_FROM_SX, EVT_WDF_DEVICE_ARM_WAKE_FROM_S0, EVT_WDF_DEVICE_DISARM_WAKE_FROM_SX, EVT_WDF_DEVICE_DISARM_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_INIT

NET_POWER_OFFLOAD_LIST