Update sys/windows to be closer to the soon to be deleted sys/win32

This commit is contained in:
gingerBill
2022-05-12 13:45:17 +01:00
parent dc832ad49f
commit 2fb351bf04
6 changed files with 260 additions and 7 deletions
+1 -3
View File
@@ -3,8 +3,6 @@ package sys_windows
foreign import kernel32 "system:Kernel32.lib"
@(default_calling_convention="stdcall")
foreign kernel32 {
OutputDebugStringA :: proc(lpOutputString: LPCSTR) ---
@@ -781,7 +779,7 @@ foreign kernel32 {
) -> BOOL ---
}
@(default_calling_convention = "std")
@(default_calling_convention="stdcall")
foreign kernel32 {
@(link_name="SetConsoleCtrlHandler") set_console_ctrl_handler :: proc(handler: Handler_Routine, add: BOOL) -> BOOL ---
}