GetCommandLine

  LPTSTR GetCommandLine(VOID)    

The GetCommandLine function returns the command line for the current process.

Parameters

This function has no parameters.

Return Value

The return value is the address of the command line for the current process.

Comments

The GetCommandLine function may be used as either a wide-character function (where text arguments must use Unicode) or an ANSI function (where text arguments must use characters from the Windows 3.x character set installed).

See Also

CreateProcess GetEnvironmentVariable, GetStartupInfo, SetEnvironmentVariable