IltmmConvert::get_CurrentSourceProgram

Summary

Gets the index of the current program.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmConvert_get_CurrentSourceProgram(pConvert, pVal)
C++ HRESULT get_CurrentSourceProgram(pVal)

Parameters

IltmmConvert *pConvert

Pointer to an IltmmConvert interface.

long *pVal

Pointer to a variable that will be updated with the index of the current program. The value stored in this variable will be between 0 and SourceProgramCount - 1, where SourceProgramCount is the total number of programs.

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

Get the number of programs by calling IltmmConvert::get_SourceProgramCount. Change the current program by calling IltmmConvert::put_CurrentSourceProgram.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.