Fixed some broken macros.
[wine] / dlls / quartz / seekpass.h
1 #ifndef WINE_DSHOW_SEEKPASS_H
2 #define WINE_DSHOW_SEEKPASS_H
3
4 /*
5                 implements CLSID_SeekingPassThru.
6
7         - At least, the following interfaces should be implemented:
8
9         IUnknown
10                 + ISeekingPassThru
11
12 */
13
14 #include "iunk.h"
15
16 typedef struct QUARTZ_ISeekingPassThruImpl
17 {
18         ICOM_VFIELD(ISeekingPassThru);
19 } QUARTZ_ISeekingPassThruImpl;
20
21
22 typedef struct CSeekingPassThru
23 {
24         QUARTZ_IUnkImpl unk;
25         QUARTZ_ISeekingPassThruImpl     seekpass;
26
27         /* ISeekingPassThru fields. */
28 } CSeekingPassThru;
29
30 #define CSeekingPassThru_THIS(iface,member)             CSeekingPassThru*       This = ((CSeekingPassThru*)(((char*)iface)-offsetof(CSeekingPassThru,member)))
31
32 HRESULT QUARTZ_CreateSeekingPassThru(IUnknown* punkOuter,void** ppobj);
33
34
35 #endif  /* WINE_DSHOW_SEEKPASS_H */