Share via


ISpTaskManager::TerminateTaskGroup (SAPI 5.4)

Microsoft Speech API 5.4

ISpTaskManager::TerminateTaskGroup

ISpTaskManager::TerminateTaskGroup terminates a group of tasks that match a specific group identifier.

  
    HRESULT TerminateTaskGroup(
   DWORD   dwGroupId,
   ULONG   ulWaitPeriod
);

Parameters

  • dwGroupId
    [in] Value specifying the identifier for the task group to interrupt.
  • ulWaitPeriod
    [in] Number of milliseconds to wait before interrupting the task group.

Return values

Value
S_OK
FAILED (hr)