Searched refs:EnablePrivilege (Results 1 – 2 of 2) sorted by relevance
13 bool EnablePrivilege(LPCTSTR privilegeName, bool enable = true);17 return EnablePrivilege(SE_LOCK_MEMORY_NAME, enable);24 NSecurity::EnablePrivilege(SE_RESTORE_NAME); in EnablePrivilege_SymLink()29 NSecurity::EnablePrivilege(TEXT("SeCreateSymbolicLinkPrivilege")); // SE_CREATE_SYMBOLIC_LINK_NAME in EnablePrivilege_SymLink()
25 bool EnablePrivilege(LPCTSTR privilegeName, bool enable) in EnablePrivilege() function