MCPcopy Index your code
hub / github.com/enthought/comtypes / QueryInterface

Method QueryInterface

comtypes/client/dynamic.py:92–96  ·  view source on GitHub ↗

QueryInterface is forwarded to the real com object.

(
        self, interface: type[_T_IUnknown], iid: Optional[GUID] = None
    )

Source from the content-addressed store, hash-verified

90 return item
91
92 def QueryInterface(
93 self, interface: type[_T_IUnknown], iid: Optional[GUID] = None
94 ) -> _T_IUnknown:
95 """QueryInterface is forwarded to the real com object."""
96 return self._comobj.QueryInterface(interface, iid)
97
98 def _FlagAsMethod(self, *names: str) -> None:
99 """Flag these attribute names as being methods.

Callers 15

GetBestInterfaceFunction · 0.45
__enumMethod · 0.45
__init__Method · 0.45
_connectMethod · 0.45
FindOutgoingInterfaceFunction · 0.45
test_GetClassIDMethod · 0.45
_create_pfMethod · 0.45
create_itf_ptrMethod · 0.45
test_qiMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_GetClassIDMethod · 0.36
_create_pfMethod · 0.36
create_itf_ptrMethod · 0.36
test_qiMethod · 0.36
test_identityMethod · 0.36
test_VT_UNKNOWN_1Method · 0.36
test_VT_UNKNOWN_multiMethod · 0.36
test_dictMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36