Reference

LookupPrivilegeValueA(3w)

NAME

LookupPrivilegeValueA (ADVAPI32.@)

SYNOPSIS

BOOL LookupPrivilegeValueA
(
LPCSTR lpSystemName,
LPCSTR lpName,
PLUID lpLuid
)

DESCRIPTION

Retrieves LUID used on a system to represent the privilege name.

PARAMS

lpSystemName [In] Name of the system.

lpName [In] Name of the privilege.

lpLuid [Out] Destination for the resulting LUID.

RETURNS

Success: TRUE. lpLuid contains the requested LUID.

Failure: FALSE.

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/advapi32/security.c".

Debug channel "advapi".

History