Jinoh Kang (@iamahuman) commented about dlls/advapi32/tests/security.c:
ok(tid, "got error %lu\n", GetLastError()); hproc = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, pid);
- ok(hproc != NULL, "got error %lu\n", GetLastError());
- if (!hproc)
- {
skip("could not open process, error %lu\n", GetLastError());
```suggestion:-0+0 ok(GetLastError() == ERROR_ACCESS_DENIED, "got error %lu.\n", GetLastError()); skip("could not open process, error %lu\n", GetLastError()); ```
(Untested)