IltmmPlay::get_ProgramCount

Summary

Gets the number of programs in the current file.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmPlay_get_ProgramCount(pPlay, pVal)
C++ HRESULT get_ProgramCount(pVal)

Gets the number of programs in the current file.

Parameters

IltmmPlay *pPlay

Pointer to an IltmmPlay interface.

long *pVal

Pointer to a variable to be updated with the number of prgrams. In most cases, this value will be filled with 1.

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

See the Programs and Streams topic for more information on programs and streams. Change the current program by calling IltmmPlay::put_CurrentProgram.

Get the number of streams in the current program by calling IltmmPlay::get_StreamCount.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C++ IltmmPlay::get_ProgramCount
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.