CBaseControlVideo::GetVideoFormat (Windows CE 5.0)
Retrieves a video sample that represents the current video format.
virtual VIDEOINFOHEADER* GetVideoFormat( ) PURE;
Parameters
None.
Return Values
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
DirectShow applications and DirectShow filters have different include file and link library requirements.
For more information, see Setting Up the Build Environment.
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:
Send Feedback on this topic to the authors