Windows Dev Center

Expand Minimize

IFileSystemImage::ChooseImageDefaults method

Sets the default file system types and the image size based on the current media.

Syntax


HRESULT ChooseImageDefaults(
  [in] IDiscRecorder2 *discRecorder
);

Parameters

discRecorder [in]

An IDiscRecorder2 the identifies the device that contains the current media.

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

E_IMAPI_RECORDER_MEDIA_INCOMPATIBLE

The media is not compatible or of unknown physical format.

Value: 0xC0AA0203

IMAPI_E_IMAGE_TOO_BIG

Value specified for FreeMediaBlocks property is too small for estimated image size based on current data.

Value: 0xC0AAB121

IMAPI_E_NO_SUPPORTED_FILE_SYSTEM

The specified disc does not contain one of the supported file systems.

Value: 0xC0AAB151

 

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft