EVENTSECURITYOPERATION enumeration (evntcons.h)
Defines what component of the security descriptor that the EventAccessControl function modifies.
Syntax
typedef enum {
EventSecuritySetDACL,
EventSecuritySetSACL,
EventSecurityAddDACL,
EventSecurityAddSACL,
EventSecurityMax
} EVENTSECURITYOPERATION;
Constants
EventSecuritySetDACL Clears the current discretionary access control list (DACL) and adds an ACE to the DACL. The Sid, Rights, and AllowOrDeny parameters of the EventAccessControl function determine the contents of the ACE (who has access to the provider or session and the type of access). To add a new ACE to the DACL without clearing the existing DACL, specify EventSecurityAddDACL. |
EventSecuritySetSACL Clears the current system access control list (SACL) and adds an audit ACE to the SACL. The Sid and Rights parameters of the EventAccessControl function determine the contents of the ACE (who generates an audit record when attempting the specified access). To add a new ACE to the SACL without clearing the existing SACL, specify EventSecurityAddSACL. |
EventSecurityAddDACL Adds an ACE to the current DACL. The Sid, Rights, and AllowOrDeny parameters of the EventAccessControl function determine the contents of the ACE (who has access to the provider or session and the type of access). |
EventSecurityAddSACL Adds an ACE to the current SACL. The Sid and Rights parameters of the EventAccessControl function determine the contents of the ACE (who generates an audit record when attempting the specified access). |
EventSecurityMax Reserved. |
Remarks
For information on DACLs and SACLs, see Access Control Lists.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | evntcons.h |