| Platform SDK: Access Control | 
The AUDIT_EVENT_TYPE enumeration type defines values that indicate the type of object being audited. The AccessCheckByTypeAndAuditAlarm and AccessCheckByTypeResultListAndAuditAlarm functions use these values.
typedef enum _AUDIT_EVENT_TYPE {
  AuditEventObjectAccess,
  AuditEventDirectoryServiceAccess
} AUDIT_EVENT_TYPE, *PAUDIT_EVENT_TYPE;
| Enumerator Value | Meaning | 
|---|---|
| AuditEventObjectAccess | Indicates an object that generates audit messages only if the system administrator has enabled auditing access to files and objects. | 
| AuditEventDirectoryServiceAccess | Indicates a directory service object that generates audit messages only if the system administrator has enabled auditing access to directory service objects. | 
  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Winnt.h; include Windows.h.
Client/Server Access Control Overview, Client/Server Access Control Enumeration Types, AccessCheckByTypeAndAuditAlarm, AccessCheckByTypeResultListAndAuditAlarm