ITaskScheduler::GetTargetComputerITaskScheduler::GetTargetComputer*
*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.

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.

Back to top


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.