UINT ITypeLib::GetTypeInfoOfGUID(GUID *Guid, ITypeInfo **pITypeInfo);
#include <windows.h>
#include <winbase.h>
#include <ole2.h>
ITypeLib *pITypeLib;
GUID Guid;
ITypeInfo *pITypeInfo;
...
pITypeInfo=NULL;
if ((pITypeLib->GetTypeInfo(&Guid, &pITypeInfo)!=S_OK)||!pITypeInfo)
{
...
}
...