diff options
| author | gingerBill <bill@gingerbill.org> | 2020-06-26 20:09:31 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-06-26 20:09:31 +0100 |
| commit | bb81d4869fba27ad40d94cd6609905e037585bc1 (patch) | |
| tree | 5dbe027f85b3f52774a78761286b5f7086c3fd52 | |
| parent | b633a42bc2a4dc0102d8d81c812c98282add86eb (diff) | |
Update sys/windows
| -rw-r--r-- | core/sys/windows/kernel32.odin | 7 | ||||
| -rw-r--r-- | core/sys/windows/types.odin | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/core/sys/windows/kernel32.odin b/core/sys/windows/kernel32.odin index 473054393..80238af04 100644 --- a/core/sys/windows/kernel32.odin +++ b/core/sys/windows/kernel32.odin @@ -256,8 +256,7 @@ foreign kernel32 { GetSystemInfo :: proc(system_info: ^SYSTEM_INFO) --- GetVersionExW :: proc(osvi: ^OSVERSIONINFOEXW) --- - LoadLibraryA:: proc(c_str: LPCSTR) -> HMODULE --- - LoadLibraryW:: proc(c_str: LPCWSTR) -> HMODULE --- - FreeLibrary:: proc(h: HMODULE) -> BOOL --- - GetProcAddress:: proc(h: HMODULE, c_str: LPCSTR) -> rawptr --- + LoadLibraryW :: proc(c_str: LPCWSTR) -> HMODULE --- + FreeLibrary :: proc(h: HMODULE) -> BOOL --- + GetProcAddress :: proc(h: HMODULE, c_str: LPCSTR) -> rawptr --- } diff --git a/core/sys/windows/types.odin b/core/sys/windows/types.odin index a766472aa..c4f440667 100644 --- a/core/sys/windows/types.odin +++ b/core/sys/windows/types.odin @@ -665,7 +665,7 @@ FILE_STANDARD_INFO :: struct { // https://docs.microsoft.com/en-gb/windows/win32/api/sysinfoapi/ns-sysinfoapi-system_info SYSTEM_INFO :: struct { using _: struct #raw_union { - oem_id: DWORD, + dwOemID: DWORD, using _: struct #raw_union { wProcessorArchitecture: WORD, wReserved: WORD, // reserved |