Update sys/windows

This commit is contained in:
gingerBill
2020-06-26 20:09:31 +01:00
parent b633a42bc2
commit bb81d4869f
2 changed files with 4 additions and 5 deletions

View File

@@ -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 ---
}

View File

@@ -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