IDiscFormat2Erase interface (imapi2.h)

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.

Inheritance

The IDiscFormat2Erase interface inherits from IDiscFormat2. IDiscFormat2Erase also has these types of members:

Methods

The IDiscFormat2Erase interface has these methods.

 
IDiscFormat2Erase::EraseMedia

Erases the media in the active disc recorder.
IDiscFormat2Erase::get_ClientName

Retrieves the friendly name of the client. (IDiscFormat2Erase.get_ClientName)
IDiscFormat2Erase::get_CurrentPhysicalMediaType

Retrieves the type of media in the disc device. (IDiscFormat2Erase.get_CurrentPhysicalMediaType)
IDiscFormat2Erase::get_FullErase

Determines the quality of the disc erasure. (Get)
IDiscFormat2Erase::get_Recorder

Retrieves the recording device to use in the erase operation.
IDiscFormat2Erase::put_ClientName

Sets the friendly name of the client. (IDiscFormat2Erase.put_ClientName)
IDiscFormat2Erase::put_FullErase

Determines the quality of the disc erasure. (Put)
IDiscFormat2Erase::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

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imapi2.h

See also

IDiscFormat2