IFPCApplicationFilter2::FilterSpecificFlags property
Applies to: desktop apps only
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.
This property is read/write.
Syntax
HRESULT put_FilterSpecificFlags(
long FilterSpecificFlags
);
HRESULT get_FilterSpecificFlags(
long *pFilterSpecificFlags
);
' Data type: Long
Property FilterSpecificFlags( _
ByVal FilterSpecificFlags As long, _
ByVal pFilterSpecificFlags As long _
) 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.
Error codes
These property methods return S_OK if the call is successful; otherwise, they return an error code.
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
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
IDL |
Msfpccom.idl |
DLL |
Msfpccom.dll |
See also
Build date: 7/12/2010