Go to the documentation of this file.
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;
#define DECLARE_CREATE(prefix, class, setup,...)
static void nothing(void *foo)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
#define DECLARE_ADDREF(prefix, class)
long WINAPI ff_dshow_enummediatypes_Next(DShowEnumMediaTypes *, unsigned long, AM_MEDIA_TYPE **, unsigned long *)
long ff_copy_dshow_media_type(AM_MEDIA_TYPE *dst, const AM_MEDIA_TYPE *src)
#define SETVTBL(vtbl, prefix, fn)
DShowEnumMediaTypes * ff_dshow_enummediatypes_Create(const AM_MEDIA_TYPE *type)
#define DECLARE_DESTROY(prefix, class, func)
#define DECLARE_RELEASE(prefix, class)