Microsoft DirectX 9.0

CBaseControlVideo::GetVideoFormat

The GetVideoFormat method retrieves a video sample that represents the current video format.

Syntax

virtual VIDEOINFOHEADER * GetVideoFormat(void) PURE;

Return Value

Returns a pointer to a VIDEOINFOHEADER structure that contains the current video format.

Remarks

To return and check certain information through IBasicVideo, the object must know the current video format. It gets this information by calling this pure virtual method that derived classes must override. This member function is called by the following CBaseControlVideo member functions.

See Also