IWMSStreamHeaderList.GetNthExtendedAttribute (C#)

The GetNthExtendedAttribute method retrieves the name and value of an extended attribute that is defined by a plug-in.

void IWMSStreamHeaderList.GetNthExtendedAttribute(
  uint dwIndex,
  ref uint pdwValueName,
  ref object pVariantValue
);

Arguments

uint that contains the index of the attribute to retrieve.

Reference to a uint that identifies the attribute.

Reference to an object that contains the value of the attribute.

Return Value

This method does not return a value.

If this method fails, it throws an exception.

Number

Description

0x8000FFFF

pdwValueName or pVariantValue is null.

Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.

See Also

Concepts

IWMSStreamHeaderList Object (C#)