Microsoft DirectX 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.

See Also