Expand Minimize

AuditLookupSubCategoryName function

The AuditLookupSubCategoryName function retrieves the display name of the specified audit-policy subcategory.

Syntax


BOOLEAN WINAPI AuditLookupSubCategoryName(
  _In_   const GUID *pAuditSubCategoryGuid,
  _Out_  PTSTR *ppszSubCategoryName
);

Parameters

pAuditSubCategoryGuid [in]

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

ppszSubCategoryName [out]

The address of a pointer to a null-terminated string that contains the display name of the audit-policy subcategory specified by the pAuditSubCategoryGuid parameter.

When you have finished using this string, free it by calling the AuditFree function.

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 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Ntsecapi.h

Library

Advapi32.lib

DLL

Advapi32.dll

Unicode and ANSI names

AuditLookupSubCategoryNameW (Unicode) and AuditLookupSubCategoryNameA (ANSI)

See also

AuditLookupCategoryName

 

 

Community Additions

ADD
Show:
© 2014 Microsoft