Windows Media Format SDK banner art
PreviousNext

IWMProfile::RemoveStream

The RemoveStream method removes a stream from the profile, if the stream index is specified.

Syntax

HRESULT RemoveStream(
  IWMStreamConfig*  pConfig
);

Parameters

  pConfig

[in]  Pointer to a IWMStreamConfig object.

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.
E_NO_STREAM The pConfig parameter is NULL or invalid.

Remarks

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

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.