IEncoderAPI::SetValue 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 SetValue method sets the current value of a parameter.
Syntax
HRESULT SetValue(
[in] const GUID *Api,
[out] VARIANT *Value
);
Parameters
[in] Api
Pointer to a GUID that specifies the parameter.
[out] Value
Pointer that specifies the value of Api. If Api was specified as ENCAPIPARAM_BITRATE_MODE, then Value must 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 |