Contents Index Topic Contents | ||
Previous Topic: ITask::GetMaxRunTime Next Topic: ITask::GetPriority |
ITask::GetParameters
HRESULT GetParameters( LPWSTR * ppwszParameters );Retrieves the task's command-line parameters.
- Returns one of the following values:
S_OK The operation was successful. E_INVALIDARG The arguments are not valid. E_OUTOFMEMORY Not enough memory is available.
- ppwszParameters
- Address of an LPWSTR that contains the current task's parameters. The method that invokes GetParameters is responsible for freeing this string using the CoTaskMemFree function.
See also ITask::SetParameters
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.