Microsoft DirectX 9.0


The GetOutputCompatibilityIndex method retrieves the setting for the AVI index format.


HRESULT GetOutputCompatibilityIndex(
  BOOL *pfOldIndex



[out] Pointer to a variable that receives one of the following values.

Value Description
TRUE Create an AVI 1.0 index, as well as an AVI 2.0 index.
FALSE Create an AVI 2.0 index, but not an AVI 1.0 index.


The AVI Mux filter always creates an AVI 2.0 index ('indx' format). If the value returned in pfOldIndex is TRUE, the AVI Mux also creates an AVI 1.0 index ('idx1' format), for backward compatibility with Video for Windows.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument.
S_OK Success.

See Also