Fixed getting windows version. The former function is no longer working on Windows 10. Also fixed the struct to use correct win32 names

This commit is contained in:
zhibog committed 2020-10-24 00:14:01 +02:00
1 parent feeb342c00
commit 4c4112fbc7
3 files changed
+37 -29

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
package version
foreign import ntdll_lib "system:ntdll.lib"
@(default_calling_convention="std")
foreign ntdll_lib {
RtlGetVersion :: proc(lpVersionInformation: ^OSVERSIONINFOEXW) -> NTSTATUS ---;
}