CImageDisplay::CheckVideoType

 
Microsoft DirectShow 9.0

CImageDisplay::CheckVideoType

The CheckVideoType method checks whether a specified VIDEOINFO format is compatible with the display format.

Syntax

  HRESULT CheckVideoType(
    const VIDEOINFO *pInput
);

Parameters

pInput

Pointer to a VIDEOINFO structure.

Return Value

Returns S_OK if the format is compatible, or E_INVALIDARG otherwise.

Remarks

This method returns S_OK if the proposed type can be displayed easily under the current display settings.

Requirements

**  Header:** Declared in Winutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also