IFileSystemImage::IdentifyFileSystemsOnDisc method (imapi2fs.h)

Retrieves a list of the different types of file systems on the optical media.

Syntax

HRESULT IdentifyFileSystemsOnDisc(
  [in, optional] IDiscRecorder2 *discRecorder,
  [out]          FsiFileSystems *fileSystems
);

Parameters

[in, optional] discRecorder

An IDiscRecorder2 interface that identifies the recording device that contains the media. If this parameter is NULL, the discRecorder specified in IMultisession will be used.

[out] fileSystems

One or more files systems on the disc. For possible values, see FsiFileSystems enumeration type.

Return value

S_OK is returned on success, but other success codes may be returned as a result of implementation. The following error codes are commonly returned on operation failure, but do not represent the only possible error values:

Return code Description
E_POINTER
Pointer is not valid.

Value: 0x80004003

Remarks

Client applications can call IFileSystemImage::GetDefaultFileSystemForImport with the value returned by this method to determine the type of file system to import.

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 imapi2fs.h

See also

FsiFileSystems

IFileSystemImage

IMultisession