Sets the boot image that you want to add to the file-system image. This method creates a complete copy of the passed-in boot options by copying the stream from the supplied IBootOptions interface.
HRESULT put_BootImageOptions( IBootOptions *newVal );
An IBootOptions interface of the boot image that you want to add to the file-system image. Can be NULL.
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:
A boot object can only be included in an initial disc image.
The boot object could not be added to the image.
You can specify a boot image only if the file system image has no previous sessions. The boot image must start at the first sector of the disc.
|Minimum supported client||Windows Vista, Windows XP with SP2 [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|