Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.3
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) |