The LookupPrivilegeName function retrieves the name corresponding to the privilege represented on a specific system by a specified locally unique identifier (LUID).
BOOL LookupPrivilegeName(
LPCTSTR lpSystemName, |
// address of string specifying the system |
PLUID lpLuid, |
// address of locally unique identifier |
LPTSTR lpName, |
// address of string specifying the privilege |
LPDWORD cbName |
// address of size of string for displayable name |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
For this release of Windows NT, only the privileges specified in the Defined Privileges section of WINNT.H are supported by this function.
LookupPrivilegeDisplayName, LookupPrivilegeValue
file: /Techref/os/win/api/win32/func/src/f55_7.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/24 05:37,
18.221.183.34:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/os/win/api/win32/func/src/f55_7.htm"> LookupPrivilegeName</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.