Modifier

Partager via


IUpdateEx::get_ExtendedStaticProperty 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.

Gets the value of an extended static property. This value is read-only.

Syntax

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

Parameters

[in] propertyName

The name of the static extended property being queried. The following values are currently supported:

  • "ContainsUpdateBootstrapper"

[out] retval

A pointer to a VARIANT that contains the value of the queried static 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 or operation is unsupported.

Requirements

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