17 CComPtr<IDiaEnumInjectedSources> DiaEnumerator)
22 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
25std::unique_ptr<IPDBInjectedSource>
27 CComPtr<IDiaInjectedSource> Item;
28 if (S_OK != Enumerator->Item(Index, &Item))
35 CComPtr<IDiaInjectedSource> Item;
37 if (S_OK != Enumerator->Next(1, &Item, &NumFetched))
ChildTypePtr getChildAtIndex(uint32_t Index) const override
uint32_t getChildCount() const override
ChildTypePtr getNext() override
DIAEnumInjectedSources(CComPtr< IDiaEnumInjectedSources > DiaEnumerator)
This is an optimization pass for GlobalISel generic memory operations.