IDiscFormat2Erase interface
Applies to: desktop apps only
Use this interface to erase data from a disc.
To create an instance of this interface, call the CoCreateInstance function. Use__uuidof(MsftDiscFormat2Erase) for the class identifier and __uuidof(IDiscFormat2Erase) for the interface identifier.
Members
The IDiscFormat2Erase interface inherits from IDiscFormat2. IDiscFormat2Erase also has these types of members:
Methods
The IDiscFormat2Erase interface has these methods.
| Method | Description |
|---|---|
| EraseMedia |
Erases the media in the active disc recorder. |
| get_ClientName |
Retrieves the friendly name of the client. |
| get_CurrentPhysicalMediaType |
Retrieves the type of media in the disc device. |
| get_FullErase |
Determines the quality of the disc erasure. |
| get_Recorder |
Retrieves the recording device to use in the erase operation. |
| put_ClientName |
Sets the friendly name of the client. |
| put_FullErase |
Determines the quality of the disc erasure. |
| put_Recorder |
Sets the recording device to use in the erase operation. |
Remarks
To create the MsftDiscFormat2Erase object in a script, use IMAPI2.MsftDiscFormat2Erase as the program identifier when calling CreateObject.
Requirements
|
Minimum supported client | Windows Vista, Windows XP with SP2 |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
IDL |
|
Send comments about this topic to Microsoft
Build date: 2/3/2012