ILTDvdWriter::put_Overwrite

Summary

Sets the image overwrite status of the DVD writer.

Syntax

#include "ILTDvdWriter2.h"

Language Syntax
C HRESULT ILTDvdWriter_put_Overwrite(pDVDWriter, newVal)
C++ HRESULT put_Overwrite(newVal)

Parameters

ILTDvdWriter *pDVDWriter

Pointer to an ILTDvdWriter interface.

VARIANT_BOOL 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

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C Creating DVD Images
C++ Creating DVD Images
Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.