CImageDisplay.CheckVideoType method

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

Winutil.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CImageDisplay Class

 

 

Show: