LEADTOOLS Multimedia (Leadtools.MediaWriter assembly)
LEAD Technologies, Inc

EraseDisc Method






Erases the data from the currently loaded rewritable disc, if possible.
Syntax
public void EraseDisc()
'Declaration
 
Public Sub EraseDisc() 
'Usage
 
Dim instance As MediaWriterDrive
 
instance.EraseDisc()
public void EraseDisc()
 function Leadtools.MediaWriter.MediaWriterDrive.EraseDisc()
public:
void EraseDisc(); 
Remarks
The media in the drive should be rewritable to allow this operation. To retrieve the type of the media in the drive, check the MediaWriterDrive.CurrentDiscType property. If an error occurs a Win32Exception will be thrown. Please Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MediaWriterDrive Class
MediaWriterDrive Members
State property

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.MediaWriter requires a Document, Medical or Multimedia toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features