IBDA_Encoder::EnumVideoCapability method (bdaiface.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
Gets one of the video formats supported by the device.
Syntax
HRESULT EnumVideoCapability(
[in] DWORD FmtIndex,
[out] DWORD *MethodID,
[out] DWORD *AlgorithmType,
[out] DWORD *VerticalSize,
[out] DWORD *HorizontalSize,
[out] DWORD *AspectRatio,
[out] DWORD *FrameRateCode,
[out] DWORD *ProgressiveSequence
);
Parameters
[in] FmtIndex
The zero-based index of the video format to retrieve. To get the number of video formats, call IBDA_Encoder::QueryCapabilities.
[out] MethodID
Receives a value that uniquely identifies this video method.
[out] AlgorithmType
Receives the type of encoding algorithm. The following values are defined.
[out] VerticalSize
Receives the vertical_size_value field.
[out] HorizontalSize
Receives the horizontal_size_value field.
[out] AspectRatio
Receives the aspect_ratio_information field.
[out] FrameRateCode
Receives the frame_rate_code field.
[out] ProgressiveSequence
Receives the progressive_sequence field.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The VerticalSize, HorizontalSize, AspectRatio, FrameRateCode, and ProgressiveSequence parameters are interpreted according to the ANSI/SCTE 43 2005 standard.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�7 [desktop apps only] |
Minimum supported server | Windows Server�2008�R2 [desktop apps only] |
Target Platform | Windows |
Header | bdaiface.h |