IRunnableTask::IsRunning method

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

Syntax


LONG IsRunning();

Parameters

This method has no parameters.

Return value

Type: LONG

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

Return codeDescription
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

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 5.0 or later)

 

 

Show: