

def IsName(self, name, lHashVal=0):
    'Check if there is type information for this name.\n\n        Returns the name with capitalization found in the type\n        library, or None.\n        '
    from ctypes import create_unicode_buffer
    namebuf = create_unicode_buffer(name)
    found = BOOL()
    self.__com_IsName(self, lHashVal, byref(found))
    if found.value:
        return namebuf[:].split('\x00', 1)[0]
    return None

dataset/ETHPy150Open enthought/comtypes/comtypes/typeinfo.py ITypeLib.IsName/VarMisuse@40/106 `namebuf`->`self`