Erases the data from the disc, if possible.
#include "ILTDVDBurner2.h"
Platform | Syntax |
---|---|
C | HRESULT ILTDVDBurner_Erase(pDVDBurner) |
C++ | HRESULT Erase() |
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 re-writable type that allows this operation.
To retrieve the type of the media in the drive, call the ILTDVDBurner::get_DiscType function.
Win32, x64
For a C example, refer to ILTDVDBurner::Erase Example for C.
For a C++ example, refer to ILTDVDBurner::Erase Example for C++.