Create the result object that contains the file system and file data.
- resultStream [out]
An IFileSystemImageResult interface of the image result.
Client applications can stream the image to media or other long-term storage devices, such as disk drives.
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:
The value specified for parameter %1!ls! is not valid.
Failed to allocate the required memory.
Currently, IFileSystemImage::CreateResultImage will require disc media access as a result of a previous IFileSystemImage::IdentifyFileSystemsOnDisc method call. To resolve this issue, it is recommended that another IFileSystemImage object be created specifically for the IFileSystemImage::IdentifyFileSystemsOnDisc operation.
The resulting stream can be saved as an ISO file if the file system is generated in a single session and has a start address of zero.
Minimum supported client
|Windows Vista, Windows XP with SP2 [desktop apps only]|
Minimum supported server
|Windows Server 2003 [desktop apps only]|