(self)
| 332 | return Vtable(*[ctypes.cast(x, ctypes.c_void_p) for x in implems]), implems |
| 333 | |
| 334 | def __init__(self): |
| 335 | self.verify_implem(self.IMPLEMENT) |
| 336 | vtable, implems = self._create_vtable(self.IMPLEMENT) |
| 337 | self.vtable = vtable |
| 338 | self.implems = implems |
| 339 | self.vtable_pointer = ctypes.pointer(self.vtable) |
| 340 | self._as_parameter_ = ctypes.addressof(self.vtable_pointer) |
| 341 | |
| 342 | def QueryInterface(self, this, piid, result): |
| 343 | """Default ``QueryInterface`` implementation that returns ``self`` if piid is the implemented interface""" |
nothing calls this directly
no test coverage detected