Partager via


CBaseControlVideo::GetVideoFormat (Compact 2013)

3/26/2014

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:

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlVideo Class