IRunnableTask::IsRunning method (shobjidl_core.h)

Requests information on the state of a task, such as thumbnail extraction.

Syntax

ULONG IsRunning();

Return value

Type: LONG

Returns one of the following values to indicate the current execution state.

Return code Description
IRTIR_TASK_NOT_RUNNING
Extraction has not yet started.
IRTIR_TASK_RUNNING
The task is running.
IRTIR_TASK_SUSPENDED
The task is suspended.
IRTIR_TASK_PENDING

IRunnableTask::Kill has been called on the thread, but the thread has not yet completely shut down.

IRTIR_TASK_FINISHED
The task is finished.

Remarks

This method must be implemented.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 5.0 or later)