3.9.4 Message Processing Events and Sequencing Rules

The ITypeInfo2 interface derives from the ITypeInfo interface. ITypeInfo2 servers MUST implement the methods defined in ITypeInfo in the order in which, and with the opnums with which, they are specified in section 3.7.4.

Methods in RPC Opnum Order

Method

Description

GetTypeKind

The GetTypeKind method returns the TYPEKIND value that is associated with the automation type description.

Opnum: 22

GetTypeFlags

The GetTypeFlags method returns the TYPEFLAGS value that is associated with the automation type description.

Opnum: 23

GetFuncIndexOfMemId

The GetFuncIndexOfMemId method retrieves the location of an element in the data member table, given the associated MEMBERID of the element.

Opnum: 24

GetVarIndexOfMemId

The GetVarIndexOfMemId method retrieves the location of an element in the data member table, given the associated MEMBERID of the element.

Opnum: 25

GetCustData

The GetCustData method retrieves the value of a custom data item that is associated with the type.

Opnum: 26

GetFuncCustData

The GetFuncCustData method retrieves the value of a custom data item that is associated with the specified method.

Opnum: 27

GetParamCustData

The GetParamCustData method retrieves the value of a custom data item that is associated with the specified method parameter.

Opnum: 28

GetVarCustData

The GetVarCustData method retrieves the value of a custom data item that is associated with the specified data member.

Opnum: 29

GetImplTypeCustData

The GetImplTypeCustData method retrieves the value of a custom data item that is associated with the specified interface.

Opnum: 30

GetDocumentation2

The GetDocumentation2 method retrieves the values that are associated with a type member.

Opnum: 31

GetAllCustData

The GetAllCustData method retrieves all the custom data items that are associated with the automation type description.

Opnum: 32

GetAllFuncCustData

The GetAllFuncCustData method retrieves all the custom data items that are associated with the specified method.

Opnum: 33

GetAllParamCustData

The GetAllParamCustData method retrieves all the custom data items that are associated with the specified method parameter.

Opnum: 34

GetAllVarCustData

The GetAllVarCustData method retrieves all the custom data items that are associated with the specified data member.

Opnum: 35

GetAllImplTypeCustData

The GetAllImplTypeCustData method retrieves all the custom data items that are associated with the specified interface.

Opnum: 36

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.