3.7.4 Message Processing Events and Sequencing Rules

The ITypeInfo interface derives from the IUnknown interface. ITypeInfo servers MUST implement the methods that are defined in IUnknown in the order in which, and with the opnums with which, they are specified in [MS-DCOM] Appendix A.

Methods in RPC Opnum Order

Method

Description

GetTypeAttr

The GetTypeAttr method retrieves a TYPEATTR structure that contains information about the type described by the ITypeInfo server.

Opnum: 3

GetTypeComp

The GetTypeComp method retrieves a reference to the ITypeComp server instance associated with the ITypeInfo server.

Opnum: 4

GetFuncDesc

The GetFuncDesc method retrieves a FUNCDESC structure that contains information about a member of the ITypeInfo server's method or dispatch method table.

Opnum: 5

GetVarDesc

The GetVarDesc method retrieves a VARDESC structure that contains information about a member of the ITypeInfo server’s data member table.

Opnum: 6

GetNames

The GetNames method retrieves the data member name, or the method and parameter names associated with a specified MEMBERID.

Opnum: 7

GetRefTypeOfImplType

The GetRefTypeOfImplType method retrieves the HREFTYPE corresponding to the automation type description of an interface that is inherited, implemented, or referenced by the ITypeInfo server.

Opnum: 8

GetImplTypeFlags

The GetImplTypeFlags method retrieves the IMPLTYPEFLAGS values associated with an interface member of a coclass.

Opnum: 9

Opnum10NotUsedOnWire

Reserved for local use.

Opnum: 10

Opnum11NotUsedOnWire

Reserved for local use.

Opnum: 11

GetDocumentation

The GetDocumentation method retrieves the documentation resources associated with a type member.

Opnum: 12

GetDllEntry

The GetDllEntry method retrieves values associated with a local-only method defined in a module.

Opnum: 13

GetRefTypeInfo

The GetRefTypeInfo method retrieves an automation type description that describes a type that is inherited or referenced by the ITypeInfo server.

Opnum: 14

Opnum15NotUsedOnWire

Reserved for local use.

Opnum: 15

CreateInstance

The CreateInstance method creates a new instance of a type that describes a COM server (coclass).

Opnum: 16

GetMops

The GetMops method has no effect when called across the wire.

Opnum: 17

GetContainingTypeLib

The GetContainingTypeLib method retrieves the ITypeLib server instance whose type information table contains the ITypeInfo instance, and the index of the ITypeInfo instance within the type information table.

Opnum: 18

Opnum19NotUsedOnWire

Reserved for local use.

Opnum: 19

Opnum20NotUsedOnWire

Reserved for local use.

Opnum: 20

Opnum21NotUsedOnWire

Reserved for local use.

Opnum: 21

In the preceding table, the term "Reserved for local use" means that the client MUST NOT send the opnum, and the server behavior is undefined because it does not affect interoperability.

All methods MUST NOT throw exceptions. All return values use the NTSTATUS numbering space; in particular, a value of 0x00000000 indicates success, and any other return value indicates an error. All error values are specified in [MS-ERREF] and MUST be treated the same, unless specified otherwise.