source: trunk/src/quartz/sysclock.h@ 6563

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

created

File size: 739 bytes
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
16typedef struct SC_IReferenceClockImpl
17{
18 ICOM_VFIELD(IReferenceClock);
19} SC_IReferenceClockImpl;
20
21
22typedef 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
32HRESULT QUARTZ_CreateSystemClock(IUnknown* punkOuter,void** ppobj);
33
34void CSystemClock_InitIReferenceClock( CSystemClock* psc );
35
36
37#endif /* WINE_DSHOW_SYSCLOCK_H */
Note: See TracBrowser for help on using the repository browser.