On Thu Sep 5 03:57:23 2024 +0000, Elizabeth Figura wrote:
If you're going to have a fallback, it should be in NtQuerySystemInformation.
Yes, what I would do probably is "if (!set_ntstatus()) return FALSE; *type = ...; return TRUE;". We can't really test a case when nt call fails, so it's fine to assume it doesn't.