quartz: Remove WINAPI on static functions where not needed.

This commit is contained in:
Francois Gouget 2008-11-25 16:43:00 +01:00 committed by Alexandre Julliard
parent 2a2387b984
commit 9517637eb4
3 changed files with 15 additions and 15 deletions

View File

@ -103,7 +103,7 @@ static const IUnknownVtbl IInner_VTable =
}; };
/* Generic functions for aggregation */ /* Generic functions for aggregation */
static HRESULT WINAPI SeekOuter_QueryInterface(PassThruImpl *This, REFIID riid, LPVOID *ppv) static HRESULT SeekOuter_QueryInterface(PassThruImpl *This, REFIID riid, LPVOID *ppv)
{ {
if (This->bAggregatable) if (This->bAggregatable)
This->bUnkOuterValid = TRUE; This->bUnkOuterValid = TRUE;
@ -131,14 +131,14 @@ static HRESULT WINAPI SeekOuter_QueryInterface(PassThruImpl *This, REFIID riid,
return IUnknown_QueryInterface((IUnknown *)&(This->IInner_vtbl), riid, ppv); return IUnknown_QueryInterface((IUnknown *)&(This->IInner_vtbl), riid, ppv);
} }
static ULONG WINAPI SeekOuter_AddRef(PassThruImpl *This) static ULONG SeekOuter_AddRef(PassThruImpl *This)
{ {
if (This->pUnkOuter && This->bUnkOuterValid) if (This->pUnkOuter && This->bUnkOuterValid)
return IUnknown_AddRef(This->pUnkOuter); return IUnknown_AddRef(This->pUnkOuter);
return IUnknown_AddRef((IUnknown *)&(This->IInner_vtbl)); return IUnknown_AddRef((IUnknown *)&(This->IInner_vtbl));
} }
static ULONG WINAPI SeekOuter_Release(PassThruImpl *This) static ULONG SeekOuter_Release(PassThruImpl *This)
{ {
if (This->pUnkOuter && This->bUnkOuterValid) if (This->pUnkOuter && This->bUnkOuterValid)
return IUnknown_Release(This->pUnkOuter); return IUnknown_Release(This->pUnkOuter);

View File

@ -207,10 +207,10 @@ typedef struct _IFilterGraphImpl {
LONG recursioncount; LONG recursioncount;
} IFilterGraphImpl; } IFilterGraphImpl;
static HRESULT WINAPI Filtergraph_QueryInterface(IFilterGraphImpl *This, static HRESULT Filtergraph_QueryInterface(IFilterGraphImpl *This,
REFIID riid, LPVOID * ppv); REFIID riid, LPVOID * ppv);
static ULONG WINAPI Filtergraph_AddRef(IFilterGraphImpl *This); static ULONG Filtergraph_AddRef(IFilterGraphImpl *This);
static ULONG WINAPI Filtergraph_Release(IFilterGraphImpl *This); static ULONG Filtergraph_Release(IFilterGraphImpl *This);
static HRESULT WINAPI FilterGraphInner_QueryInterface(IUnknown * iface, static HRESULT WINAPI FilterGraphInner_QueryInterface(IUnknown * iface,
REFIID riid, REFIID riid,
@ -585,7 +585,7 @@ static HRESULT WINAPI FilterGraph2_FindFilterByName(IFilterGraph2 *iface,
/* Don't allow a circular connection to form, return VFW_E_CIRCULAR_GRAPH if this would be the case. /* Don't allow a circular connection to form, return VFW_E_CIRCULAR_GRAPH if this would be the case.
* A circular connection will be formed if from the filter of the output pin, the input pin can be reached * A circular connection will be formed if from the filter of the output pin, the input pin can be reached
*/ */
static HRESULT WINAPI CheckCircularConnection(IFilterGraphImpl *This, IPin *out, IPin *in) static HRESULT CheckCircularConnection(IFilterGraphImpl *This, IPin *out, IPin *in)
{ {
#if 1 #if 1
HRESULT hr; HRESULT hr;
@ -1105,7 +1105,7 @@ out:
return SUCCEEDED(hr) ? S_OK : hr; return SUCCEEDED(hr) ? S_OK : hr;
} }
static HRESULT WINAPI FilterGraph2_RenderRecurse(IFilterGraphImpl *This, IPin *ppinOut) static HRESULT FilterGraph2_RenderRecurse(IFilterGraphImpl *This, IPin *ppinOut)
{ {
/* This pin has been connected now, try to call render on all pins that aren't connected */ /* This pin has been connected now, try to call render on all pins that aren't connected */
IPin *to = NULL; IPin *to = NULL;
@ -5356,9 +5356,9 @@ static const IUnknownVtbl IInner_VTable =
FilterGraphInner_Release FilterGraphInner_Release
}; };
static HRESULT WINAPI Filtergraph_QueryInterface(IFilterGraphImpl *This, static HRESULT Filtergraph_QueryInterface(IFilterGraphImpl *This,
REFIID riid, REFIID riid,
LPVOID * ppv) { LPVOID * ppv) {
if (This->bAggregatable) if (This->bAggregatable)
This->bUnkOuterValid = TRUE; This->bUnkOuterValid = TRUE;
@ -5385,13 +5385,13 @@ static HRESULT WINAPI Filtergraph_QueryInterface(IFilterGraphImpl *This,
return IUnknown_QueryInterface((IUnknown *)&(This->IInner_vtbl), riid, ppv); return IUnknown_QueryInterface((IUnknown *)&(This->IInner_vtbl), riid, ppv);
} }
static ULONG WINAPI Filtergraph_AddRef(IFilterGraphImpl *This) { static ULONG Filtergraph_AddRef(IFilterGraphImpl *This) {
if (This->pUnkOuter && This->bUnkOuterValid) if (This->pUnkOuter && This->bUnkOuterValid)
return IUnknown_AddRef(This->pUnkOuter); return IUnknown_AddRef(This->pUnkOuter);
return IUnknown_AddRef((IUnknown *)&(This->IInner_vtbl)); return IUnknown_AddRef((IUnknown *)&(This->IInner_vtbl));
} }
static ULONG WINAPI Filtergraph_Release(IFilterGraphImpl *This) { static ULONG Filtergraph_Release(IFilterGraphImpl *This) {
if (This->pUnkOuter && This->bUnkOuterValid) if (This->pUnkOuter && This->bUnkOuterValid)
return IUnknown_Release(This->pUnkOuter); return IUnknown_Release(This->pUnkOuter);
return IUnknown_Release((IUnknown *)&(This->IInner_vtbl)); return IUnknown_Release((IUnknown *)&(This->IInner_vtbl));

View File

@ -772,7 +772,7 @@ static HRESULT WINAPI TestFilter_OutputPin_ReceiveConnection(IPin * iface, IPin
} }
/* Private helper function */ /* Private helper function */
static HRESULT WINAPI TestFilter_OutputPin_ConnectSpecific(IPin * iface, IPin * pReceivePin, const AM_MEDIA_TYPE * pmt) static HRESULT TestFilter_OutputPin_ConnectSpecific(IPin * iface, IPin * pReceivePin, const AM_MEDIA_TYPE * pmt)
{ {
ITestPinImpl *This = (ITestPinImpl *)iface; ITestPinImpl *This = (ITestPinImpl *)iface;
HRESULT hr; HRESULT hr;