IDiscRecorder2Ex 接口 (imapi2.h)

此接口表示物理设备。 使用此接口可检索计算机上安装的 CD 和 DVD 设备的相关信息,并执行关闭托盘或弹出介质等操作。 此接口检索无法通过 IDiscRecorder2 接口获取的信息,并允许更轻松地访问 IDiscRecorder2 中的某些相同属性值。

若要获取此接口的实例,请创建 IDiscRecorder2 接口的实例,然后调用 IDiscRecorder2::QueryInterface 方法来检索 IDiscRecorder2Ex 接口。

请注意,无法从脚本访问此功能。

继承

IDiscRecorder2Ex 接口继承自 IDispatch 接口。 IDiscRecorder2Ex 也有以下类型的成员:

方法

IDiscRecorder2Ex 接口具有这些方法。

 
IDiscRecorder2Ex::GetAdapterDescriptor

检索设备的适配器描述符。
IDiscRecorder2Ex::GetByteAlignmentMask

检索设备的字节对齐掩码。
IDiscRecorder2Ex::GetDeviceDescriptor

检索设备的设备描述符。
IDiscRecorder2Ex::GetDiscInformation

从介质中检索光盘信息。
IDiscRecorder2Ex::GetFeaturePage

从设备检索指定的功能页。
IDiscRecorder2Ex::GetMaximumNonPageAlignedTransferSize

检索设备的最大非页对齐传输大小。
IDiscRecorder2Ex::GetMaximumPageAlignedTransferSize

检索设备的最大页对齐传输大小。
IDiscRecorder2Ex::GetModePage

从设备检索指定的模式页。
IDiscRecorder2Ex::GetSupportedFeaturePages

检索设备支持的功能页或当前功能页的列表。
IDiscRecorder2Ex::GetSupportedModePages

检索设备的支持模式页。
IDiscRecorder2Ex::GetSupportedProfiles

检索支持的配置文件或设备的当前配置文件。
IDiscRecorder2Ex::GetTrackInformation

从媒体检索曲目信息。
IDiscRecorder2Ex::ReadDvdStructure

从媒体中读取 DVD 结构。
IDiscRecorder2Ex::SendCommandGetDataFromDevice

将 MMC 命令发送到记录设备,从设备请求数据。
IDiscRecorder2Ex::SendCommandNoData

将 MMC 命令发送到录制设备。 当未向设备发送或从设备接收任何数据缓冲区时,请使用此函数。
IDiscRecorder2Ex::SendCommandSendDataToDevice

将 MMC 命令及其关联的数据缓冲区发送到记录设备。
IDiscRecorder2Ex::SendDvdStructure

将 DVD 结构发送到媒体。
IDiscRecorder2Ex::SetModePage

设置设备的模式页数据。

注解

若要将数据写入媒体,需要使用 IWriteEngine2::p ut_Recorder 方法将此记录器附加到 IWriteEngine2 数据编写器

要求

要求
最低受支持的客户端 Windows Vista、Windows XP 和 SP2 [仅限桌面应用]
最低受支持的服务器 Windows Server 2003 [仅限桌面应用]
目标平台 Windows
标头 imapi2.h

另请参阅

IDiscRecorder2