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 or the HRESULT error codes in the DirectShow documentation.

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

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

ILTDVDBurner::get_TestWriteable, ILTDVDBurner::get_Eraseable

Topics:

Multimedia Function Group, How to use the DVD Burner to burn ISO  files and DVD images, Video Streaming Function Groups, DVD Function Groups

Example

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

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