IEncoderAPI::GetValue method (strmif.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.]
[IEncoderAPI is no longer available for use. Instead, use ICodecAPI.]
The GetValue method retrieves the current value of a specified parameter.
Syntax
HRESULT GetValue(
[in] const GUID *Api,
[out] VARIANT *Value
);
Parameters
[in] Api
Pointer to a GUID that specifies the parameter.
[out] Value
Receives the value for the parameter specified in Api. If Api was specified as ENCAPIPARAM_BITRATE_MODE, then Value will be one of the VIDEOENCODER_BITRATE_MODE constants.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | strmif.h (include Dshow.h) |
Library | Strmiids.lib |