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_NONE0x00No access restrictions.

ACCESS_READ_ONLY0x01Read-only access; writing and deleting is prohibited.

ACCESS_WRITE_ONLY0x02Write-only access; reading and deleting is prohibited.

ACCESS_DELETE_PROTECT0x04Deletion and renaming is prohibited.

ACCESS_EXECUTE_PROTECT0x08Execution is prohibited.

ACCESS_NO_CHANGE_DAC0x10Change of security attributes is prohibited.

ACCESS_NO_CHANGE_OWNER0x20Change of owner is prohibited.

ACCESS_RENAME_PROTECT0x40Renaming is prohibited.

ACCESS_DELETE_ONLY_PROTECT0x80Deletion is prohibited (renaming is not affected).

ACCESS_REMOTE_ACCESS_PROTECT0x100Access from other systems is prohibited.

ACCESS_DENY_ALL0x200All access is denied.

ACCESS_ALL_FLAGS-1Used 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

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Filter 2020 C++ Edition - Version 20.0 [Build 8317]