src/Common/Lsa/Privilege.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 namespace AppSecInc 
00004 {
00005     namespace LSA
00006     {
00007                 struct Privilege
00008                 {
00009                         std::wstring Name;
00010                         std::wstring DisplayName;
00011                         LUID Luid;
00012                         DWORD Attributes;
00013                 };
00014 
00015                 namespace Privileges
00016                 {
00018                         std::wstring GetPrivilegeName(LUID luid);
00020                         std::wstring GetPrivilegeDisplayName(const std::wstring& privilege_name);
00022                         LUID GetPrivilege(const std::wstring& privilege_name);
00023                 }
00024     }
00025 }
00026 


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