

def FindName(self, name, lHashVal=0):
    found = c_ushort(1)
    tinfo = POINTER(ITypeInfo)()
    memid = MEMBERID()
    self.__com_FindName(name, lHashVal, byref(tinfo), byref(memid), byref(found))
    if found.value:
        return (memid.value, tinfo)
    return None

dataset/ETHPy150Open enthought/comtypes/comtypes/typeinfo.py ITypeLib.FindName/original