IUpdateEx::EvaluateExtendedDynamicProperty method (wuapi.h)

Important

Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Evaluates the value of an extended dynamic property. This value is read-only.

Syntax

HRESULT EvaluateExtendedDynamicProperty(
  [in]  BSTR    propertyName,
  [out] VARIANT *retval
);

Parameters

[in] propertyName

The name of the dynamic extended property whose value should be evaluated. The following values are currently supported:

  • "DoesUpdateRequireReboot" - Evaluating this attribute requires the update bootstrapper to be downloaded at a minimum.

[out] retval

A pointer to a VARIANT that contains the value of the evaluated dynamic property.

Return value

An HRESULT including one of the following values:

Value Description
S_OK Success.
E_INVALIDARG The specified property is invalid.
WU_E_NOT_SUPPORTED The specified property is unsupported for reasons such as when the update doesn't contain the required update bootstrapper.
WU_E_DM_NOTDOWNLOADED The update contains an update bootstrapper, but it was not downloaded.

Requirements

Requirement Value
Minimum supported client Windows 11 Build 26100
Header wuapi.h