ILMDVRSink::ResetToDefaultsEx

#include "ILMDVRSink.h"

C Syntax

HRESULT ILMDVRSink__ResetToDefaultsEx(pILMDVRSink, ApiLevel)

C++ Syntax

HRESULT ResetToDefaultsEx(ApiLevel)

 

ILMDVRSink *pILMDVRSink ;

/* pointer to an interface */

LMDVRSink_APILEVEL ApiLevel;

/* API Level */

Resets the DVRSink interface object to the default settings for the specified API level.

Parameter

Description

pILMDVRSink

Pointer to an ILMDVRSink interface.

ApiLevel

The desired API Level for reset.
Value can be:

LMDVRSink_APILEVEL_1

 

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

Returns S_OK if successful, S_FALSE otherwise.
Note: Pass LMDVRSink_APILEVEL_1 for ApiLevel. We recommend you call this method before calling any other members of this interface.

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.

See Also

Elements:

ILMDVRSink::GetAvailabilityInfo, ILMDVRSink::GetBufferTotalSize, ILMDVRSink::GetStatus, ILMDVRSink::GetBufferInfo

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__ResetToDefaultsEx Example for C

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