FilterSpecificFlags Property of the IFPCApplicationFilter2 Interface

The FilterSpecificFlags property gets or sets a 32-bit bitmask, in which each bit holds a filter-specific flag or a flag that is common to all application filters.

C++

HRESULT put_FilterSpecificFlags(
    long FilterSpecificFlags
);
HRESULT get_FilterSpecificFlags(
    long* pFilterSpecificFlags
);

Parameters

  • FilterSpecificFlags
    A 32-bit integer that specifies a bitmask, in which each bit holds a filter-specific flag or a flag that is common to all application filters (see Remarks section).

  • pFilterSpecificFlags
    Pointer to a variable that on return receives a 32-bit integer specifying a bitmask, in which each bit holds a filter-specific flag or a flag that is common to all application filters.

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 32-bit integer that specifies a bitmask, in which each bit holds a filter-specific flag or a flag that is common to all application filters.

Remarks

The lower 16 bits of the bitmask are reserved by Forefront TMG for flags common to all application filters. For example, setting bit 0 to 0 instructs the application filter to disregard the prohibited port ranges specified in the RestrictedPorts property for the array.

Bits 16 through 31 are for use private use by the application filter. For example, the 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. By default, bits 16 through 31 are cleared.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCApplicationFilter

Send comments about this topic to Microsoft

Build date: 6/30/2010