Skip to content

Commit

Permalink
Small fix for details in COMError.
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd committed Dec 21, 2024
1 parent d1a59fb commit a4fbce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comtypes/_comobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def QueryInterface(self, interface: Type[_T_IUnknown]) -> _T_IUnknown:
ptr = self._com_pointers_.get(interface._iid_, None)
if ptr is None:
raise COMError(
E_NOINTERFACE, FormatError(E_NOINTERFACE), (None, None, 0, None, None)
E_NOINTERFACE, FormatError(E_NOINTERFACE), (None, None, None, 0, None)
)
# CopyComPointer(src, dst) calls AddRef!
result = POINTER(interface)()
Expand Down

0 comments on commit a4fbce7

Please sign in to comment.