20 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
23std::unique_ptr<IPDBFrameData>
25 CComPtr<IDiaFrameData> Item;
26 if (S_OK != Enumerator->Item(
Index, &Item))
29 return std::unique_ptr<IPDBFrameData>(
new DIAFrameData(Item));
33 CComPtr<IDiaFrameData> Item;
35 if (S_OK != Enumerator->Next(1, &Item, &NumFetched))
38 return std::unique_ptr<IPDBFrameData>(
new DIAFrameData(Item));
ChildTypePtr getNext() override
ChildTypePtr getChildAtIndex(uint32_t Index) const override
uint32_t getChildCount() const override
DIAEnumFrameData(CComPtr< IDiaEnumFrameData > DiaEnumerator)