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
4358b4d8
Commit
4358b4d8
authored
Jun 10, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmcompos: Make the virtual table functions static where possible.
parent
c30d4ecd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
39 deletions
+25
-39
chordmap.c
dlls/dmcompos/chordmap.c
+9
-4
chordmaptrack.c
dlls/dmcompos/chordmaptrack.c
+7
-3
composer.c
dlls/dmcompos/composer.c
+2
-2
dmcompos_private.h
dlls/dmcompos/dmcompos_private.h
+0
-27
signposttrack.c
dlls/dmcompos/signposttrack.c
+7
-3
No files found.
dlls/dmcompos/chordmap.c
View file @
4358b4d8
...
@@ -22,6 +22,11 @@
...
@@ -22,6 +22,11 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmcompos
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dmcompos
);
WINE_DECLARE_DEBUG_CHANNEL
(
dmfile
);
WINE_DECLARE_DEBUG_CHANNEL
(
dmfile
);
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
);
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicChordMap_AddRef
(
LPDIRECTMUSICCHORDMAP
iface
);
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
);
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/*****************************************************************************
/*****************************************************************************
* IDirectMusicChordMapImpl implementation
* IDirectMusicChordMapImpl implementation
*/
*/
...
@@ -52,7 +57,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IUnknown_QueryInterface (LPUNKNOW
...
@@ -52,7 +57,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IUnknown_QueryInterface (LPUNKNOW
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
ULONG
WINAPI
IDirectMusicChordMapImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
UnknownVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
@@ -90,7 +95,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicChordMap_QueryInterfa
...
@@ -90,7 +95,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicChordMap_QueryInterfa
return
IDirectMusicChordMapImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicChordMapImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
}
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicChordMap_AddRef
(
LPDIRECTMUSICCHORDMAP
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicChordMap_AddRef
(
LPDIRECTMUSICCHORDMAP
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ChordMapVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ChordMapVtbl
,
iface
);
return
IDirectMusicChordMapImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IDirectMusicChordMapImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
}
...
@@ -119,7 +124,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_QueryInterface
...
@@ -119,7 +124,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_QueryInterface
return
IDirectMusicChordMapImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicChordMapImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
}
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ObjectVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ObjectVtbl
,
iface
);
return
IDirectMusicChordMapImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IDirectMusicChordMapImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
}
...
@@ -334,7 +339,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IPersistStream_QueryInterface (LP
...
@@ -334,7 +339,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IPersistStream_QueryInterface (LP
return
IDirectMusicChordMapImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicChordMapImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
}
ULONG
WINAPI
IDirectMusicChordMapImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
PersistStreamVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicChordMapImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IDirectMusicChordMapImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
}
...
...
dlls/dmcompos/chordmaptrack.c
View file @
4358b4d8
...
@@ -21,6 +21,10 @@
...
@@ -21,6 +21,10 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmcompos
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dmcompos
);
static
ULONG
WINAPI
IDirectMusicChordMapTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
);
static
ULONG
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
);
static
ULONG
WINAPI
IDirectMusicChordMapTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/*****************************************************************************
/*****************************************************************************
* IDirectMusicChordMapTrack implementation
* IDirectMusicChordMapTrack implementation
*/
*/
...
@@ -48,7 +52,7 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IUnknown_QueryInterface (LPUNKNO
...
@@ -48,7 +52,7 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IUnknown_QueryInterface (LPUNKNO
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
ULONG
WINAPI
IDirectMusicChordMapTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
UnknownVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
@@ -86,7 +90,7 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IDirectMusicTrack_QueryInterface
...
@@ -86,7 +90,7 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IDirectMusicTrack_QueryInterface
return
IDirectMusicChordMapTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicChordMapTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
}
ULONG
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
TrackVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicChordMapTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IDirectMusicChordMapTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
}
...
@@ -218,7 +222,7 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IPersistStream_QueryInterface (L
...
@@ -218,7 +222,7 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IPersistStream_QueryInterface (L
return
IDirectMusicChordMapTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicChordMapTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
}
ULONG
WINAPI
IDirectMusicChordMapTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
PersistStreamVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicChordMapTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IDirectMusicChordMapTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
}
...
...
dlls/dmcompos/composer.c
View file @
4358b4d8
...
@@ -28,7 +28,7 @@ static HRESULT WINAPI IDirectMusicComposerImpl_QueryInterface (LPDIRECTMUSICCOMP
...
@@ -28,7 +28,7 @@ static HRESULT WINAPI IDirectMusicComposerImpl_QueryInterface (LPDIRECTMUSICCOMP
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicComposer
))
{
IsEqualIID
(
riid
,
&
IID_IDirectMusicComposer
))
{
I
DirectMusicComposerImpl
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppobj
=
This
;
*
ppobj
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
@@ -36,7 +36,7 @@ static HRESULT WINAPI IDirectMusicComposerImpl_QueryInterface (LPDIRECTMUSICCOMP
...
@@ -36,7 +36,7 @@ static HRESULT WINAPI IDirectMusicComposerImpl_QueryInterface (LPDIRECTMUSICCOMP
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
ULONG
WINAPI
IDirectMusicComposerImpl_AddRef
(
LPDIRECTMUSICCOMPOSER
iface
)
{
static
ULONG
WINAPI
IDirectMusicComposerImpl_AddRef
(
LPDIRECTMUSICCOMPOSER
iface
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
dlls/dmcompos/dmcompos_private.h
View file @
4358b4d8
...
@@ -74,15 +74,6 @@ struct IDirectMusicChordMapImpl {
...
@@ -74,15 +74,6 @@ struct IDirectMusicChordMapImpl {
};
};
/* IUnknown: */
extern
ULONG
WINAPI
IDirectMusicChordMapImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
);
/* IDirectMusicChordMap: */
extern
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicChordMap_AddRef
(
LPDIRECTMUSICCHORDMAP
iface
);
/* IDirectMusicObject: */
extern
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
);
/* IPersistStream: */
extern
ULONG
WINAPI
IDirectMusicChordMapImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/*****************************************************************************
/*****************************************************************************
* IDirectMusicComposerImpl implementation structure
* IDirectMusicComposerImpl implementation structure
*/
*/
...
@@ -94,10 +85,6 @@ struct IDirectMusicComposerImpl {
...
@@ -94,10 +85,6 @@ struct IDirectMusicComposerImpl {
/* IDirectMusicComposerImpl fields */
/* IDirectMusicComposerImpl fields */
};
};
/* IUnknown: */
extern
ULONG
WINAPI
IDirectMusicComposerImpl_AddRef
(
LPDIRECTMUSICCOMPOSER
iface
);
/*****************************************************************************
/*****************************************************************************
* IDirectMusicChordMapTrack implementation structure
* IDirectMusicChordMapTrack implementation structure
*/
*/
...
@@ -112,13 +99,6 @@ struct IDirectMusicChordMapTrack {
...
@@ -112,13 +99,6 @@ struct IDirectMusicChordMapTrack {
LPDMUS_OBJECTDESC
pDesc
;
LPDMUS_OBJECTDESC
pDesc
;
};
};
/* IUnknown: */
extern
ULONG
WINAPI
IDirectMusicChordMapTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
);
/* IDirectMusicTrack(8): */
extern
ULONG
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
);
/* IPersistStream: */
extern
ULONG
WINAPI
IDirectMusicChordMapTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/*****************************************************************************
/*****************************************************************************
* IDirectMusicSignPostTrack implementation structure
* IDirectMusicSignPostTrack implementation structure
*/
*/
...
@@ -133,13 +113,6 @@ struct IDirectMusicSignPostTrack {
...
@@ -133,13 +113,6 @@ struct IDirectMusicSignPostTrack {
LPDMUS_OBJECTDESC
pDesc
;
LPDMUS_OBJECTDESC
pDesc
;
};
};
/* IUnknown: */
extern
ULONG
WINAPI
IDirectMusicSignPostTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
);
/* IDirectMusicTrack(8): */
extern
ULONG
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
);
/* IPersistStream: */
extern
ULONG
WINAPI
IDirectMusicSignPostTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/**********************************************************************
/**********************************************************************
* Dll lifetime tracking declaration for dmcompos.dll
* Dll lifetime tracking declaration for dmcompos.dll
*/
*/
...
...
dlls/dmcompos/signposttrack.c
View file @
4358b4d8
...
@@ -21,6 +21,10 @@
...
@@ -21,6 +21,10 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmcompos
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dmcompos
);
static
ULONG
WINAPI
IDirectMusicSignPostTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
);
static
ULONG
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
);
static
ULONG
WINAPI
IDirectMusicSignPostTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/*****************************************************************************
/*****************************************************************************
* IDirectMusicSignPostTrack implementation
* IDirectMusicSignPostTrack implementation
*/
*/
...
@@ -48,7 +52,7 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IUnknown_QueryInterface (LPUNKNO
...
@@ -48,7 +52,7 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IUnknown_QueryInterface (LPUNKNO
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
ULONG
WINAPI
IDirectMusicSignPostTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicSignPostTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
UnknownVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
@@ -86,7 +90,7 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IDirectMusicTrack_QueryInterface
...
@@ -86,7 +90,7 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IDirectMusicTrack_QueryInterface
return
IDirectMusicSignPostTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicSignPostTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
}
ULONG
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
TrackVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicSignPostTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IDirectMusicSignPostTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
}
...
@@ -215,7 +219,7 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IPersistStream_QueryInterface (L
...
@@ -215,7 +219,7 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IPersistStream_QueryInterface (L
return
IDirectMusicSignPostTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicSignPostTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
}
ULONG
WINAPI
IDirectMusicSignPostTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicSignPostTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
PersistStreamVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicSignPostTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IDirectMusicSignPostTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
}
...
...
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