| Line |  | 
|---|
| 1 | #ifndef WINE_DSHOW_SYSCLOCK_H | 
|---|
| 2 | #define WINE_DSHOW_SYSCLOCK_H | 
|---|
| 3 |  | 
|---|
| 4 | /* | 
|---|
| 5 | implements CLSID_SystemClock. | 
|---|
| 6 |  | 
|---|
| 7 | - At least, the following interfaces should be implemented: | 
|---|
| 8 |  | 
|---|
| 9 | IUnknown | 
|---|
| 10 | + IReferenceClock | 
|---|
| 11 |  | 
|---|
| 12 | */ | 
|---|
| 13 |  | 
|---|
| 14 | #include "iunk.h" | 
|---|
| 15 |  | 
|---|
| 16 | typedef struct SC_IReferenceClockImpl | 
|---|
| 17 | { | 
|---|
| 18 | ICOM_VFIELD(IReferenceClock); | 
|---|
| 19 | } SC_IReferenceClockImpl; | 
|---|
| 20 |  | 
|---|
| 21 |  | 
|---|
| 22 | typedef struct CSystemClock | 
|---|
| 23 | { | 
|---|
| 24 | QUARTZ_IUnkImpl unk; | 
|---|
| 25 | SC_IReferenceClockImpl  refclk; | 
|---|
| 26 |  | 
|---|
| 27 | /* IReferenceClock fields. */ | 
|---|
| 28 | } CSystemClock; | 
|---|
| 29 |  | 
|---|
| 30 | #define CSystemClock_THIS(iface,member)         CSystemClock*   This = ((CSystemClock*)(((char*)iface)-offsetof(CSystemClock,member))) | 
|---|
| 31 |  | 
|---|
| 32 | HRESULT QUARTZ_CreateSystemClock(IUnknown* punkOuter,void** ppobj); | 
|---|
| 33 |  | 
|---|
| 34 | void CSystemClock_InitIReferenceClock( CSystemClock* psc ); | 
|---|
| 35 |  | 
|---|
| 36 |  | 
|---|
| 37 | #endif  /* WINE_DSHOW_SYSCLOCK_H */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.