Commit 0359eaa8 authored by Raphael Junqueira's avatar Raphael Junqueira Committed by Alexandre Julliard

Implemented SystemClock (IReferenceClock by dshow).

parent eed647d0
......@@ -4,7 +4,7 @@ SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = quartz.dll
IMPORTS = ole32 oleaut32 advapi32 kernel32 user32
EXTRALIBS = -luuid $(LIBUNICODE)
EXTRALIBS = -ldxguid -luuid $(LIBUNICODE)
C_SRCS = \
avisplit.c \
......@@ -20,7 +20,8 @@ C_SRCS = \
main.c \
memallocator.c \
pin.c \
regsvr.c
regsvr.c \
systemclock.c
RC_SRCS = version.rc
......
......@@ -66,6 +66,8 @@ static const struct object_creation_info object_creation[] =
{ &CLSID_AsyncReader, AsyncReader_create },
{ &CLSID_MemoryAllocator, StdMemAllocator_create },
{ &CLSID_AviSplitter, AVISplitter_create },
{ &CLSID_SystemClock, &QUARTZ_CreateSystemClock }
};
static HRESULT WINAPI
......
......@@ -42,6 +42,7 @@ HRESULT FilterMapper2_create(IUnknown *pUnkOuter, LPVOID *ppObj);
HRESULT AsyncReader_create(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT StdMemAllocator_create(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT AVISplitter_create(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT QUARTZ_CreateSystemClock(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT EnumMonikerImpl_Create(IMoniker ** ppMoniker, ULONG nMonikerCount, IEnumMoniker ** ppEnum);
......
......@@ -521,6 +521,12 @@ static struct regsvr_coclass const coclass_list[] = {
"quartz.dll",
"Both"
},
{ &CLSID_SystemClock,
"System Clock",
NULL,
"quartz.dll",
"Both"
},
{ NULL } /* list terminator */
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment