PAC_CHANGES_CALLBACK_FN callback function (netfw.h)

The PAC_CHANGES_CALLBACK_FN function is used to add custom behavior to the app container change notification process.

Syntax

PAC_CHANGES_CALLBACK_FN PacChangesCallbackFn;

void PacChangesCallbackFn(
  [in, optional] void *context,
  [in]           const INET_FIREWALL_AC_CHANGE *pChange
)
{...}

Parameters

[in, optional] context

Type: void*

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

[in] pChange

Type: const INET_FIREWALL_AC_CHANGE*

The app container change information.

Return value

None

Remarks

Call NetworkIsolationRegisterForAppContainerChanges to register this callback function.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header netfw.h (include Netfw.h)

See also

INET_FIREWALL_AC_CHANGE

NetworkIsolationRegisterForAppContainerChanges