IFileSystemImage::GetDefaultFileSystemForImport method

Retrieves the file system to import by default.

Syntax


HRESULT GetDefaultFileSystemForImport(
  [in]  FsiFileSystems fileSystems,
  [out] FsiFileSystems *importDefault
);

Parameters

fileSystems [in]

One or more file system values. For possible values, see the FsiFileSystems enumeration type.

importDefault [out]

A single file system value that identifies the default file system. The value is one of the file systems specified in fileSystems

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 codeDescription
E_POINTER

Pointer is not valid.

Value: 0x80004003

IMAPI_E_INVALID_PARAM

The value specified for parameter %1!ls! is not valid.

Value: 0xC0AAB101

 

Remarks

Use this method to identify the default file system to use with IFileSystemImage::ImportFileSystem.

To identify the supported file systems, call the IFileSystemImage::get_FileSystemsSupported method.

Requirements

Minimum supported client

Windows Vista, Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

IDL

Imapi2fs.idl

See also

IFileSystemImage
FsiFileSystems
IFileSystemImage::get_FileSystemsSupported
IFileSystemImage::ImportFileSystem

 

 

Community Additions

ADD
Show: