Compartir a través de


IAMMediaContentEx::MediaParameter (Compact 2013)

3/26/2014

This method returns a value for a given parameter name and entry number.

Syntax

HRESULT MediaParameter(
  long EntryNum,
  BSTR bstrName,
  BSTR* pbstrValue
);

Parameters

  • EntryNum
    [in] Entry number in an ASX file containing the parameter being sought.
  • bstrName
    [in] Name of the parameter in being sought in EntryNum. If you only have the index number of a parameter, you can use the IAMMediaContentEx::MediaParameterName method to retrieve the parameter's name.
  • pbstrValue
    [out] Value of the parameter identified by EntryNum and bstrName.

Return Value

Returns an HRESULT value.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMMediaContentEx Interface
IAMMediaContentEx::MediaParameterName