Searched refs:EnablePrivilege (Results 1 – 2 of 2) sorted by relevance
11 bool EnablePrivilege(LPCTSTR privilegeName, bool enable = true);15 return EnablePrivilege(SE_LOCK_MEMORY_NAME, enable);22 NSecurity::EnablePrivilege(SE_RESTORE_NAME); in EnablePrivilege_SymLink()27 NSecurity::EnablePrivilege(TEXT("SeCreateSymbolicLinkPrivilege")); // SE_CREATE_SYMBOLIC_LINK_NAME in EnablePrivilege_SymLink()
23 bool EnablePrivilege(LPCTSTR privilegeName, bool enable) in EnablePrivilege() function