Searched refs:to_enable (Results 1 – 2 of 2) sorted by relevance
127 bool AdjustCurrentProcessPrivilege(const TCHAR* privilege, bool to_enable);
1072 bool AdjustCurrentProcessPrivilege(const TCHAR* privilege, bool to_enable) { in AdjustCurrentProcessPrivilege() argument1085 privs.Privileges[0].Attributes = to_enable ? SE_PRIVILEGE_ENABLED : 0; in AdjustCurrentProcessPrivilege()