ISpTask::Execute (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

ISpTask::Execute

ISpTask::Execute calls on a worker thread to allow the client to perform necessary task operations.


Implements the work unit for an object. This will be application specific.

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

Parameters

pvTaskData
[in] The pointer passed to ISpTaskManager::CreateReoccurringTask pvTaskData parameter.
pfContinueProcessing
[in] Boolean indicating if the process should continue. TRUE continues the process; otherwise FALSE. Clients should examine this variable during processing and exit if this flag set to FALSE, as it indicates that another thread has released the reoccurring task object.

Return values

The return value is ignored by the SAPI task manager.

Show: