CBaseControlVideo::GetVideoFormat
A version of this page is also available for
4/8/2010
Retrieves a video sample that represents the current video format.
Syntax
virtual VIDEOINFOHEADER* GetVideoFormat( ) PURE;
Parameters
None.
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:
- CBaseControlVideo::OnVideoSizeChange
- CBaseControlVideo::get_AvgTimePerFrame
- CBaseControlVideo::get_BitRate
- CBaseControlVideo::get_BitErrorRate
- CBaseControlVideo::get_VideoWidth
- CBaseControlVideo::get_VideoHeight
- CBaseControlVideo::GetVideoPaletteEntries
- CBaseControlVideo::GetVideoSize
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |