IltmfTargetFormat::LeadTargetFormat

#include "ltmf.h"

C Syntax

HRESULT IltmfTargetFormat_LeadTargetFormat(Format, pVal)

C++ Syntax

HRESULT LeadTargetFormat(pVal)

IltmfTargetFormat *Format;

pointer to an interface

VARIANT_BOOL *pVal;

pointer to a variable

Retrieves a value that indicates if this is a LEAD target format .

Parameter

Description

pTargetFormat

Pointer to an IltmfTargetFormat interface.

pVal

Pointer to a variable to be updated with a value that indicates if this is a LEAD target format.

 

Value Meaning:

VARIANT_TRUE

This is a LEAD target format.

VARIANT_FALSE

This is not a LEAD target format.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the MediaFoundation documentation.

Comments

Lead target formats means that the media sink used with this target format is a custom object created by LEAD, so you can use IltmfConvert::get_AudioCompressors and IltmfConvert::get_VideoCompressors to configure compressors.

Required DLLs and Libraries

LTMF

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:

IltmfConvert::get_AudioCompressors IltmfConvert::get_VideoCompressors

Topics:

Media Foundation Function Group

Example.

For an example, refer to Enumerating MKV Format Compatible Compressors example for C++.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Foundation C API Help