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.
HRESULT HookToCompletionPort( [in] DWORD handle );
- handle [in]
Windows handle that should be associated with the Firewall service completion port.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Minimum supported client
Minimum supported server
|Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)|
|Forefront Threat Management Gateway (TMG) 2010|
Build date: 7/12/2010