Microsoft DirectX 9.0

CImageDisplay::UpdateFormat

The UpdateFormat method fills in some optional members of the VIDEOINFO structure.

Syntax

HRESULT UpdateFormat(
    VIDEOINFO *pVideoInfo
);

Parameters

pVideoInfo

Pointer to a VIDEOINFO structure.

Return Value

Returns S_OK.

Remarks

This method sets the biClrUsed, biClrImportant, and biSizeImage members to the correct values, and clears the source and target rectangles. 

See Also