IDiscFormat2Erase 介面 (imapi2.h)

使用此介面可從光碟清除數據。

若要建立此介面的實例,請呼叫 CoCreateInstance函式 。 Use__uuidof (类别标识符的 MsftDiscFormat2Erase) ,以及介面識別碼的 __uuidof (IDiscFormat2Erase) 。

繼承

IDiscFormat2Erase 介面繼承自 IDiscFormat2IDiscFormat2Erase 也有下列類型的成員:

方法

IDiscFormat2Erase 介面具有這些方法。

 
IDiscFormat2Erase::EraseMedia

清除使用中光碟錄製器中的媒體。
IDiscFormat2Erase::get_ClientName

擷取用戶端的易記名稱。 (IDiscFormat2Erase.get_ClientName)
IDiscFormat2Erase::get_CurrentPhysicalMediaType

擷取光碟裝置中的媒體類型。 (IDiscFormat2Erase.get_CurrentPhysicalMediaType)
IDiscFormat2Erase::get_FullErase

決定光碟清除的品質。 (取得)
IDiscFormat2Erase::get_Recorder

擷取要用於清除作業的錄製裝置。
IDiscFormat2Erase::p ut_ClientName

設定用戶端的易記名稱。 (IDiscFormat2Erase.put_ClientName)
IDiscFormat2Erase::p ut_FullErase

決定光碟清除的品質。 (Put)
IDiscFormat2Erase::p ut_Recorder

設定要用於清除作業的錄製裝置。

備註

若要在腳本中建立 MsftDiscFormat2Erase 物件,請使用 IMAPI2。呼叫 CreateObject 時,MsftDiscFormat2Erase 作為程式標識符。

規格需求

需求
最低支援的用戶端 Windows Vista、Windows XP SP2 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限桌面應用程式]
目標平台 Windows
標頭 imapi2.h

另請參閱

IDiscFormat2