Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the file system to import by default.
Syntax
HRESULT GetDefaultFileSystemForImport(
[in] FsiFileSystems fileSystems,
[out] FsiFileSystems *importDefault
);
Parameters
[in] fileSystems
One or more file system values. For possible values, see the FsiFileSystems enumeration type.
[out] importDefault
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 code | Description |
---|---|
|
Pointer is not valid.
Value: 0x80004003 |
|
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
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 |