This topic has not yet been rated - Rate this topic

AuditLookupCategoryIdFromCategoryGuid function

Applies to: desktop apps only

The AuditLookupCategoryIdFromCategoryGuid function retrieves an element of the POLICY_AUDIT_EVENT_TYPE enumeration that represents the specified audit-policy category.

Syntax

BOOLEAN WINAPI AuditLookupCategoryIdFromCategoryGuid(
  __in   const GUID *pAuditCategoryGuid,
  __out  PPOLICY_AUDIT_EVENT_TYPE pAuditCategoryId
);

Parameters

pAuditCategoryGuid [in]

A pointer to a GUID structure that specifies an audit-policy category.

pAuditCategoryId [out]

A pointer to an element of the POLICY_AUDIT_EVENT_TYPE enumeration that represents the audit-policy category specified by the pAuditCategoryGuid parameter.

Return value

If the function succeeds, it returns TRUE.

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

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Ntsecapi.h

Library

Advapi32.lib

DLL

Advapi32.dll

See also

AuditLookupCategoryGuidFromCategoryId

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ