diff --git a/sdk-api-src/content/shellapi/nf-shellapi-shellexecutew.md b/sdk-api-src/content/shellapi/nf-shellapi-shellexecutew.md index d3564e159d94..6fb60d823a94 100644 --- a/sdk-api-src/content/shellapi/nf-shellapi-shellexecutew.md +++ b/sdk-api-src/content/shellapi/nf-shellapi-shellexecutew.md @@ -120,11 +120,13 @@ Type: LPCTSTR A pointer to a null-terminated string that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. If a relative path is used for the lpDirectory parameter do not use a relative path for lpFile. +If lpFile specifies an executable file and "open" or "runas" verbs are used in lpOperation, the command line string of the launched process includes a trailing whitespace character. + ### -param lpParameters [in, optional] Type: LPCTSTR -If lpFile specifies an executable file, this parameter is a pointer to a null-terminated string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If lpFile specifies a document file, lpParameters should be NULL. +If lpFile specifies an executable file, this parameter is a pointer to a null-terminated string that specifies the parameters to be passed to the application. The command line string for a process launched with "open" or "runas" verbs in lpOperation includes a trailing whitespace character and the parameters are appended to that command line string. The format of this string is determined by the verb that is to be invoked. If lpFile specifies a document file, lpParameters should be NULL. ### -param lpDirectory [in, optional]