IWMStreamConfig::SetStreamNumber method

The SetStreamNumber method specifies the stream number.

Syntax

HRESULT SetStreamNumber(
  WORD wStreamNum
);

Parameters

wStreamNum

WORD containing the stream number. Stream numbers must be in the range of 1 through 63.

Return value

This method always returns S_OK.

Remarks

The new value will not take effect in the profile until you call IWMProfile::ReconfigStream.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only],Windows Media Format 7 SDK, or later versions of the SDK
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wmsdkidl.h (include Wmsdk.h)
Library Wmvcore.lib; WMStubDRM.lib (if you use DRM)

See also

IWMStreamConfig Interface

IWMStreamConfig::GetStreamNumber