Partager via


ISpTask::Execute

This method implements the work unit for an object. The implementation is application specific.

virtual HRESULT STDMETHODCALLTYPE Execute(
  void* pvTaskData,
  volatile const BOOL* pfContinueProcessing
);

Parameters

  • pvTaskData
    [in] Pointer to task data used by the ISpTaskManager::CreateReoccurringTask method.
  • pfContinueProcessing
    [in] Value indicating if the process should continue. Set this value to TRUE to continue the process, and to FALSE otherwise. Clients should examine this value during processing and exit if it is set to FALSE. A FALSE setting indicates that another thread has released the recurring task object.

Return Values

The return value is ignored by the SAPI task manager.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: sapiddk.h, sapiddk.idl.
Link Library: Sapilib.lib.

See Also

ISpTask | SAPI Interfaces

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.