Windows Media Format SDK banner art
PreviousNext

IWMStreamConfig::GetStreamNumber

The GetStreamNumber method retrieves the stream number.

Syntax

HRESULT GetStreamNumber(
  WORD*  pwStreamNum
);

Parameters

  pwStreamNum

[out]  Pointer to a 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 Description
E_POINTER The pwStreamNum parameter is NULL.

Remarks

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

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.