sys/windows: add definitions

This commit is contained in:
hikari
2022-09-14 11:42:19 +03:00
parent e7fb2cf73b
commit 164ba944ac
2 changed files with 66 additions and 0 deletions
+8
View File
@@ -6,4 +6,12 @@ foreign import shell32 "system:Shell32.lib"
@(default_calling_convention="stdcall")
foreign shell32 {
CommandLineToArgvW :: proc(cmd_list: wstring, num_args: ^c_int) -> ^wstring ---
ShellExecuteW :: proc(
hwnd: HWND,
lpOperation: LPCWSTR,
lpFile: LPCWSTR,
lpParameters: LPCWSTR,
lpDirectory: LPCWSTR,
nShowCmd: INT,
) -> HINSTANCE ---
}