共用方式為


2.2.11 COMVERSION

The COMVERSION structure is used to specify the major and minor version of either the client or the server DCOM Remote Protocol implementation.

 typedef struct tagCOMVERSION {
   unsigned short MajorVersion;
   unsigned short MinorVersion;
 } COMVERSION;

MajorVersion: This MUST contain the major version of the DCOM Remote Protocol.

MinorVersion: This MUST contain the minor version of the DCOM Remote Protocol.

The following table specifies the capabilities introduced in each DCOM version.<4>

Version

Change

5.1

Initial DCOM Remote Protocol release.

5.2

Added ResolveOxid2 to the IObjectExporter interface; see section 3.1.2.5.1.5.

5.3

MUST NOT be used.

5.4

Update in the marshaling of arrays of interface pointers.

Update in the marshaling of conformant embedded structures.

5.5

Unused. This is to avoid having a DCOM version with matching major and minor version numbers.

5.6

Added OBJREF_HANDLER and OBJREF_EXTENDED to the OBJREF type.

Added IRemoteSCMActivator interface methods (see section 3.1.2.5.2.2).

Added IObjectExporter::ServerAlive2 (Opnum 5) method to IObjectExporter interface.

Added IRemUnknown2 interface.

5.7

No DCOM changes from 5.6.<5>