Share via


IAMMediaContent2::get_MediaParameterName (Compact 2013)

3/26/2014

This method retrieves the name of a custom parameter in an ASX file.

Syntax

HRESULT get_MediaParameterName(
  long  EntryNum,
  long  index,
  BSTR  *pbstrName
);

Parameters

  • EntryNum
    [in] Specifies the location of the parameter in the ASX file.

    Zero specifies that the parameter is a direct child of the ASX node.

    One or greater specifies the one-based index of the ENTRY tag containing the parameter.

  • index
    [in] Specifies the index of the parameter to retrieve, indexed from 1.
  • pbstrName
    [out] Pointer to a variable that receives the parameter name.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Remarks

The caller must release the BSTR returned in pbstrName, by calling SysFreeString.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMMediaContent2