Share via


ISpTaskManager::TerminateTaskGroup (Windows CE 5.0)

Send Feedback

This method terminates a group of tasks matching the specified group identifier.

HRESULT TerminateTaskGroup(DWORD dwGroupId,ULONG ulWaitPeriod);

Parameters

  • dwGroupId
    [in] Identifier for the task group.
  • ulWaitPeriod
    [in] Time, in milliseconds, to wait before terminating the group of tasks.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
FAILED(hr) Appropriate error message.

Requirements

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

See Also

ISpTaskManager | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.