Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions com/win32com/client/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def _GetDescInvokeType(entry, invoke_type):
# BUT - it's apparently important for an INVKIND, and working that out is TBD!
if varkind == pythoncom.VAR_DISPATCH and invoke_type == pythoncom.INVOKE_PROPERTYGET:
return pythoncom.INVOKE_FUNC | invoke_type # DISPATCH_METHOD & DISPATCH_PROPERTYGET can be combined in IDispatch::Invoke
elif entry.desc.desckind == pythoncom.DESCKIND_VARDESC and varkind == pythoncom.VAR_DISPATCH and invoke_type == pythoncom.INVOKE_PROPERTYPUT:
return pythoncom.INVOKE_PROPERTYPUT
else:
return varkind

Expand Down