The AppendAccessMask method adds new mask to the end of mask list
| BOOL AppendAccessMask ( | ||
| BSTR Mask, | ||
| BOOL Access, | ||
Parameters
Mask String. Can contain wildcard characters.
| Wildcard Character | Meaning |
|---|---|
|
* (asterisk)
|
Matches zero or more characters |
|
? (question mark)
|
Matches a single character |
|
DOS_DOT
|
Matches either a period or zero characters beyond the name string |
|
DOS_QM
|
Matches any single character or, upon encountering a period or end of name string, advances the expression to the end of the set of contiguous DOS_QMs |
|
DOS_STAR
|
Matches zero or more characters until encountering and matching the final . in the name |
Access |
||||||||
|
grant/deny access (TRUE/FALSE).
Notes: 1) Access rights check is running in ascending order up to first mask match. Once the match is found according to Access status, VSP AX grants or denies port access to application. The rest of masks will not be checked. 2) Access is granted to all applications by default. Note: this method is available starting from Windows 2000 only. See also: AccessMaskCount property, InsertAccessMask method, GetAccessMask method, DeleteAccessMask method, ClearAccessMask method |
||||||||