IAMAnalogVideoEncoder::get_TVFormat method (strmif.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
get_TVFormat
method retrieves the analog video standard that the encoder is currently set to (NTSC/M, PAL/B, SECAM/K1, and so on).
Syntax
HRESULT get_TVFormat(
[out] long *plAnalogVideoStandard
);
Parameters
[out] plAnalogVideoStandard
Specifies a pointer to a long integer to receive the encoder's current video standard.
Return value
When this method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.
Remarks
Possible values and their meaning are defined in the AnalogVideoStandard enumeration.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | strmif.h (include Dshow.h) |