3.1.4.12 IImport

The IImport interface provides methods for importing, as specified in Export and Import (section 1.3.7), conglomerations and partitions from installer package files and returning information about installer package files. This interface inherits from IUnknown, as specified in [MS-DCOM] section 3.1.1.5.8.

To receive incoming remote calls for this interface, the server MUST implement a DCOM Object Class with the CLSID CLSID_COMAServer (see section 1.9) using the UUID {C2BE6970-DF9E-11D1-8B87-00C04FD7A924} for this interface.

This interface includes the following methods beyond those of IUnknown.

Methods in RPC Opnum Order

Method

Description

ImportFromFile

Imports a conglomeration from a file.

Opnum: 3

QueryFile

Returns information about an installer package file.

Opnum: 4

Opnum5NotUsedOnWire

Reserved for local use.

Opnum: 5

Opnum6NotUsedOnWire

Reserved for local use.

Opnum: 6

In the previous table, the phrase "Reserved for local use" means that the client MUST NOT send the opnum and the server behavior is undefined since it does not affect interoperability.<334>

All methods MUST NOT throw exceptions.