'Provide \'default dispatch\' COM functionality - allow instance to be called'

def __call__(self, *args):

    if self._olerepr_.defaultDispatchName:
        (invkind, dispid) = self._find_dispatch_type_(self._olerepr_.defaultDispatchName)
    else:
        (invkind, dispid) = ((pythoncom.DISPATCH_METHOD | pythoncom.DISPATCH_PROPERTYGET), pythoncom.DISPID_VALUE)
    if (invkind is not None):
        allArgs = ((dispid, LCID, invkind, 1) + args)
        return self._get_good_object_(self._oleobj_.Invoke(*allArgs), self._olerepr_.defaultDispatchName, None)
    raise TypeError('This    dispatch    object    does    not    define    a    default    method')
