IWMSTransportProperties::CreateStreamProperties

banner art

Previous Next

IWMSTransportProperties::CreateStreamProperties

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

  HRESULT CreateStreamProperties(
  DWORD  dwStreamId,
  DWORD  dwAlternateIndex,
  IWMSContext**  ppProps,
  IWMSContext*  pRelativeContext
);

Parameters

dwStreamId

[in]  DWORD containing the stream ID of the stream. This value is obtained from the ASF headers.

dwAlternateIndex

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

ppProps

[out]  Pointer to a pointer to an IWMSContext interface containing the stream properties.

pRelativeContext

[in]  Pointer to an IWMSContext interface containing the user context.

Return Values

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

Previous Next