IWMSTransportProperties::SetStreamProperties

The SetStreamProperties method specifies properties of a stream.

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.

HRESULT SetStreamProperties(
  IWMSContext*  pProps,
  DWORD  dwStreamId,
  DWORD  dwAlternateIndex
);

Arguments

pProps

[in] Pointer to an IWMSContext interface containing the properties of the stream.

dwStreamId

[in] DWORD containing the stream ID of the stream.

dwAlternateIndex

[in] DWORD containing the unique alternate index of the stream.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Requirements

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

Concepts

IWMSTransportProperties Interface