aboutsummaryrefslogtreecommitdiff
path: root/core/sys
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-05-18 11:55:37 +0100
committergingerBill <bill@gingerbill.org>2023-05-18 11:55:37 +0100
commit3108752a0c00d25371b2c66840bbcd7e5d11ecd6 (patch)
treedefcce1daa29f54095f3aed20b7a6c77e9e6760a /core/sys
parent56c0d32ea0c81ad9913e4e512952b3be25688504 (diff)
Fix #2518
Diffstat (limited to 'core/sys')
-rw-r--r--core/sys/windows/kernel32.odin3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/sys/windows/kernel32.odin b/core/sys/windows/kernel32.odin
index a6897f164..beed3a7e5 100644
--- a/core/sys/windows/kernel32.odin
+++ b/core/sys/windows/kernel32.odin
@@ -2,6 +2,7 @@
package sys_windows
foreign import kernel32 "system:Kernel32.lib"
+foreign import one_core "system:OneCore.lib"
FOREGROUND_BLUE :: WORD(0x0001)
FOREGROUND_GREEN :: WORD(0x0002)
@@ -891,7 +892,7 @@ WIN32_MEMORY_REGION_INFORMATION_u_s_Bitfield :: distinct ULONG
}*/
@(default_calling_convention="stdcall")
-foreign kernel32 {
+foreign one_core {
QueryVirtualMemoryInformation :: proc(
Process: HANDLE,
VirtualAddress: PVOID,