Share via


IFWXFirewall::HookToCompletionPort method

Applies to: desktop apps only

The HookToCompletionPort method associates a handle with the Microsoft Firewall service completion port. The caller must use overlapped structures that are provided by the Firewall service by using the IFWXOverlapped interface. Overlapped objects are obtained by calling the IFWXFirewall::CreateOverlapped method.

Syntax

HRESULT HookToCompletionPort(
  [in]  DWORD handle
);

Parameters

  • handle [in]
    Windows handle that should be associated with the Firewall service completion port.

Return value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

DLL

Wspsrv.exe

See also

IFWXFirewall

IFWXExternalIOCompletion

 

 

Build date: 7/12/2010