(
punk: IUnknown, progid: _UnionT[str, type[CoClass], GUID], weak: bool = True
)
| 47 | |
| 48 | |
| 49 | def RegisterActiveObject( |
| 50 | punk: IUnknown, progid: _UnionT[str, type[CoClass], GUID], weak: bool = True |
| 51 | ) -> int: |
| 52 | clsid = GUID.from_progid(progid) |
| 53 | flags = comtypes.ACTIVEOBJECT_WEAK if weak else comtypes.ACTIVEOBJECT_STRONG |
| 54 | return comtypes.RegisterActiveObject(punk, clsid, flags) |
nothing calls this directly
no test coverage detected
searching dependent graphs…