AUDIT_POLICY_INFORMATION structure (ntsecapi.h)
The AUDIT_POLICY_INFORMATION structure specifies a security event type and when to audit that type.
Syntax
typedef struct _AUDIT_POLICY_INFORMATION {
GUID AuditSubCategoryGuid;
ULONG AuditingInformation;
GUID AuditCategoryGuid;
} AUDIT_POLICY_INFORMATION, *PAUDIT_POLICY_INFORMATION;
Members
AuditSubCategoryGuid
A GUID structure that specifies an audit subcategory.
AuditingInformation
A set of bit flags that specify the conditions under which the security event type specified by the AuditSubCategoryGuid and AuditCategoryGuid members are audited. The following values are defined.
Value | Meaning |
---|---|
|
Do not change auditing options for the specified event type.
This value is valid for the AuditSetSystemPolicy and AuditQuerySystemPolicy functions. |
|
Audit successful occurrences of the specified event type.
This value is valid for the AuditSetSystemPolicy and AuditQuerySystemPolicy functions. |
|
Audit failed attempts to cause the specified event type.
This value is valid for the AuditSetSystemPolicy and AuditQuerySystemPolicy functions. |
|
Do not audit the specified event type.
This value is valid for the AuditSetSystemPolicy and AuditQuerySystemPolicy functions. |
|
Do not change auditing options for the specified event type.
This value is valid for the AuditSetPerUserPolicy and AuditQueryPerUserPolicy functions. |
|
Audit successful occurrences of the specified event type.
This value is valid for the AuditSetPerUserPolicy and AuditQueryPerUserPolicy functions. |
|
Do not audit successful occurrences of the specified event type.
This value is valid for the AuditSetPerUserPolicy and AuditQueryPerUserPolicy functions. |
|
Audit failed attempts to cause the specified event type.
This value is valid for the AuditSetPerUserPolicy and AuditQueryPerUserPolicy functions. |
|
Do not audit failed attempts to cause the specified event type.
This value is valid for the AuditSetPerUserPolicy and AuditQueryPerUserPolicy functions. |
|
Do not audit the specified event type.
This value is valid for the AuditSetPerUserPolicy and AuditQueryPerUserPolicy functions. |
AuditCategoryGuid
A GUID structure that specifies an audit-policy category.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | ntsecapi.h |
See also
AuditComputeEffectivePolicyBySid