IWMSStreamHeader::SetExtendedAttribute

The SetExtendedAttribute method specifies the value of an extended attribute that is defined by a plug-in.

HRESULT SetExtendedAttribute(
  DWORD  dwValueName,
  VARIANT  VariantValue
);

Arguments

dwValueName

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

VariantValue

[in] VARIANT containing the new 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_OUTOFMEMORY

0x8007000E

There is insufficient memory to complete the function.

Requirements

Header: streamdescription.h.

Library: WMSServerTypeLib.dll.

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

See Also

Concepts

IWMSStreamHeader Interface