| 70 | |
| 71 | |
| 72 | class IEnumConnectionPoints(IUnknown): |
| 73 | _iid_ = GUID("{B196B285-BAB4-101A-B69C-00AA00341D07}") |
| 74 | _idlflags_ = [] |
| 75 | |
| 76 | if TYPE_CHECKING: |
| 77 | |
| 78 | def Next(self, cConnections: int) -> tuple[IConnectionPoint, int]: ... |
| 79 | def Skip(self, cConnections: int) -> hints.Hresult: ... |
| 80 | def Reset(self) -> hints.Hresult: ... |
| 81 | def Clone(self) -> "IEnumConnectionPoints": ... |
| 82 | |
| 83 | def __iter__(self): |
| 84 | return self |
| 85 | |
| 86 | def __next__(self): |
| 87 | cp, fetched = self.Next(1) |
| 88 | if fetched == 0: |
| 89 | raise StopIteration |
| 90 | return cp |
| 91 | |
| 92 | |
| 93 | ################################################################ |
nothing calls this directly
no test coverage detected
searching dependent graphs…