HookToCompletionPort Method of the IFWXFirewall Interface

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

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

Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXFirewall
IFWXExternalIOCompletion


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.