ILTDVDBurner::Erase
#include "ILTDVDBurner2.h"
C Syntax |
HRESULT LTDVDBurner_Erase(pDVDBurner) |
C++ Syntax |
HRESULT Erase() |
ILTDVDBurner *pDVDBurner; |
/* pointer to an interface */ |
Erases the data from the disc, if possible.
Parameter |
Description |
pDVDBurner |
Pointer to an ILTDVDBurner interface. |
Returns
S_OK |
The function was successful. |
<> S_OK |
An error occurred. Refer to the Error Codes. |
Comments
The media in the drive should be of a type rewrite-able to allow this operation.
To retrieve the type of the media in the drive, call the ILTDVDBurner::get_DiscType function.
Required DLLs and Libraries
LTDVDBrn DSKernel (Multimedia toolkit) or LTKRN (Imaging Pro, Document, or Medical toolkits) For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64
See Also
Functions: |
ILTDVDBurner::get_TestWriteable, ILTDVDBurner::get_Eraseable |
Topics: |
How to use the DVD Burner to burn ISO files and DVD images, Functions |
Example
For a C example, refer to ILTDVDBurner::Erase Example for C.
For a C++ example, refer to ILTDVDBurner::Erase Example for C++.