#include "ILTDVDBurner2.h"
C Syntax HRESULT ILTDVDBurner_Erase(pDVDBurner)
C++ Syntax HRESULT Erase()
Erases the data from the disc, if possible.
Pointer to an ILTDVDBurner interface.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes. |
The media in the drive should be a rewriteable 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
Win32, x64
For a C example, refer to ILTDVDBurner::Erase Example for C.
For a C++ example, refer to ILTDVDBurner::Erase Example for C++.