Partager via


IPv6DisableFirewallHook function

The IPv6DisableFirewallHook function disables an IPv6 firewall-hook driver's FirewallHook function.

Syntax

void IPv6DisableFirewallHook(
  _In_ IPv6FirewallDeregistrationCompleteProc CompletionRoutine
);

Parameters

  • CompletionRoutine [in]
    A pointer to an IPv6 firewall-hook driver-provided completion routine. The IPv6 network stack calls this completion routine after all in-progress calls to the IPv6 firewall-hook driver's FirewallHook function have returned. If there are no in-progress calls to the IPv6 firewall-hook driver's FirewallHook function when the driver calls the IPv6DisableFirewallHook function, this completion routine is called immediately.

    An IPv6 firewall-hook driver's completion routine is defined as follows:

    void
    CompletionRoutine(
        );
    

    This parameter is required and must not be NULL.

Return value

None

Remarks

An IPv6 firewall-hook driver calls the IPv6DisableFirewallHook function to disable the driver's FirewallHook function that it previously enabled by calling the IPv6EnableFirewallHook function.

Requirements

Target platform

Desktop

Version

Available on Microsoft Windows XP with Service Pack 2 (SP2) and Windows Server 2003 with Service Pack 1 (SP1).

Header

Ip6firewall.h (include Ip6firewall.h)

Library

Tcpip6.lib

IRQL

Any level

See also

IPv6EnableFirewallHook

FirewallHook

 

 

Send comments about this topic to Microsoft