Windows Media Format SDK banner art
PreviousNext

IWMProfile::RemoveStreamByNumber

The RemoveStreamByNumber method removes a stream from the profile, if the stream number is specified.

Syntax

HRESULT RemoveStreamByNumber(
  WORD  wStreamNum
);

Parameters

  wStreamNum

[in]  Word containing the stream number.

Return Values

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

Return code Meaning
E_FAIL The method failed for an unspecified reason.

Remarks

The RemoveStreamByNumber() method will also remove this stream from any Mutual Exclusion objects the stream belongs to.

Stream numbers may only be in the range of 1-64.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.