Windows Dev Center

IBootOptions interface

Use this interface to specify the boot image to add to the optical disc. A boot image contains one or more sectors of code used to start the computer.

To create an instance of this interface, call the CoCreateInstance function. Use__uuidof(BootOptions) for the class identifier and __uuidof(IBootOptions) for the interface identifier.

Members

The IBootOptions interface inherits from the IDispatch interface. IBootOptions also has these types of members:

Methods

The IBootOptions interface has these methods.

MethodDescription
AssignBootImage

Sets the data stream that contains the boot image.

get_BootImage

Retrieves a pointer to the boot image data stream.

get_Emulation

Retrieves the media type that the boot image is intended to emulate.

get_ImageSize

Retrieves the size of the boot image.

get_Manufacturer

Retrieves the identifier of the manufacturer of the CD.

get_PlatformId

Retrieves the platform identifier that identifies the operating system architecture that the boot image supports.

put_Emulation

Sets the media type that the boot image is intended to emulate.

put_Manufacturer

Sets an identifier that identifies the manufacturer of the CD.

put_PlatformId

Sets the platform identifier that identifies the operating system architecture that the boot image supports.

 

Remarks

This interface supports the "El Torito" Bootable CD-ROM format specification. For details, see the specification at http://www.phoenix.com/NR/rdonlyres/98D3219C-9CC9-4DF5-B496-A286D893E36A/0/specscdrom.pdf.

To add the boot image to a file system image, call the IFileSystemImage::put_BootImageOptions method.

To get the boot image associated with a file system image, call the IFileSystemImage::get_BootImageOptions method.

To create the BootOptions object in a script, use IMAPI2.BootOptions as the program identifier when calling CreateObject.

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft