| LEADTOOLS Multimedia API Help > Add-on Modules > LEADTOOLS MPEG2 Transport Module > LEADTOOLS DVR Components > DVR Component Function References > ILMDVRSink Interface > ILMDVRSink::put_FolderName |
#include "ILMDVRSink.h"
|
C Syntax |
HRESULT ILMDVRSink_put_FolderName(pILMDVRSink, nFolderIndex, pszFolderPath) |
|
C++ Syntax |
HRESULT put_FolderName(nFolderIndex, pszFolderPath) |
|
ILMDVRSink *pILMDVRSink; |
/* pointer to an interface */ |
|
long nFolderIndex; |
/* 0-based index to the buffer folder to be modified */ |
|
BSTR pszFolderPath; |
/* pointer to a fully qualified path for the buffer folder */ |
Sets the fully qualified folder path to the buffer folder.
|
Parameter |
Description |
|
pILMDVRSink |
Pointer to an ILMDVRSink interface. |
|
nFolderIndex |
The 0-based index of the buffer folder |
|
pszFolderPath |
The folder path to be set for the buffer folder. |
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
Use this property to set the full pathname to a DVR buffer folder folder.
Note:
Call ILMDVRSink::StartChangingAttributes prior to setting this property. Afterwards, call ILMDVRSink::StopChangingAttributes to complete the setting changes.
Required DLLs and Libraries
|
LMDVRSink 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
Example
For a C example, refer to ILMDVRSink::put_FolderName Example for C
For a C++ example, refer to ILMDVRSink::put_FolderName Example for C++