What does HRESULT 0x80040241 (TPC_E_INVALID_PROPERTY) mean?

 
Could be also:
ConstantTypeOS
VFW_E_CANNOT_LOAD_SOURCE_FILTERHRESULTWindows
Previous Next
VFW_E_UNKNOWN_FILE_TYPE VFW_E_CANNOT_LOAD_SOURCE_FILTER

TPC_E_INVALID_PROPERTY

Meaning

Windows documents TPC_E_INVALID_PROPERTY as “TabletPC inking error code. The property was not found, or supported by the recognizer”. In practical terms, it is returned when a recognizer property requested by Tablet PC code is not present or is not supported by that recognizer.

Likely causes

  • Possible cause 1: the application assumes all recognizers implement the same optional property.
  • Possible cause 2: the property is queried before the recognizer context is configured.
  • Possible cause 3: a property GUID is valid in another Tablet PC component but unsupported here.

Where the failure belongs

This result belongs to Tablet PC ink, stylus and recognition. Tablet PC APIs span device enumeration, RealTimeStylus packet queues, ink-object lifetime and recognizer-specific capabilities. The numerical facility does not identify which Tablet PC layer produced the result. The relevant condition is that a recognizer property requested by Tablet PC code is not present or is not supported by that recognizer.

Diagnostic sequence

  1. Confirm that the observed path matches this condition: a recognizer property requested by Tablet PC code is not present or is not supported by that recognizer.

Evidence to collect

  • Capture 1: recognizer identity and supported-property list.
  • Capture 2: property GUID, expected type and access operation.
  • Capture 3: recognizer-context state and language configuration.

Correct handling and retry

  • Corrective action 1: query capabilities and supported properties first.
  • Corrective action 2: provide defaults only where the property is explicitly optional.
  • Corrective action 3: avoid transferring property assumptions between different recognizer implementations.

Retry guidance. Retry after selecting a supported property or changing to a recognizer that advertises it. When retrying, avoid replay stale strokes, reorder stylus packets or reuse an invalid recognizer context.

Difference from nearby HRESULTs

TPC_E_UNKNOWN_PROPERTY means the component does not recognize the identifier; it commonly means a recognized property is absent or unsupported in the current recognizer context.

Practical scenario

An application requests a vendor-specific context property from the built-in recognizer; capability checks prevent it.

Developer and operational guidance

Official Microsoft references


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