// t = T* where T is a declared interface
return new TypeBinding( g.getTypeName(dispDecl), NativeType.ComObject, true );
}
// t = coclass*
ICoClassDecl classdecl = comp.queryInterface(ICoClassDecl.class);
if(classdecl!=null) {
// bind to its default interface
ITypeDecl di = g.getDefaultInterface(classdecl);
if(di==null)
// no primary interface known. treat it as IUnknown