IWMSStreamHeader::SetIntegerAttribute

The SetIntegerAttribute method specifies the value of an integer attribute.

HRESULT SetIntegerAttribute(
  DWORD  dwAttributeId,
  DWORD  dwAttribute
);

Arguments

dwAttributeId

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

dwAttribute

[in] DWORD 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_INVALIDARG

0x80070057

dwAttributeId is not a valid index location.

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