IProgram::Enabled is a read-only property, in Configuration Manager, that indicates whether the program is enabled for running.

[IDL]
HRESULT Enabled([out, retval] long* pVal);

Parameters

pVal


Data type: longQualifiers: [out, retval]Pointer to a value that indicates if the program is enabled for running. Possible values are:

0

Program is not enabled

1

Program is enabled

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.