mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
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:
@@ -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 ---;
|
||||
}
|
||||
Reference in New Issue
Block a user