Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Retrieves a type-information object, which can retrieve the type information for an interface.
HRESULT GetTypeInfo( UINT itinfo, LCID lcid, ITypeInfo** pptinfo );
Parameters
Return Values
Returns an E_POINTER if pptinfois invalid. Returns TYPE_E_ELEMENTNOTFOUND if itinfois not zero. Returns S_OK if is successful. Otherwise, returns an HRESULTfrom one of the calls to retrieve the type. The HRESULTindicates the error and can be one of the following standard constants, or other values not listed.
E_FAIL | Failure. |
E_POINTER | Null pointer argument. |
E_INVALIDARG | Invalid argument. |
S_OK or NOERROR | Success. |