On Thu Oct 30 19:27:31 2025 +0000, Paul Gofman wrote:
Do we need changes in this patch for anything? I am not finding, e. g., NtCurrentProcessToken() definition in Windows SDK. Can't we just use existing GetCurrentProcessToken() in the added tests?
We could use `GetCurrentProcessToken()`, but `NtCurrentProcessToken()` is a fixed compile time constant instead of a function and is a bit more pleasant to use (especially to initialize lists).
I also think it would be nice to have both the NT versions and Win32 ones for all of the pseudo-handles for consistencies sake.