Compartilhar via


função WIFI_POWER_OFFLOAD_ACTION_FRAME_WAKE_PATTERN_PARAMETERS_INIT (wificxpoweroffload.h)

A função WIFI_POWER_OFFLOAD_ACTION_FRAME_WAKE_PATTERN_PARAMETERS_INIT inicializa uma estrutura de WIFI_POWER_OFFLOAD_ACTION_FRAME_WAKE_PATTERN_PARAMETERS.

Sintaxe

void WIFI_POWER_OFFLOAD_ACTION_FRAME_WAKE_PATTERN_PARAMETERS_INIT(
  WIFI_POWER_OFFLOAD_ACTION_FRAME_WAKE_PATTERN_PARAMETERS *Parameters
);

Parâmetros

Parameters

[] Um ponteiro para uma estrutura de WIFI_POWER_OFFLOAD_ACTION_FRAME_WAKE_PATTERN_PARAMETERS alocada pelo driver do cliente.

Valor de retorno

Nenhum

Observações

Essa função zera a memória da estrutura WIFI_POWER_OFFLOAD_ACTION_FRAME_WAKE_PATTERN_PARAMETERS e preenche o membro Size. Os drivers cliente devem chamar WifiPowerOffloadGetActionFrameWakePatternParameters para preencher os membros restantes da estrutura.

O driver cliente deve chamar apenas WIFI_POWER_OFFLOAD_ACTION_FRAME_WAKE_PATTERN_PARAMETERS_INIT durante uma transição de energia, normalmente de sua função de retorno de chamada EVT_WDF_DEVICE_ARM_WAKE_FROM_SX, EVT_WDF_DEVICE_ARM_WAKE_FROM_S0ou EVT_NET_DEVICE_PREVIEW_POWER_OFFLOAD. Caso contrário, a chamada resultará em uma verificação de bugs do sistema.

Requisitos

Requisito Valor
de cliente com suporte mínimo Windows 11, versão 24H2
cabeçalho wificxpoweroffload.h

Consulte também

WIFI_POWER_OFFLOAD_ACTION_FRAME_WAKE_PATTERN_PARAMETERS

WifiPowerOffloadGetActionFrameWakePatternParameters