1 #ifndef WINE_DSHOW_MEMALLOC_H
2 #define WINE_DSHOW_MEMALLOC_H
5 implements CLSID_MemoryAllocator.
7 - At least, the following interfaces should be implemented:
16 typedef struct MA_IMemAllocatorImpl
18 ICOM_VFIELD(IMemAllocator);
19 } MA_IMemAllocatorImpl;
21 typedef struct CMemoryAllocator
24 MA_IMemAllocatorImpl memalloc;
26 /* IMemAllocator fields. */
29 #define CMemoryAllocator_THIS(iface,member) CMemoryAllocator* This = ((CMemoryAllocator*)(((char*)iface)-offsetof(CMemoryAllocator,member)))
31 HRESULT QUARTZ_CreateMemoryAllocator(IUnknown* punkOuter,void** ppobj);
33 HRESULT CMemoryAllocator_InitIMemAllocator( CMemoryAllocator* pma );
34 void CMemoryAllocator_UninitIMemAllocator( CMemoryAllocator* pma );
37 #endif /* WINE_DSHOW_MEMALLOC_H */