FilterSpecificFlags Property of the IFPCApplicationFilter2 Interface

The FilterSpecificFlags property gets or sets the filter flags bitmask. Some bits are reserved and some are available for private use by filters.

HRESULT put_FilterSpecificFlags(
	LONG FilterSpecificFlags
HRESULT get_FilterSpecificFlags(
	LONG* pFilterSpecificFlags



Pointer to a LONG that on return specifies the filter flags bitmask.


A LONG that specifies the new filter-specific flags bitmask (see Remarks section).

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

[Visual Basic]
Property FilterSpecificFlags As LONG

Property Value

A LONG that specifies the filter flags bitmask.


The lower 16 bits of the value are reserved by Forefront TMG to use for flags common to all application filters. Bit 0 when set to 0 tells Application Filter to disregard restricted ports (see FPCRestrictedPorts).

Bits 16 and up are for use of a specific Application Filter. FTP Application Filter uses bit 16 to allow or block the use of the PORT command. If bit 16 is set, the PORT command is allowed.

This property is read/write.


Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).

Declared in Msfpccom.idl.


Requires Msfpccom.dll.

See Also


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.