IConfigAviMux::GetOutputCompatibilityIndex

 
Microsoft DirectShow 9.0

IConfigAviMux::GetOutputCompatibilityIndex

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

Syntax

  HRESULT GetOutputCompatibilityIndex(
  BOOL *pfOldIndex
);

Parameters

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.

Remarks

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.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also