Gets the index of the current program for the media file.
|C||HRESULT IltmmMediaInfo_get_ProgramCount(pMediaInfo, pVal)|
Pointer to an IltmmMediaInfo Interface.
Pointer to a variable that will be updated with the program count.
|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.|
The current source media file is the file for which the IltmmMediaInfo interface/object gets information. To set the current source media file, call IltmmMediaInfo::put_SourceFile.
For more information, refer to the Programs and Streams topic.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries