IltmmWMStreamConfig::put_StreamName

#include "ltmm.h"

C Syntax

HRESULT IltmmWMStreamConfig__put_StreamName(pStreamConfig, newVal)

C++ Syntax

HRESULT put_StreamName(newVal)

 

IltmmWMStreamConfig *pStreamConfig;

/* pointer to an interface */

BSTR newVal;

/* string */

Sets the stream name.

Parameter

Description

pStreamConfig

Pointer to an IltmmWMStreamConfig interface.

newVal

A string containing the new stream name to set.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

You must call IltmmWMProfile::ReconfigStream to use the new stream name.

For more information, refer to the Microsoft documentation for IWMStreamConfig::SetStreamName .

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Elements:

IltmmWMStreamConfig::get_StreamType, IltmmWMStreamConfig::get_StreamNumber, IltmmWMStreamConfig::put_StreamNumber, IltmmWMStreamConfig::get_StreamName, IltmmWMStreamConfig::get_Type

Topics:

Windows Media Support

 

Multimedia Function Group

Example

For a C example, refer to IltmmWMProfile::AddStream Example for C.

For a C++ example, refer to IltmmWMProfile::AddStream Example for C++.