IWMSStreamHeaderList.GetHeader (C#)

The GetHeader method retrieves a specific stream header from the list.

void IWMSStreamHeaderList.GetHeader(
  uint dwHeaderNum,
  ref IWMSStreamHeader ppHeader
);

Arguments

uint that contains the index of the header to retrieve.

Reference to an IWMSStreamHeaderIWMSStreamHeader Object (C#) that contains the header.

Return Value

This method does not return a value.

If this method fails, it throws an exception.

Number

Description

0x80070057

ppHeader is null or dwHeaderNum is not a valid index location.

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#)