20 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
23std::unique_ptr<IPDBTable>
25 CComPtr<IDiaTable> Item;
29 if (S_OK != Enumerator->Item(Var, &Item))
32 return std::unique_ptr<IPDBTable>(
new DIATable(Item));
36 CComPtr<IDiaTable> Item;
37 ULONG CeltFetched = 0;
38 if (S_OK != Enumerator->Next(1, &Item, &CeltFetched))
41 return std::unique_ptr<IPDBTable>(
new DIATable(Item));
uint32_t getChildCount() const override
std::unique_ptr< IPDBTable > getChildAtIndex(uint32_t Index) const override
std::unique_ptr< IPDBTable > getNext() override
DIAEnumTables(CComPtr< IDiaEnumTables > DiaEnumerator)
This is an optimization pass for GlobalISel generic memory operations.