source: trunk/src/quartz/sample.h@ 6952

Last change on this file since 6952 was 6952, checked in by sandervl, 24 years ago

Wine 20011004 resync

File size: 724 bytes
Line 
1#ifndef WINE_DSHOW_SAMPLE_H
2#define WINE_DSHOW_SAMPLE_H
3
4/*
5 implements CMemMediaSample.
6
7 - At least, the following interfaces should be implemented:
8
9 IUnknown - IMediaSample - IMediaSample2
10 */
11
12typedef struct CMemMediaSample
13{
14 ICOM_VFIELD(IMediaSample2);
15
16 /* IUnknown fields */
17 ULONG ref;
18 /* IMediaSample2 fields */
19 IMemAllocator* pOwner; /* not addref-ed. */
20 BOOL fMediaTimeIsValid;
21 LONGLONG llMediaTimeStart;
22 LONGLONG llMediaTimeEnd;
23 AM_SAMPLE2_PROPERTIES prop;
24} CMemMediaSample;
25
26
27HRESULT QUARTZ_CreateMemMediaSample(
28 BYTE* pbData, DWORD dwDataLength,
29 IMemAllocator* pOwner,
30 CMemMediaSample** ppSample );
31void QUARTZ_DestroyMemMediaSample(
32 CMemMediaSample* pSample );
33
34#endif /* WINE_DSHOW_SAMPLE_H */
Note: See TracBrowser for help on using the repository browser.