3.13.4 Message Processing Events and Sequencing Rules

ITypeLib2 derives from the ITypeLib interface. ITypeLib2 servers MUST implement the opnums with which they are specified in section 3.11.4.

Methods in RPC Opnum Order

Method

Description

GetCustData

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

Opnum: 13

GetLibStatistics

The GetLibStatistics method returns statistics about the unique names in the automation type library.

Opnum: 14

GetDocumentation2

The GetDocumentation2 method retrieves the values that are associated with the automation type library.

Opnum: 15

GetAllCustData

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

Opnum: 16

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.