Lines Matching refs:ok
190 BOOL ok = OpenProcessToken(GetCurrentProcess(), // ProcessHandle in adjustPrivileges() local
193 if (!ok) { in adjustPrivileges()
206 ok = LookupPrivilegeValueA(NULL, // lpSystemName in adjustPrivileges()
209 if (!ok) { in adjustPrivileges()
214 ok = AdjustTokenPrivileges(tokenH, // TokenHandle in adjustPrivileges()
220 if (!ok) { in adjustPrivileges()
236 return !!ok; in adjustPrivileges()
696 bool ok = getFileName(remoteH, &name); in findLock() local
702 ok ? "OK" : "FAIL", in findLock()
707 if (ok) { in findLock()
715 ok = getProcessName(processesPtr, remoteProcessId, &procName); in findLock()
716 if (ok) { in findLock()
728 ok ? "OK" : "FAIL", in findLock()