FilterRuleAccessFlags Property
The access restrictions enforced by the rule.
Syntax
ANSI (Cross Platform) int GetFilterRuleAccessFlags(int iFilterRuleIndex); Unicode (Windows) INT GetFilterRuleAccessFlags(INT iFilterRuleIndex);
#define PID_CBREGISTRY_FILTERRULEACCESSFLAGS 7 CBFSFILTER_EXTERNAL void* CBFSFILTER_CALL CBFSFilter_CBRegistry_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CBFSFILTER_EXTERNAL int CBFSFILTER_CALL CBFSFilter_CBRegistry_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
The access restrictions enforced by the rule.
This property indicates which access restrictions are enforced by the rule. Please refer to the Access Rules topic for more information. The value of this property is a combination of zero or more of the following:
ACCESS_NONE | 0x00 | No access restrictions. |
ACCESS_READ_ONLY | 0x01 | Read-only access; writing and deleting is prohibited. |
ACCESS_WRITE_ONLY | 0x02 | Write-only access; reading and deleting is prohibited. |
ACCESS_DELETE_PROTECT | 0x04 | Deletion and renaming is prohibited. |
ACCESS_EXECUTE_PROTECT | 0x08 | Execution is prohibited. |
ACCESS_NO_CHANGE_DAC | 0x10 | Change of security attributes is prohibited. |
ACCESS_NO_CHANGE_OWNER | 0x20 | Change of owner is prohibited. |
ACCESS_RENAME_PROTECT | 0x40 | Renaming is prohibited. |
ACCESS_DELETE_ONLY_PROTECT | 0x80 | Deletion is prohibited (renaming is not affected). |
ACCESS_REMOTE_ACCESS_PROTECT | 0x100 | Access from other systems is prohibited. |
ACCESS_DENY_ALL | 0x200 | All access is denied. |
ACCESS_ALL_FLAGS | -1 | Used to denote all currently set access restriction flags. |
The FilterRuleIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FilterRuleCount property.
This property is read-only and not available at design time.
Data Type
Integer