ITaskHandler::Stop method (taskschd.h)
Called to stop the COM handler. This method must be implemented by the handler.
Syntax
HRESULT Stop(
[out] HRESULT *pRetCode
);
Parameters
[out] pRetCode
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | taskschd.h |
Library | Taskschd.lib |
DLL | Taskschd.dll |