Contents Index Topic Contents | ||
Previous Topic: ITaskScheduler::Enum Next Topic: ITaskScheduler::IsOfType |
ITaskScheduler::GetTargetComputer
HRESULT GetTargetComputer( LPWSTR * ppwszComputer );Returns the computer name on which ITaskScheduler is currently targeted.
- 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.
- ppwszComputer
- Address of an LPWSTR that contains the name of the target computer for the current task. This string is allocated by the method that invokes GetTargetComputer and is freed by the same method by using CoTaskMemFree.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.