Structures – PROGRAM_ACCESS

PROGRAM_ACCESS

typedef struct _PROGRAM_ACCESS{
   WCHAR Mask [MAX_APP_LEN];
   LONG  AccessState;
}PROGRAM_ACCESS, *PPROGRAM_ACCESS;

Members:

  • Mask : String. Can contain wildcard characters.
  • AccessState : grant/deny access (TRUE/FALSE)
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