What does HRESULT 0xC00D6D6A (MF_E_TRANSFORM_PROPERTY_VALUE_SIZE_WRONG) mean?

 
Previous Next
MF_E_TRANSFORM_PROPERTY_ARRAY_VALUE_WRONG_NUM_DIM MF_E_TRANSFORM_PROPERTY_VALUE_OUT_OF_RANGE

MF_E_TRANSFORM_PROPERTY_VALUE_SIZE_WRONG

MF_E_TRANSFORM_PROPERTY_VALUE_SIZE_WRONG means the property value reached size validation and the array or blob length did not match the transform's required representation.

Capture logical length and storage representation

  • For arrays, record the element type, number of dimensions, bounds, element size, and total element count.
  • For blobs or serialized structures, log the exact byte count and any structure version or header fields used to construct the payload.
  • Compare against the documented property format for the specific transform implementation rather than another codec exposing a similarly named setting.

This differs from MF_E_TRANSFORM_PROPERTY_VARIANT_TYPE_WRONG: the value can use the correct broad type while still containing the wrong amount of data. Do not blindly enlarge the buffer or append zeros, because fixed-size and versioned structures require meaningful fields at specific offsets.

Microsoft: ICodecAPI · Microsoft: SAFEARRAY metadata functions · Wine: mferror.h


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