Skip to content

Commit d1c6c45

Browse files
committed
docs: Add comment with link to official documentation for GetRefTypeOfImplType.
1 parent b962e06 commit d1c6c45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

comtypes/tools/tlbparser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ def parse_typeinfo(self, tinfo: typeinfo.ITypeInfo) -> Any:
624624
try:
625625
# GetRefTypeOfImplType(-1) returns the custom portion
626626
# of a dispinterface, if it is dual
627+
# See https://learn.microsoft.com/en-us/windows/win32/api/oaidl/nf-oaidl-itypeinfo-getreftypeofimpltype#remarks
627628
href = tinfo.GetRefTypeOfImplType(-1)
628629
except COMError:
629630
# no dual interface

0 commit comments

Comments
 (0)