18.104.22.168 IDispatch::GetTypeInfo (Opnum 4)
The GetTypeInfo method provides access to the Type description information exposed by the automation server.
HRESULT GetTypeInfo( [in] UINT iTInfo, [in] LCID lcid, [out] ITypeInfo** ppTInfo );
iTInfo: MUST be 0.
lcid: MUST equal the locale ID for the Type description information to be retrieved.
ppTInfo: MUST be set to reference an instance of an ITypeInfo server that corresponds to the default nonsource interface of the coclass implementing IDispatch (see section 22.214.171.124). MUST refer to the partner dispinterface if the default nonsource interface is a dual interface. MUST be set to NULL if the coclass does not specify a default nonsource interface.
If the severity bit is set to 0, the method completed successfully.
If the severity bit is set to 1 and the entire HRESULT DWORD does not match the value in the following table, a fatal failure occurred.
If the severity bit is set to 1 and the entire HRESULT DWORD matches the value in the following table, a failure occurred.
SHOULD be returned when the value of the passed in iTInfo argument was not 0. See [MS-ERREF].