quartz: Fixed building with MSVC headers.

This commit is contained in:
Reece Dunn 2008-03-23 09:32:43 +00:00 committed by Alexandre Julliard
parent 45d248f1e0
commit 1b31c6e616
1 changed files with 9 additions and 9 deletions

View File

@ -138,32 +138,32 @@ static void test_aggregation(const CLSID clsidOuter, const CLSID clsidInner,
static void test_video_renderer_aggregations(void) static void test_video_renderer_aggregations(void)
{ {
IID iids[] = { const IID * iids[] = {
IID_IMediaFilter, IID_IBaseFilter, IID_IBasicVideo, IID_IVideoWindow &IID_IMediaFilter, &IID_IBaseFilter, &IID_IBasicVideo, &IID_IVideoWindow
}; };
int i; int i;
for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++) for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++)
{ {
test_aggregation(CLSID_SystemClock, CLSID_VideoRenderer, test_aggregation(CLSID_SystemClock, CLSID_VideoRenderer,
IID_IReferenceClock, iids[i]); IID_IReferenceClock, *iids[i]);
} }
} }
static void test_filter_graph_aggregations(void) static void test_filter_graph_aggregations(void)
{ {
IID iids[] = { const IID * iids[] = {
IID_IFilterGraph2, IID_IMediaControl, IID_IGraphBuilder, &IID_IFilterGraph2, &IID_IMediaControl, &IID_IGraphBuilder,
IID_IFilterGraph, IID_IMediaSeeking, IID_IBasicAudio, IID_IBasicVideo, &IID_IFilterGraph, &IID_IMediaSeeking, &IID_IBasicAudio, &IID_IBasicVideo,
IID_IVideoWindow, IID_IMediaEventEx, IID_IMediaFilter, &IID_IVideoWindow, &IID_IMediaEventEx, &IID_IMediaFilter,
IID_IMediaEventSink, IID_IGraphConfig, IID_IMediaPosition &IID_IMediaEventSink, &IID_IGraphConfig, &IID_IMediaPosition
}; };
int i; int i;
for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++) for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++)
{ {
test_aggregation(CLSID_SystemClock, CLSID_FilterGraph, test_aggregation(CLSID_SystemClock, CLSID_FilterGraph,
IID_IReferenceClock, iids[i]); IID_IReferenceClock, *iids[i]);
} }
} }