Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXFirewall::HookToCompletionPort

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.

HRESULT HookToCompletionPort(
  DWORD handle
);

Parameters

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

Return Values

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

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXFirewall, IFWXExternalIOCompletion