ILMDVRSink::put_FolderCount

#include "ILMDVRSink.h"

C Syntax

HRESULT ILMDVRSink_put_FolderCount(pILMDVRSink, nFolders)

C++ Syntax

HRESULT put_FolderCount(nFolders)

 

ILMDVRSink *pILMDVRSink;

/* pointer to an interface */

long nFolders;

/* count of buffer folder folders */

Sets the buffer folder folder count.

Parameter

Description

pILMDVRSink

Pointer to an ILMDVRSink interface.

nFolders

The count of folders that need to be set.

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 number of DVR buffer folder locations on the system.

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.

Platforms

Win32, x64

See Also

Elements:

ILMDVRSink::GetAvailabilityInfo, ILMDVRSink::GetStatus, ILMDVRSink::get_FolderCount, ILMDVRSink::put_FolderName, ILMDVRSink::get_FolderName, ILMDVRSink::SetBufferSize, ILMDVRSink::StartChangingAttributes

Topics:

Multimedia Function Group, DVR Function Groups, Introduction to the LEADTOOLS DVR Module, DVR Module FAQs, LEAD DVR Sink Filter, Accessing the DVR Sink Object,How to Use the DVR Sink Object to Control Capture Buffer Settings (C++), How to Set Capture Buffers on More Than One Physical Disk, How to Copy Buffered DVR Data to a New File

Example

For a C example, refer to ILMDVRSink::put_FolderCount Example for C

For a C++ example, refer to ILMDVRSink::put_FolderCount Example for C++