Change stdcall -> system

This commit is contained in:
gingerBill
2024-01-17 17:04:54 +00:00
parent 8cfff254c9
commit 75c659fa41
23 changed files with 212 additions and 212 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ package sys_windows
foreign import "system:Comdlg32.lib"
LPOFNHOOKPROC :: #type proc "stdcall" (hdlg: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> UINT_PTR
LPOFNHOOKPROC :: #type proc "system" (hdlg: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> UINT_PTR
OPENFILENAMEW :: struct {
lStructSize: DWORD,
@@ -31,7 +31,7 @@ OPENFILENAMEW :: struct {
FlagsEx: DWORD,
}
@(default_calling_convention="stdcall")
@(default_calling_convention="system")
foreign Comdlg32 {
GetOpenFileNameW :: proc(arg1: ^OPENFILENAMEW) -> BOOL ---
GetSaveFileNameW :: proc(arg1: ^OPENFILENAMEW) -> BOOL ---