AuthzFreeAuditEvent function (authz.h)

The AuthzFreeAuditEvent function frees the structure allocated by the AuthzInitializeObjectAccessAuditEvent function.

Syntax

AUTHZAPI BOOL AuthzFreeAuditEvent(
  [in] AUTHZ_AUDIT_EVENT_HANDLE hAuditEvent
);

Parameters

[in] hAuditEvent

A pointer to the AUTHZ_AUDIT_EVENT_HANDLE structure to be freed.

Return value

If the function succeeds, the function returns TRUE.

If the function fails, it returns FALSE. To get extended error information, call GetLastError.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header authz.h
Library Authz.lib
DLL Authz.dll
Redistributable Windows Server 2003 Administration Tools Pack on Windows XP

See also

AuthzInitializeObjectAccessAuditEvent

Basic Access Control Functions