#include "ILMDVRSink.h"
C Syntax |
HRESULT ILMDVRSink_put_BaseName(pILMDVRSink, pszFileName) |
C++ Syntax |
HRESULT put_BaseName(pszFileName) |
ILMDVRSink *pILMDVRSink; |
/* pointer to an interface */ |
BSTR pszFileName; |
/* buffer base file name */ |
Sets the base name for the buffer file.
Parameter |
Description |
pILMDVRSink |
Pointer to an ILMDVRSink interface. |
pszFileName |
The base file name for the buffer to be updated in the current ILMDVRSink object. |
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 current base name for the DVR buffer file. For each buffer folder the following group of buffer files gets created:
.LBL (Lead Buffer List) file.
Several .LRC (Lead Recording Chunk) files.
The .LBL file specifies which .LRC files are used as underlying storage, as well as the playback range mapping information for each .LRC file.
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_BaseName Example for C
For a C++ example, refer to ILMDVRSink::put_BaseName Example for C++