UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:shlobj.PathProcessCommand |
PathProcessCommand function (shlobj.h) |
Deprecated. Processes a string that contains a command line and generates a suitably quoted string, with arguments attached if required. |
|
shell\PathProcessCommand.htm |
shell |
9dbc39e7-f73b-450f-bb87-17a38e7ab66d |
12/05/2018 |
PPCF_ADDARGUMENTS, PPCF_ADDQUOTES, PPCF_FORCEQUALIFY, PPCF_LONGESTPOSSIBLE, PPCF_NODIRECTORIES, PathProcessCommand, PathProcessCommand function [Windows Shell], _win32_PathProcessCommand, shell.PathProcessCommand, shlobj/PathProcessCommand |
shlobj.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
Shell32.lib |
Shell32.dll (version 5.0 or later) |
Windows |
19H1 |
|
|
|
|
|
|
Deprecated. Processes a string that contains a command line and generates a suitably quoted string, with arguments attached if required.
Type: PCWSTR
A pointer to a null-terminated string that contains the command line to process.
Type: PWSTR
Pointer to a buffer that receives a null-terminated Unicode string with the appropriate quotation marks. To determine how large this buffer must be, set this parameter to NULL. The function returns the required buffer size.
Type: int
The maximum number of characters that can be put in pszDest, not including the terminating null character. If this value is too small, the function fails.
Type: DWORD
Flags that control the procedure. One or more of the following values:
Add quotes if the path requires them.
Append trailing arguments to the output string. This value includes PPCF_ADDQUOTES.
Do not match the input string against folders, only against file objects.
Qualify even non-relative file names.
Always choose the longest possible executable name.
Type: LONG
Returns a positive value if successful. If lpDest is set to NULL, the function returns the required buffer size in characters, including the terminating null character. If the call fails, the function returns a negative value.