IWMSStreamHeaderList::GetNthExtendedAttribute

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

HRESULT GetNthExtendedAttribute(
  DWORD  dwIndex,
  DWORD*  pValueName,
  VARIANT*  pVariantValue
);

Arguments

dwAttributeId

[in] DWORD containing the index of the attribute to retrieve.

pValueName

[out] Pointer to a DWORD identifying the attribute.

pVariantValue

[out] Pointer to a VARIANT containing the value of the attribute.

Return Value

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

Return code

Number

Description

E_UNEXPECTED

0x8000FFFF

pdwValueName or pVariantValue is null.

Requirements

Header: streamdescription.h.

Library: WMSServerTypeLib.dll.

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

See Also

Concepts

IWMSStreamHeaderList Interface