Windows Media Format SDK banner art
PreviousNext

IWMStreamList::AddStream

The AddStream method adds a stream to the list.

Syntax

HRESULT AddStream(
  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_OUTOFMEMORY There is not enough available memory.

Remarks

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

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.