Compartilhar via


ITypeLib::GetTypeInfoType

This method retrieves the type of a type description.

HRESULT GetTypeInfoType( 
  unsigned int index, 
  TYPEKIND FAR* pTKind 
); 

Parameters

  • index
    [in] Index of the type description within the type library.
  • pTKind
    [out] Pointer to the TYPEKIND enumeration for the type description.

Return Values

If the method succeeds, the return value is S_OK.

If index is outside the range of 0 to ITypeLib::GetTypeInfoCount –1, the return value is TYPE_E_ELEMENTNOTFOUND.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h, Oaidl.idl.
Link Library: Oleaut32.lib, Uuid.lib.

See Also

ITypeLib | ITypeLib::GetTypeInfoCount | TYPEKIND

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.