Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9517637e
Commit
9517637e
authored
Nov 25, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Remove WINAPI on static functions where not needed.
parent
2a2387b9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
control.c
dlls/quartz/control.c
+3
-3
filtergraph.c
dlls/quartz/filtergraph.c
+11
-11
filtergraph.c
dlls/quartz/tests/filtergraph.c
+1
-1
No files found.
dlls/quartz/control.c
View file @
9517637e
...
...
@@ -103,7 +103,7 @@ static const IUnknownVtbl IInner_VTable =
};
/* 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
)
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
);
}
static
ULONG
WINAPI
SeekOuter_AddRef
(
PassThruImpl
*
This
)
static
ULONG
SeekOuter_AddRef
(
PassThruImpl
*
This
)
{
if
(
This
->
pUnkOuter
&&
This
->
bUnkOuterValid
)
return
IUnknown_AddRef
(
This
->
pUnkOuter
);
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
)
return
IUnknown_Release
(
This
->
pUnkOuter
);
...
...
dlls/quartz/filtergraph.c
View file @
9517637e
...
...
@@ -207,10 +207,10 @@ typedef struct _IFilterGraphImpl {
LONG
recursioncount
;
}
IFilterGraphImpl
;
static
HRESULT
WINAPI
Filtergraph_QueryInterface
(
IFilterGraphImpl
*
This
,
REFIID
riid
,
LPVOID
*
ppv
);
static
ULONG
WINAPI
Filtergraph_AddRef
(
IFilterGraphImpl
*
This
);
static
ULONG
WINAPI
Filtergraph_Release
(
IFilterGraphImpl
*
This
);
static
HRESULT
Filtergraph_QueryInterface
(
IFilterGraphImpl
*
This
,
REFIID
riid
,
LPVOID
*
ppv
);
static
ULONG
Filtergraph_AddRef
(
IFilterGraphImpl
*
This
);
static
ULONG
Filtergraph_Release
(
IFilterGraphImpl
*
This
);
static
HRESULT
WINAPI
FilterGraphInner_QueryInterface
(
IUnknown
*
iface
,
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.
* 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
HRESULT
hr
;
...
...
@@ -1105,7 +1105,7 @@ out:
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 */
IPin
*
to
=
NULL
;
...
...
@@ -5356,9 +5356,9 @@ static const IUnknownVtbl IInner_VTable =
FilterGraphInner_Release
};
static
HRESULT
WINAPI
Filtergraph_QueryInterface
(
IFilterGraphImpl
*
This
,
REFIID
riid
,
LPVOID
*
ppv
)
{
static
HRESULT
Filtergraph_QueryInterface
(
IFilterGraphImpl
*
This
,
REFIID
riid
,
LPVOID
*
ppv
)
{
if
(
This
->
bAggregatable
)
This
->
bUnkOuterValid
=
TRUE
;
...
...
@@ -5385,13 +5385,13 @@ static HRESULT WINAPI Filtergraph_QueryInterface(IFilterGraphImpl *This,
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
)
return
IUnknown_AddRef
(
This
->
pUnkOuter
);
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
)
return
IUnknown_Release
(
This
->
pUnkOuter
);
return
IUnknown_Release
((
IUnknown
*
)
&
(
This
->
IInner_vtbl
));
...
...
dlls/quartz/tests/filtergraph.c
View file @
9517637e
...
...
@@ -772,7 +772,7 @@ static HRESULT WINAPI TestFilter_OutputPin_ReceiveConnection(IPin * iface, IPin
}
/* 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
;
HRESULT
hr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment