| #ifndef WINE_DSHOW_MEMALLOC_H |
| #define WINE_DSHOW_MEMALLOC_H |
| implements CLSID_MemoryAllocator. |
| - At least, the following interfaces should be implemented: |
| typedef struct MA_IMemAllocatorImpl |
| ICOM_VFIELD(IMemAllocator); |
| typedef struct CMemoryAllocator |
| MA_IMemAllocatorImpl memalloc; |
| /* IMemAllocator fields. */ |
| #define CMemoryAllocator_THIS(iface,member) CMemoryAllocator* This = ((CMemoryAllocator*)(((char*)iface)-offsetof(CMemoryAllocator,member))) |
| HRESULT QUARTZ_CreateMemoryAllocator(IUnknown* punkOuter,void** ppobj); |
| HRESULT CMemoryAllocator_InitIMemAllocator( CMemoryAllocator* pma ); |
| void CMemoryAllocator_UninitIMemAllocator( CMemoryAllocator* pma ); |
| #endif /* WINE_DSHOW_MEMALLOC_H */ |