25 { {&IID_IUnknown,0}, {&IID_IEnumMediaTypes,0} })
30 AM_MEDIA_TYPE **types,
unsigned long *fetched)
33 dshowdebug(
"ff_dshow_enummediatypes_Next(%p)\n",
this);
36 if (!this->
pos && n == 1) {
37 if (!IsEqualGUID(&this->
type.majortype, &GUID_NULL)) {
55 dshowdebug(
"ff_dshow_enummediatypes_Skip(%p)\n",
this);
62 dshowdebug(
"ff_dshow_enummediatypes_Reset(%p)\n",
this);
69 dshowdebug(
"ff_dshow_enummediatypes_Clone(%p)\n",
this);
82 IEnumMediaTypesVtbl *vtbl = this->vtbl;
83 SETVTBL(vtbl, enummediatypes, QueryInterface);
84 SETVTBL(vtbl, enummediatypes, AddRef);
85 SETVTBL(vtbl, enummediatypes, Release);
86 SETVTBL(vtbl, enummediatypes, Next);
87 SETVTBL(vtbl, enummediatypes, Skip);
88 SETVTBL(vtbl, enummediatypes, Reset);
89 SETVTBL(vtbl, enummediatypes, Clone);
92 this->type.majortype = GUID_NULL;