[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.]
The GetParameterRange method gets the range of values for a codec property.
This method applies only to properties whose values form a linear range.
SyntaxHRESULT GetParameterRange(
[in] const GUID *Api,
[out] VARIANT *ValueMin,
[out] VARIANT *ValueMax,
[out] VARIANT *SteppingDelta
);
Parameters
[in] Api
Pointer to a GUID that specifies the property to query. For a list of standard codec properties, see Codec API Properties.
[out] ValueMin
Pointer to a VARIANT that receives the minimum value of the property. The caller must free the VARIANT by calling VariantClear.
[out] ValueMax
Pointer to a VARIANT that receives the maximum value of the property. The caller must free the VARIANT by calling VariantClear.
[out] SteppingDelta
Pointer to a VARIANT that receives the stepping delta, which defines the valid increments from ValueMin to ValueMax. The caller must free the VARIANT by calling VariantClear.
If the VARIANT type is VT_EMPTY, any increment is valid.
Return valueThis method can return one of these values.
Return code DescriptionThe valid range for the property is [ValueMin... ValueMax], with increments of SteppingDelta. If a property supports a linear range of values, the property must use one of the following variant types:
If the property supports a list of values, instead of a range, the method returns
VFW_E_CODECAPI_ENUMERATED. In that case, call
ICodecAPI::GetParameterValuesto get the list of values.
Requirements Requirement Value Minimum supported client Windows XP with SP2 [desktop apps | UWP apps] Minimum supported server Windows Server 2003 R2 [desktop apps | UWP apps] Target Platform Windows Header strmif.h (include Dshow.h) Library Strmiids.lib See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4