NetPowerOffloadGetType - NtDoc

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

NET_POWER_OFFLOAD_TYPE NetPowerOffloadGetType(
  [_In_] NETPOWEROFFLOAD PowerOffload
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netpoweroffload-netpoweroffloadgettype)

NetPowerOffloadGetType function

Description

The NetPowerOffloadGetType function gets the power offload type for a low power protocol offload to a net adapter.

Parameters

PowerOffload [_In_]

The NETPOWEROFFLOAD object that represents this low power protocol offload.

Return value

Returns a NET_POWER_OFFLOAD_TYPE value that specifies the offload type.

Remarks

The client driver must only call NetPowerOffloadGetType 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.

See also

Configuring power management

NET_POWER_OFFLOAD_TYPE

NET_POWER_OFFLOAD_LIST