GetTypeInfoOfGuid Method

ITypeLib::GetTypeInfoOfGuid method

Retrieves the type description that corresponds to the specified GUID.

Syntax


HRESULT GetTypeInfoOfGuid(
  [in]  REFGUID   guid,
  [out] ITypeInfo **ppTinfo
);

Parameters

guid [in]

The GUID of the type description.

ppTinfo [out]

The ITypeInfo interface.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

TYPE_E_ELEMENTNOTFOUND

No type description was found in the library with the specified GUID.

E_INVALIDARG

One or more of the arguments is not valid.

E_OUTOFMEMORY

Insufficient memory to complete the operation.

 

Requirements

IDL

OaIdl.idl

See also

ITypeLib

 

 

Community Additions

ADD
Show:
© 2016 Microsoft