ILTDvdWriter::put_Overwrite

#include "ILTDvdWriter2.h"

C Syntax

HRESULT ILTDvdWriter_put_Overwrite(pDVDWriter, newVal)

C++ Syntax

HRESULT put_Overwrite(newVal)

ILTDvdWriter *pDVDWriter;

pointer to an interface

VARIANT_BOOL newVal;

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.

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

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

LTDVDWRT
DSKernel

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:

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

Topics:

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

Example

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.7.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.