IltmmWMStreamConfig::get_StreamNumber

Summary

Gets the stream number.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmWMStreamConfig_get_StreamNumber(pStreamConfig, pVal)
C++ HRESULT get_StreamNumber(pVal)

Parameters

IltmmWMStreamConfig *pStreamConfig

Pointer to an IltmmWMStreamConfig interface.

long *pVal

Pointer to a variable to be updated with the stream number.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

Stream numbers range from 1 to 63.

The stream number is different from the index. Stream indexes are zero-based, while each stream in the profile might have its own number, which is different from the index.

For more information, refer to the Microsoft documentation for IWMStreamConfig::GetStreamNumber.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C IltmmWMProfile::GetStream
C++ IltmmWMProfile::GetStream
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.