The GetState method, in Configuration Manager, gets the software update presence state.

[IDL]
HRESULT GetState(
	 LONG*  pnlPresenceState
);

Parameters

pnlPresenceState


Data type: LONGQualifiers: [out, retval]Pointer to the presence state of the software update. Possible values are shown below. This parameter must not be set to a null pointer.

0

ciNotPresent

1

ciPresent

2

ciNotApplicable

3

ciPresenceUnknown

4

ciEvaluationError

5

ciNotEvaluated

Return Values

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

S_OK


The method succeeded.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.