ISpTaskManager::TerminateTask (SAPI 5.4)
Microsoft Speech API 5.4
ISpTaskManager::TerminateTask
ISpTaskManager::TerminateTask interrupts the specified task.
HRESULT TerminateTask(
DWORD dwTaskId,
ULONG ulWaitPeriod
);
Parameters
- dwTaskId
[in] Value specifying the identifier of the task to interrupt. - ulWaitPeriod
[in] Number of milliseconds to wait before interrupting the task.
Return values
Value |
S_OK |
S_FALSE |
FAILED (hr) |