Skip to content

Latest commit

 

History

History
121 lines (95 loc) · 3.09 KB

nf-icodecapi-icodecapi-getparametervalues.md

File metadata and controls

121 lines (95 loc) · 3.09 KB
UID title ms.date targetos description helpviewer_keywords tech.root req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:icodecapi.ICodecAPI.GetParameterValues
ICodecAPI::GetParameterValues
09/22/2020
Windows
The GetParameterValues method gets the list of possible values for a codec property. (ICodecAPI::GetParameterValues)
GetParameterValues
GetParameterValues method [DirectShow]
GetParameterValues method [DirectShow]
ICodecAPI interface
ICodecAPI interface [DirectShow]
GetParameterValues method
ICodecAPI.GetParameterValues
ICodecAPI::GetParameterValues
ICodecAPIGetParameterValues
dshow.icodecapi_getparametervalues
icodecapi/ICodecAPI::GetParameterValues
mf
function
icodecapi.h
Windows 10 Build 20348
Windows 10 Build 20348
apiref
COM
icodecapi.h
ICodecAPI::GetParameterValues
ICodecAPI::GetParameterValues
icodecapi/ICodecAPI::GetParameterValues
c++

-description

The GetParameterValues method gets the list of possible values for a codec property.

This method applies only to properties that support a list of possible values, as opposed to a linear range.

-parameters

-param Api [in]

Pointer to a GUID that specifies the property to query. For a list of standard codec properties, see Codec API Properties.

-param Values [out]

Receives a pointer to an array of VARIANT types. The array contains the list of values that the encoder supports for this property. The caller must free each VARIANT by calling VariantClear. The caller must also free the array by calling CoTaskMemFree.

-param ValuesCount [out]

Receives the number of elements in the Values array.

-returns

This method can return one of these values.

Return code Description
S_OK
The method succeeded.
E_INVALIDARG
Invalid argument.
VFW_E_CODECAPI_LINEAR_RANGE
The property supports a range of values, not a list.

-remarks

If the property supports a range of values, instead of a list, the method returns VFW_E_CODECAPI_LINEAR_RANGE. In that case, call ICodecAPI::GetParameterRange to get the range of values.

-see-also

Codec API Reference

Encoder API

ICodecAPI