IProgram::ExecutionState is a read-only property, in Configuration Manager, that indicates the state of the program execution.

[IDL]
HRESULT ExecutionState([out, retval] tagProgramExecutionState* pVal);

Parameters

pVal


Data type: tagProgramExecutionStateQualifiers: [out, retval]Pointer to a description of the state. Possible values are:

0

eExecuteSuccess

The program has run successfully in the past

1

eExecuteFailed

The program failed to run successfully in the past

2

eExecuteNone

The program has never run

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Requirements

UIResource.dll.

Runtime Requirements

Development Requirements

See Also

Reference

Program Class


Send comments about this topic to Microsoft.