Skip to content

Latest commit

 

History

History
85 lines (68 loc) · 3.26 KB

nf-ntsecapi-auditlookupsubcategorynamew.md

File metadata and controls

85 lines (68 loc) · 3.26 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:ntsecapi.AuditLookupSubCategoryNameW
AuditLookupSubCategoryNameW function (ntsecapi.h)
Retrieves the display name of the specified audit-policy subcategory. (Unicode)
AuditLookupSubCategoryName
AuditLookupSubCategoryName function [Security]
AuditLookupSubCategoryNameW
ntsecapi/AuditLookupSubCategoryName
ntsecapi/AuditLookupSubCategoryNameW
security.auditlookupsubcategoryname_func
security\auditlookupsubcategoryname_func.htm
security
65ccd0f6-ee43-4b4d-98fd-b7a49f23ad9d
12/05/2018
AuditLookupSubCategoryName, AuditLookupSubCategoryName function [Security], AuditLookupSubCategoryNameA, AuditLookupSubCategoryNameW, ntsecapi/AuditLookupSubCategoryName, ntsecapi/AuditLookupSubCategoryNameA, ntsecapi/AuditLookupSubCategoryNameW, security.auditlookupsubcategoryname_func
ntsecapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
AuditLookupSubCategoryNameW (Unicode) and AuditLookupSubCategoryNameA (ANSI)
Advapi32.lib
Advapi32.dll
Windows
19H1
AuditLookupSubCategoryNameW
ntsecapi/AuditLookupSubCategoryNameW
c++
APIRef
kbSyntax
DllExport
Advapi32.dll
API-MS-Win-Security-audit-l1-1-1.dll
sechost.dll
AuditLookupSubCategoryName
AuditLookupSubCategoryNameA
AuditLookupSubCategoryNameW

AuditLookupSubCategoryNameW function

-description

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

-parameters

-param pAuditSubCategoryGuid [in]

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

-param 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.

-returns

If the function succeeds, it returns TRUE.

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

-see-also

AuditLookupCategoryName

-remarks

Note

The ntsecapi.h header defines AuditLookupSubCategoryName as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.