 |
CommandLineToArgvW ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Parses a Unicode command-line string, and returns a pointer to a set of Unicode argument strings and a count of arguments, similar to the standard C run-time argv and argc values |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
LPWSTR * CommandLineToArgvW(
LPCWSTR lpCmdLine, // pointer to a command-line string
int *pNumArgs // receives the argument count
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CommandLineToArgvW IN shell32;
INTEGER lpCmdLine,;
INTEGER @ pNumArgs
|
 |
 |
 |
| Parameters: |
 |
lpCmdLine
[in] Pointer to a null-terminated Unicode command-line string.
pNumArgs
[out] Pointer to an integer variable that receives the count of arguments parsed.
|
 |
 |
| Return value: |
 |
If the function succeeds, the return value is a non-NULL pointer to the constructed argument list, which is an array of Unicode strings.
If the function fails, the return value is NULL. |
 |
 |
| My comment: |
 |
Windows NT/2000/XP: Included in Windows NT 3.5 and later.
Windows 95/98/Me: Unsupported.
MSDN: if the first parameter is the empty string, "", the function returns the path to the current executable file. |
 |
 |
| Word Index links for the CommandLineToArgvW : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-11 19:40:13 | | Modified: | 2001-12-11 19:46:22 | Visited in last 7 days: 24 |