ILTDVDBurner::Erase

Summary

Erases the data from the disc, if possible.

Syntax

#include "ILTDVDBurner2.h"
Platform Syntax
C HRESULT ILTDVDBurner_Erase(pDVDBurner)
C++ HRESULT Erase()

Parameters

ILTDVDBurner *pDVDBurner

Pointer to an ILTDVDBurner interface.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes.

Comments

The media in the drive should be a re-writable type that allows this operation.

To retrieve the type of the media in the drive, call the ILTDVDBurner::get_DiscType function.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For a C example, refer to ILTDVDBurner::Erase Example for C.

For a C++ example, refer to ILTDVDBurner::Erase Example for C++.

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

LEADTOOLS Media Writer C API Help

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