ISpTaskManager::TerminateTaskGroup (Windows Embedded CE 6.0)
1/6/2010
This method terminates a group of tasks matching the specified group identifier.
Syntax
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 Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
Function completed successfully. |
FAILED(hr) |
Appropriate error message. |
Requirements
Header | sapiddk.h, sapiddk.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |