FWPM_PROVIDER_CONTEXT_CHANGE_CALLBACK0 callback function (fwpmu.h)

The FWPM_PROVIDER_CONTEXT_CHANGE_CALLBACK0 function is used to add custom behavior to the provider context change notification process.

Syntax

FWPM_PROVIDER_CONTEXT_CHANGE_CALLBACK0 FwpmProviderContextChangeCallback0;

void FwpmProviderContextChangeCallback0(
  [in] void *context,
  [in] const FWPM_PROVIDER_CONTEXT_CHANGE0 *change
)
{...}

Parameters

[in] context

Type: void*

Optional context pointer. It contains the value of the context parameter passed to the FwpmProviderContextSubscribeChanges0 function.

[in] change

Type: FWPM_PROVIDER_CONTEXT_CHANGE0*

The change notification information.

Return value

None

Remarks

Call FwpmProviderContextSubscribeChanges0 to register this callback function.

FWPM_PROVIDER_CONTEXT_CHANGE_CALLBACK0 is a specific implementation of FWPM_PROVIDER_CONTEXT_CHANGE_CALLBACK. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header fwpmu.h

See also

FWPM_PROVIDER_CONTEXT_CHANGE0

FwpmProviderContextSubscribeChanges0