LEADTOOLS Multimedia API Help > Add-on Modules > LEADTOOLS MPEG2 Transport Module > LEADTOOLS DVR Components > DVR Component Function References > ILMDVRSource Interface > ILMDVRSource::ResetToDefaultsEx |
#include "ILMDVRSource.h"
C Syntax |
HRESULT ILMDVRSource_ResetToDefaultsEx(pILMDVRSource, ApiLevel) |
C++ Syntax |
HRESULT ResetToDefaultsEx(ApiLevel) |
ILMDVRSource *pILMDVRSource; |
/* pointer to an interface */ |
LMDVRSource_APILEVEL ApiLevel; |
/* API Level */ |
Resets the DVRSource interface object to the default settings for the specified API level.
Parameter |
Description |
pILMDVRSource |
Pointer to an ILMDVRSource interface. |
ApiLevel |
The desired API Level to be reset.Value can be:
|
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 LMDVRSource_APILEVEL_1 for ApiLevel. We recommend you call this method before calling any other members of this interface.
Required DLLs and Libraries
ILMDVRSource 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 ILMDVRSource_::ResetToDefaultsEx Example For C
For a C++ example, refer to ILMDVRSource::ResetToDefaultsEx Example For C++