mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Update sys/windows
This commit is contained in:
@@ -256,8 +256,7 @@ foreign kernel32 {
|
|||||||
GetSystemInfo :: proc(system_info: ^SYSTEM_INFO) ---
|
GetSystemInfo :: proc(system_info: ^SYSTEM_INFO) ---
|
||||||
GetVersionExW :: proc(osvi: ^OSVERSIONINFOEXW) ---
|
GetVersionExW :: proc(osvi: ^OSVERSIONINFOEXW) ---
|
||||||
|
|
||||||
LoadLibraryA:: proc(c_str: LPCSTR) -> HMODULE ---
|
LoadLibraryW :: proc(c_str: LPCWSTR) -> HMODULE ---
|
||||||
LoadLibraryW:: proc(c_str: LPCWSTR) -> HMODULE ---
|
FreeLibrary :: proc(h: HMODULE) -> BOOL ---
|
||||||
FreeLibrary:: proc(h: HMODULE) -> BOOL ---
|
GetProcAddress :: proc(h: HMODULE, c_str: LPCSTR) -> rawptr ---
|
||||||
GetProcAddress:: proc(h: HMODULE, c_str: LPCSTR) -> rawptr ---
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -665,7 +665,7 @@ FILE_STANDARD_INFO :: struct {
|
|||||||
// https://docs.microsoft.com/en-gb/windows/win32/api/sysinfoapi/ns-sysinfoapi-system_info
|
// https://docs.microsoft.com/en-gb/windows/win32/api/sysinfoapi/ns-sysinfoapi-system_info
|
||||||
SYSTEM_INFO :: struct {
|
SYSTEM_INFO :: struct {
|
||||||
using _: struct #raw_union {
|
using _: struct #raw_union {
|
||||||
oem_id: DWORD,
|
dwOemID: DWORD,
|
||||||
using _: struct #raw_union {
|
using _: struct #raw_union {
|
||||||
wProcessorArchitecture: WORD,
|
wProcessorArchitecture: WORD,
|
||||||
wReserved: WORD, // reserved
|
wReserved: WORD, // reserved
|
||||||
|
|||||||
Reference in New Issue
Block a user