FWPM_SUBLAYER_CHANGE_CALLBACK0 callback function (fwpmu.h)

The FWPM_SUBLAYER_CHANGE_CALLBACK0 function is used to added custom behavior to the sublayer change notification process.

Syntax

FWPM_SUBLAYER_CHANGE_CALLBACK0 FwpmSublayerChangeCallback0;

void FwpmSublayerChangeCallback0(
  [in] void *context,
  [in] const FWPM_SUBLAYER_CHANGE0 *change
)
{...}

Parameters

[in] context

Type: void*

Optional context pointer. It contains the value of the context parameter of the FwpmSubLayerSubscribeChanges0 function.

[in] change

Type: FWPM_SUBLAYER_CHANGE0*

The change notification information.

Return value

None

Remarks

Call FwpmSubLayerSubscribeChanges0 to register this callback function.

FWPM_SUBLAYER_CHANGE_CALLBACK0 is a specific implementation of FWPM_SUBLAYER_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_SUBLAYER_CHANGE0

FwpmSubLayerSubscribeChanges0