LEADTOOLS Multimedia API Help > LEADTOOLS Multimedia Features > Multimedia Function References > IltmmRTSPServer Interface > IltmmRTSPServer::get_SourceCount |
#include "ltmm.h"
C Syntax |
HRESULT IltmmRTSPServer_get_SourceCount(This, pCount) |
C++ Syntax |
HRESULT get_SourceFolder(pCount) |
IltmmFilterEnum *This; |
/* pointer to the interface instance */ |
long *pCount; |
/* pointer to a variable */ |
Retrieves the number of folders in the internal source folder list.
Parameter |
Description |
This |
Pointer to the IltmmRTSPServer Interface. |
pCount |
Pointer to a variable to be updated with the folder count. |
Returns
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
The RTSP Server keeps an internal list of folders which store the source files for the server.
This function can be used to get the number of source folders that have been added so far to the RTSP Server using IltmmRTSPServer::put_SourceFolder.
Required DLLs and Libraries
LTMM For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64
See Also
Elements: |
IltmmRTSPServer interface, IltmmRTSPServer::put_SourceFolder |
Topics: |
Example
For a C++ example, refer to IltmmRTSPServer Example for C++.