IltmmConvert::put_TargetFormat

#include "ltmm.h"

C Syntax

HRESULT IltmmConvert_put_TargetFormat(pConvert, newVal)

C++ Syntax

HRESULT put_TargetFormat(newVal)

 

IltmmConvert *pConvert;

/* pointer to an interface */

long newVal;

/* format */

Assigns the target file format.

Parameter

Description

pConvert

Pointer to an IltmmConvert interface.

newVal

Value that is one of the ltmmConvert_TargetFormat Constants.

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.

Platforms

Win32, x64

See Also

Elements:

IltmmConvert::get_TargetFormat, IltmmConvert::put_WMCertificate

Topics:

Multimedia Function Group

 

ltmmConvert_TargetFormat Constants

 

How to Use the DVD Writer to Write a DVD Image

Example

For a C example, refer to Recompressing an AVI File for C.

For a C++ example, refer to Recompressing an AVI File for C++.