What does HRESULT 0x80220025 (WCM_E_NOTSUPPORTEDFUNCTION) mean?

 
Previous Next
WCM_E_MIXTYPEASSERTION WCM_E_VALUETOOBIG

WCM_E_NOTSUPPORTEDFUNCTION

WCM_E_NOTSUPPORTEDFUNCTION is the failure HRESULT 0x80220025 (signed decimal -2145255387, unsigned decimal 2149711909). Its severity bit is 1, facility is 34 (FACILITY_STATE_MANAGEMENT), and the facility-specific code field is 0x0025.

AllStat records the Windows SDK description as “Not supported function is found”

Interpretation without overreach

The expression uses an unsupported function. The operation reached expression compilation after the call syntax and function token have been recognized. The first branch to test is whether metadata was authored for a newer or different SMI implementation; keep that separate from the possibility that a generic expression language function was assumed to exist.

SMI object or metadata boundary

At this boundary, capture function name, arguments, and full expression, then correlate it with target OS/SMI version. Assign ownership only after checking list of functions used by known-good metadata for that target.

Common origins

  • metadata was authored for a newer or different SMI implementation
  • a generic expression language function was assumed to exist
  • a misspelled name happens to parse as a function token
  • target-specific preprocessing selected an unsupported branch

Useful artifacts

  • function name, arguments, and full expression
  • target OS/SMI version
  • list of functions used by known-good metadata for that target
  • source generator or schema revision
  • whether a supported equivalent can express the same rule

How to isolate the defect

  • replace the call with supported SMI constructs
  • do not emulate unknown functions through unsafe string substitution
  • match authoring tools to the target image
  • validate every architecture/version branch
  • document capability requirements in the package

When another attempt is justified

Retry after rewriting the expression or selecting a compatible target. The engine cannot dynamically acquire an unsupported function.

Related result codes

WCM_E_INVALIDEXPRESSIONSYNTAX means the expression cannot be parsed; NOTSUPPORTEDFUNCTION means the call form is understood but unavailable.

Example from an offline image

A manifest generator uses a helper function supported by its own rule engine. SMI recognizes the function call syntax but has no implementation for that function.

Developer and administrator notes

For operational telemetry, retain list of functions used by known-good metadata for that target; also record source generator or schema revision. Preserve a redacted summary of whether a supported equivalent can express the same rule; use a cryptographic hash when that evidence is a file, stream, or generated artifact.

Official Microsoft references.


Looking for a different code? Search another status or error code.