IltmmSupportManager::IsSupportLocked

#include "ltmm.h"

C Syntax

HRESULT IltmmSupportManager_IsSupportLocked(pSupportManager, Support, pVal)

C++ Syntax

HRESULT IsSupportLocked(Support, pVal)

 

IltmmSupportManager * pSupportManager;

/* pointer to an interface */

Long Support;

/* support type */

VARIANT_BOOL pVal;

/* pointer to a variable */

Indicates whether support for converting the DVD format to other formats is locked.

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.

pVal

Pointer to a variable to be updated with a value that indicates whether the support for converting the DVD format to other formats is locked. Possible values are:

 

Value

Meaning

 

VARIANT_TRUE

The feature is locked. This is the default value.

 

VARIANT_FALSE

The feature is not locked.

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 the IltmmSupportManager::UnlockSupport function to unlock support for DVD conversion. Use the IltmmSupportManager::IsSupportLocked function to determine whether support for DVD conversion is unlocked. During conversion, the Convert object checks whether the ltmmSupportManager object is loaded and whether the DVD conversion capability is unlocked.

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.

Platforms

Win32, x64

See Also

Elements:

IltmmSupportManager::UnlockSupport

Topics:

Multimedia Function Group

Example

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

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