#include "ILTDvdWriter2.h"

C Syntax

HRESULT ILTDvdWriter_put_Overwrite(pDVDWriter, newVal)

C++ Syntax

HRESULT put_Overwrite(newVal)

ILTDvdWriter *pDVDWriter;

pointer to an interface


pointer to a variable

Sets the image overwrite status of the DVD writer.

Parameter Description
pDVDWriter Pointer to an ILTDvdWriter interface.
newVal Value that indicates whether the existing DVD image will be overwritten. Possible values are:
  Value Meaning
  VARIANT_TRUE The DVD writer will delete (overwrite) the existing DVD image at the next write operation.
  VARIANT_FALSE The DVD writer will append new titles to the existing DVD image at the next write operation.



The function was successful.

<> S_OK

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


To add a new title to the DVD image being created, overwriting must be disabled before writing the image. To disable overwriting, call ILTDvdWriter::put_Overwrite with the newVal parameter set to VARIANT_FALSE.

To get the current overwrite status, call ILTDvdWriter::get_Overwrite.

Required DLLs and Libraries


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


Win32, x64

See Also


ILTDvdWriter::getTempPath, ILTDvdWriter::put_TitleBreak, ILTDvdWriter::ClearTitleSet, ILTDvdWriter::get_Overwrite, ILTDvdWriter::put_TempPath, ILTDvdWriter::getTitleBreak


The LEAD DVD Writer and Menus Titles and Chapters


How to Use the DVD Writer to Write a DVD Image


Streaming Function Groups


DVD Function Groups


Multimedia Function Group


For an example, refer to Creating DVD Images for C.

For an example, refer to Creating DVD Images for C++.

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

LEADTOOLS Multimedia C API Help