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")
|
@(default_calling_convention="system")
|
||||||
foreign shell32 {
|
foreign shell32 {
|
||||||
CommandLineToArgvW :: proc(cmd_list: wstring, num_args: ^c_int) -> ^wstring ---
|
CommandLineToArgvW :: proc(cmd_list: wstring, num_args: ^c_int) -> [^]wstring ---
|
||||||
ShellExecuteW :: proc(
|
ShellExecuteW :: proc(
|
||||||
hwnd: HWND,
|
hwnd: HWND,
|
||||||
lpOperation: LPCWSTR,
|
lpOperation: LPCWSTR,
|
||||||
|
|||||||
Reference in new issue
Block a user