What does HRESULT 0x88990029 (D2DERR_INVALID_PROPERTY) mean?

 
Previous Next
D2DERR_EFFECT_IS_NOT_REGISTERED D2DERR_NO_SUBPROPERTIES

D2DERR_INVALID_PROPERTY

D2DERR_INVALID_PROPERTY identifies a failure in Direct2D effect registration and property metadata. The requested Direct2D effect property does not exist.

Facts worth preserving

RecordWhy it matters here
Effect CLSID and registration versionComparing effect CLSID and registration version shows whether this result follows input, object state, or environment.
Property index or pathPreserving property index or path provides the evidence needed to test this distinction: nO_SUBPROPERTIES means the parent property exists but the requested nested property does not; INVALID_PROPERTY means the property itself is absent.
Declared property list and typesRecording declared property list and types separates the Direct2D effect registration and property metadata boundary from a later wrapper symptom.
GetValue/SetValue method and binding resultRecording GetValue/SetValue method and binding result ties the HRESULT to the Direct2D effect registration and property metadata boundary rather than to the final visible failure.

Subsystem context

Effect registration is scoped to a factory and CLSID, while effect properties form a metadata hierarchy of names, indices, types, and optional subproperties. An unregistered CLSID, absent property, and absent child property occur at different lookup stages and should not share one generic fallback.

Property lookup by index, name, and effect CLSID.

Isolation procedure

Track successful registration on the same factory, enumerate properties from the exact effect instance, resolve the parent before a child, and use the canonical CLSID and property path in diagnostics.

  1. Enumerate properties from the effect.
  2. Use a known property by index and name.
  3. Check custom-effect XML registration.
  4. Keep built-in effect version differences explicit.

Do not hide the original condition

NO_SUBPROPERTIES means the parent property exists but the requested nested property does not; INVALID_PROPERTY means the property itself is absent. Do not respond with a universal render-target recreation loop unless the returned status specifically documents device-loss recovery; graph, property, numeric, lifetime, and print-state errors require correcting their contract.

What each result would imply

TestInterpretationHold constant
Same environment, reduced inputIf this result disappears with a smaller faithful case, complexity within Direct2D effect registration and property metadata is implicated.Keep effect CLSID and registration version fixed while simplifying declared property list and types.
Same input, fresh object instanceIf it changes after rebuilding state, examine ownership across the caller’s object graph, custom effect or renderer, Direct2D validation layer, backing device, and deferred draw boundary.Place property index or path on the timeline of the last successful transition.
Same operation on a controlled second pathIf it follows one environment, the failure is not explained by source data alone.Compare adapter and feature level, factory and device generations, target identity, debug-layer output, and thread ownership while preserving GetValue/SetValue method and binding result.

Verification after repair

A correction should let the operation at the Direct2D effect registration and property metadata boundary complete repeatedly under the original supported conditions. Repeat the control that begins with “Enumerate properties from the effect” and confirm that the following lifecycle step also succeeds.

Technical references


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