Privilege.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace AppSecInc
4 {
5  namespace LSA
6  {
7  struct Privilege
8  {
9  std::wstring Name;
10  std::wstring DisplayName;
11  LUID Luid;
12  DWORD Attributes;
13  };
14 
15  namespace Privileges
16  {
18  std::wstring GetPrivilegeName(LUID luid);
20  std::wstring GetPrivilegeDisplayName(const std::wstring& privilege_name);
22  LUID GetPrivilege(const std::wstring& privilege_name);
23  }
24  }
25 }
26 
LUID GetPrivilege(const std::wstring &privilege_name)
lookup the LUID from a privilege name
Definition: Privilege.cpp:41
Definition: Privilege.h:7
DWORD Attributes
Definition: Privilege.h:12
LUID Luid
Definition: Privilege.h:11
std::wstring Name
Definition: Privilege.h:9
std::wstring DisplayName
Definition: Privilege.h:10
std::wstring GetPrivilegeName(LUID luid)
lookup a privilege name from a LUID on the current system
Definition: Privilege.cpp:4
std::wstring GetPrivilegeDisplayName(const std::wstring &privilege_name)
lookup privilege display name from a LUID on the current system
Definition: Privilege.cpp:22


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com