IltmmConvert::CloseLogFile

#include "ltmm.h"

C Syntax

HRESULT IltmmConvert_CloseLogFile(pConvert)

C++ Syntax

HRESULT CloseLogFile()

 

IltmmConvert *pConvert;

/* pointer to an interface */

Stops the logging of data about the conversion operations to a text file and closes the file.

Parameter

Description

pConvert

Pointer to an IltmmConvert interface.

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 IltmmConvert::OpenLogFile function to initialize a file to log data about conversion operations. Use the ltmmConvert::CloseLogFile function to stop logging data to the file and closes the file.

If the conversion process ends and this function have not been called, the file remains open.

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.

See Also

Elements:

IltmmConvert::OpenLogFile

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmConvert::get_EnableStillCapture

For a C++ example, refer to IltmmConvert::get_EnableStillCapture