IltmmSupportManager::UnlockSupport

#include "ltmm.h"

C Syntax

HRESULT IltmmSupportManager_UnlockSupport(pSupportManager, Support, Key)

C++ Syntax

HRESULT UnlockSupport(Support, Key)

 

IltmmSupportManager * pSupportManager;

/* pointer to an interface */

Long Support;

/* support type */

BSTR Key;

/* key to unlock */

Unlocks support for converting the DVD format to other formats.

Parameter

Description

pSupportManager

Pointer to the IltmmSupportManager interface.

Support

The unlock support type. Possible values are:

 

Value

Meaning

 

L_SUPPORT_CONVERTFROMDVD

Support for converting the DVD format to other formats.

Key

Character string that contains the key to unlock the feature.

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.

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Comments

During conversion the Convert object checks whether the ltmmSupportManager object is loaded and whether the DVD conversion capability is unlocked. Use the IltmmSupportManager::UnlockSupport function to unlock support for DVD conversion. Use the IltmmSupportManager::IsSupportLocked function to determine whether support for DVD conversion is unlocked.

The user must unlock support for a specific feature before using that feature. The Key must be obtained from LEAD. Contact oemsales@leadtools.com.

See Also

Elements:

IltmmSupportManager::IsSupportLocked

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmSupportManager::UnlockSupport

For a C++ example, refer to IltmmSupportManager::UnlockSupport