检索光学介质上不同类型的文件系统的列表。
语法
HRESULT IdentifyFileSystemsOnDisc(
  [in, optional] IDiscRecorder2 *discRecorder,
  [out]          FsiFileSystems *fileSystems
);
参数
[in, optional] discRecorder
标识包含媒体的录制设备的 IDiscRecorder2 接口。 如果此参数为 NULL,将使用 IMultisession 中指定的 discRecorder。
[out] fileSystems
光盘上的一个或多个文件系统。有关可能的值,请参阅 FsiFileSystems 枚举类型。
返回值
成功后返回S_OK,但实现后可能会返回其他成功代码。 以下错误代码通常在操作失败时返回,但不表示唯一可能的错误值:
| 返回代码 | 说明 | 
|---|---|
  | 
指针无效。
 值:0x80004003  | 
注解
客户端应用程序可以使用此方法返回的值调用 IFileSystemImage::GetDefaultFileSystemForImport ,以确定要导入的文件系统的类型。
要求
| 要求 | 值 | 
|---|---|
| 最低受支持的客户端 | Windows Vista、Windows XP SP2 [仅限桌面应用] | 
| 最低受支持的服务器 | Windows Server 2003 [仅限桌面应用] | 
| 目标平台 | Windows | 
| 标头 | imapi2fs.h |