From 15812f04c290bf84865678fd04e6beacc93fb6a6 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 21 Dec 2017 17:12:42 +0000 Subject: tt_array_copy_utf8(): properly implement the interp-optarg-script semantics. --- include/ntapi/nt_argv.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/ntapi/nt_argv.h b/include/ntapi/nt_argv.h index de149dc..a75d538 100644 --- a/include/ntapi/nt_argv.h +++ b/include/ntapi/nt_argv.h @@ -157,10 +157,10 @@ typedef int32_t __stdcall ntapi_tt_get_env_var_meta_utf16( typedef int32_t __stdcall ntapi_tt_array_copy_utf8( __out int * argc, __in const char ** argv, - __in const char ** wenvp, - __in const char * image_name __optional, - __in const char * interpreter __optional, + __in const char ** envp, + __in const char * interp __optional, __in const char * optarg __optional, + __in const char * script __optional, __in void * base, __out void * buffer, __in size_t buflen, -- cgit v1.2.3