IWMSStreamHeader.SetStreamType (Visual Basic .NET)

The SetStreamType method specifies the stream type.

IWMSStreamHeader.SetStreamType(  StreamType As Guid
)

Arguments

Guid containing the stream type. This must be one of the following values.

Stream format

GUID

Audio

0xD6E229E2,0x35DA,0x11D1,0x90,0x34,0x00,0xA0,0xC9,0x03,0x49,0xBE

Image

0xD6E229E4,0x35DA,0x11D1,0x90,0x34,0x00,0xA0,0xC9,0x03,0x49,0xBE

Script commands

0xD6E229E8,0x35DA,0x11D1,0x90,0x34,0x00,0xA0,0xC9,0x03,0x49,0xBE

Text

0xD6E229E6,0x35DA,0x11D1,0x90,0x34,0x00,0xA0,0xC9,0x03,0x49,0xBE

Unknown format

0x52769632, 0x38AA, 0x11D2, 0x9E, 0xFA, 0x0, 0x60, 0x97, 0xD2, 0xD7, 0xCF

Video

0xD6E229E3,0x35DA,0x11D1,0x90,0x34,0x00,0xA0,0xC9,0x03,0x49,0xBE

Return Value

This method does not return a value.

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

IWMSStreamHeader Object (Visual Basic .NET)