Contents Index Topic Contents | ||
Previous Topic: ITask::GetTaskFlags Next Topic: ITask::SetApplicationName |
ITask::GetWorkingDirectory
HRESULT GetWorkingDirectory( LPWSTR * ppwszWorkingDirectory );Retrieves the task's working directory.
- 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.
- ppwszWorkingDirectory
- Address of an LPWSTR that contains the task's working directory. The method that invokes GetWorkingDirectory is responsible for freeing this string using the CoTaskMemFree function.
See also ITask::SetWorkingDirectory
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.