IWMSTransportProperties.CreateStreamProperties (C#)

banner art

Previous Next

IWMSTransportProperties.CreateStreamProperties (C#)

The CreateStreamProperties method creates properties of a specific stream in a multimedia streaming session.

  • **Note   **This method is available only on Windows Server 2003, Enterprise Edition with Service Pack 1; Windows Server 2003, Datacenter Edition with Service Pack 1; and Windows Server 2008.

Syntax

  void IWMSTransportProperties
  .CreateStreamProperties(
  uint  dwStreamId,
  uint  dwAlternateIndex,
  out IWMSContext  ppProps,
  IWMSContext  pRelativeContext
);

Parameters

dwStreamId

uint that contains the stream ID of the stream. This value is obtained from the ASF headers.

dwAlternateIndex

uint that contains the unique alternate index of the stream.

ppProps

Reference to an IWMSContext object that contains the stream properties.

pRelativeContext

IWMSContext object that contains the user context.

Return Values

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 with Service Pack 1; Windows Server 2003, Datacenter Edition with Service Pack 1; Windows Server 2008.

See Also

Previous Next