Update CommandLineToArgvW return type
It now returns a multi-pointer so it can be iterated without any casting.
This commit is contained in:
1 parent
98b539ac5c
commit
845613c404
1 file changed
+1
-1
@@ -5,7 +5,7 @@ foreign import shell32 "system:Shell32.lib"
|
||||
|
||||
@(default_calling_convention="system")
|
||||
foreign shell32 {
|
||||
CommandLineToArgvW :: proc(cmd_list: wstring, num_args: ^c_int) -> ^wstring ---
|
||||
CommandLineToArgvW :: proc(cmd_list: wstring, num_args: ^c_int) -> [^]wstring ---
|
||||
ShellExecuteW :: proc(
|
||||
hwnd: HWND,
|
||||
lpOperation: LPCWSTR,
|
||||
|
||||
Reference in new issue
Block a user