ITaskHandler::Stop method

Called to stop the COM handler. This method must be implemented by the handler.

Syntax


HRESULT Stop(
  [out] HRESULT *pRetCode
);

Parameters

pRetCode [out]

The return code that the Task Schedule will raise as an event when the COM handler action is completed.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Taskschd.h

Library

Taskschd.lib

DLL

Taskschd.dll

See also

ITaskHandler
Task Scheduler

 

 

Show: