What does HRESULT 0xC00D6D69 (MF_E_TRANSFORM_PROPERTY_ARRAY_VALUE_WRONG_NUM_DIM) mean?

 
Previous Next
MF_E_TRANSFORM_PROPERTY_NOT_WRITEABLE MF_E_TRANSFORM_PROPERTY_VALUE_SIZE_WRONG

MF_E_TRANSFORM_PROPERTY_ARRAY_VALUE_WRONG_NUM_DIM

MF_E_TRANSFORM_PROPERTY_ARRAY_VALUE_WRONG_NUM_DIM is an array-shape error in transform property data. The property accepts an array form, but the supplied array has a different number of dimensions than the transform expects.

Inspect the SAFEARRAY descriptor, not only the element count

  • Record VARIANT.vt and confirm that the array flag and element type match the property's documented contract.
  • Use SafeArrayGetDim to log the number of dimensions and SafeArrayGetLBound/SafeArrayGetUBound for each dimension.
  • Compare the dimensions with the exact codec property documentation or with a value returned by the same transform.

A one-dimensional array containing the same total number of elements is not equivalent to a two-dimensional matrix. Reallocating more bytes does not repair the array descriptor. This distinction is especially important for matrix-like audio or transform configuration properties.

Microsoft: SAFEARRAY inspection functions · Microsoft: ICodecAPI property values · Wine: transform property errors


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