The GetExpandedProcessCommandLine method returns the process command line parameter string with the environment variables expanded.
[string =] object.GetExpandedProcessCommandLine
| Part | Description |
|---|---|
| object | Expression that evaluates to a CreateProcessTask2 object |
| string | String to receive the expanded command line |
HRESULT GetExpandedProcessCommandLine(BSTR* pRetVal)