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
f4ce07c2
Commit
f4ce07c2
authored
Jun 09, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make interface methods static.
parent
c6158013
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
25 deletions
+25
-25
chordmap.c
dlls/dmcompos/chordmap.c
+17
-17
chordmaptrack.c
dlls/dmcompos/chordmaptrack.c
+0
-0
composer.c
dlls/dmcompos/composer.c
+8
-8
signposttrack.c
dlls/dmcompos/signposttrack.c
+0
-0
No files found.
dlls/dmcompos/chordmap.c
View file @
f4ce07c2
...
...
@@ -26,7 +26,7 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
* IDirectMusicChordMapImpl implementation
*/
/* IDirectMusicChordMapImpl IUnknown part: */
HRESULT
WINAPI
IDirectMusicChordMapImpl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
...
...
@@ -63,7 +63,7 @@ ULONG WINAPI IDirectMusicChordMapImpl_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicChordMapImpl_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -85,7 +85,7 @@ static const IUnknownVtbl DirectMusicChordMap_Unknown_Vtbl = {
};
/* IDirectMusicChordMapImpl IDirectMusicChordMap part: */
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicChordMap_QueryInterface
(
LPDIRECTMUSICCHORDMAP
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicChordMap_QueryInterface
(
LPDIRECTMUSICCHORDMAP
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ChordMapVtbl
,
iface
);
return
IDirectMusicChordMapImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
...
...
@@ -95,12 +95,12 @@ ULONG WINAPI IDirectMusicChordMapImpl_IDirectMusicChordMap_AddRef (LPDIRECTMUSIC
return
IDirectMusicChordMapImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicChordMap_Release
(
LPDIRECTMUSICCHORDMAP
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicChordMap_Release
(
LPDIRECTMUSICCHORDMAP
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ChordMapVtbl
,
iface
);
return
IDirectMusicChordMapImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicChordMap_GetScale
(
LPDIRECTMUSICCHORDMAP
iface
,
DWORD
*
pdwScale
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicChordMap_GetScale
(
LPDIRECTMUSICCHORDMAP
iface
,
DWORD
*
pdwScale
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ChordMapVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pdwScale
);
return
S_OK
;
...
...
@@ -114,7 +114,7 @@ static const IDirectMusicChordMapVtbl DirectMusicChordMap_ChordMap_Vtbl = {
};
/* IDirectMusicChordMapImpl IDirectMusicObject part: */
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_QueryInterface
(
LPDIRECTMUSICOBJECT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_QueryInterface
(
LPDIRECTMUSICOBJECT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ObjectVtbl
,
iface
);
return
IDirectMusicChordMapImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
...
...
@@ -124,12 +124,12 @@ ULONG WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_AddRef (LPDIRECTMUSICOB
return
IDirectMusicChordMapImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ObjectVtbl
,
iface
);
return
IDirectMusicChordMapImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ObjectVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pDesc
);
/* I think we shouldn't return pointer here since then values can be changed; it'd be a mess */
...
...
@@ -137,7 +137,7 @@ HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_GetDescriptor (LPDIRE
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_SetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_SetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
ObjectVtbl
,
iface
);
TRACE
(
"(%p, %p): setting descriptor:
\n
%s
\n
"
,
This
,
pDesc
,
debugstr_DMUS_OBJECTDESC
(
pDesc
));
...
...
@@ -171,7 +171,7 @@ HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_SetDescriptor (LPDIRE
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
pStream
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
pStream
,
LPDMUS_OBJECTDESC
pDesc
)
{
DMUS_PRIVATE_CHUNK
Chunk
;
DWORD
StreamSize
,
StreamCount
,
ListSize
[
1
],
ListCount
[
1
];
LARGE_INTEGER
liMove
;
/* used when skipping chunks */
...
...
@@ -329,7 +329,7 @@ static const IDirectMusicObjectVtbl DirectMusicChordMap_Object_Vtbl = {
/* IDirectMusicChordMapImpl IPersistStream part: */
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicChordMapImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
...
...
@@ -339,20 +339,20 @@ ULONG WINAPI IDirectMusicChordMapImpl_IPersistStream_AddRef (LPPERSISTSTREAM ifa
return
IDirectMusicChordMapImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicChordMapImpl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicChordMapImpl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicChordMapImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
PersistStreamVtbl
,
iface
);
FOURCC
chunkID
;
...
...
@@ -499,11 +499,11 @@ HRESULT WINAPI IDirectMusicChordMapImpl_IPersistStream_Load (LPPERSISTSTREAM ifa
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicChordMapImpl_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
dlls/dmcompos/chordmaptrack.c
View file @
f4ce07c2
This diff is collapsed.
Click to expand it.
dlls/dmcompos/composer.c
View file @
f4ce07c2
...
...
@@ -22,7 +22,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmcompos
);
/* IDirectMusicComposerImpl IUnknown part: */
HRESULT
WINAPI
IDirectMusicComposerImpl_QueryInterface
(
LPDIRECTMUSICCOMPOSER
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicComposerImpl_QueryInterface
(
LPDIRECTMUSICCOMPOSER
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
...
...
@@ -47,7 +47,7 @@ ULONG WINAPI IDirectMusicComposerImpl_AddRef (LPDIRECTMUSICCOMPOSER iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicComposerImpl_Release
(
LPDIRECTMUSICCOMPOSER
iface
)
{
static
ULONG
WINAPI
IDirectMusicComposerImpl_Release
(
LPDIRECTMUSICCOMPOSER
iface
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -63,37 +63,37 @@ ULONG WINAPI IDirectMusicComposerImpl_Release (LPDIRECTMUSICCOMPOSER iface) {
}
/* IDirectMusicComposerImpl IDirectMusicComposer part: */
HRESULT
WINAPI
IDirectMusicComposerImpl_ComposeSegmentFromTemplate
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicStyle
*
pStyle
,
IDirectMusicSegment
*
pTemplate
,
WORD
wActivity
,
IDirectMusicChordMap
*
pChordMap
,
IDirectMusicSegment
**
ppSegment
)
{
static
HRESULT
WINAPI
IDirectMusicComposerImpl_ComposeSegmentFromTemplate
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicStyle
*
pStyle
,
IDirectMusicSegment
*
pTemplate
,
WORD
wActivity
,
IDirectMusicChordMap
*
pChordMap
,
IDirectMusicSegment
**
ppSegment
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
FIXME
(
"(%p, %p, %p, %d, %p, %p): stub
\n
"
,
This
,
pStyle
,
pTemplate
,
wActivity
,
pChordMap
,
ppSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicComposerImpl_ComposeSegmentFromShape
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicStyle
*
pStyle
,
WORD
wNumMeasures
,
WORD
wShape
,
WORD
wActivity
,
BOOL
fIntro
,
BOOL
fEnd
,
IDirectMusicChordMap
*
pChordMap
,
IDirectMusicSegment
**
ppSegment
)
{
static
HRESULT
WINAPI
IDirectMusicComposerImpl_ComposeSegmentFromShape
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicStyle
*
pStyle
,
WORD
wNumMeasures
,
WORD
wShape
,
WORD
wActivity
,
BOOL
fIntro
,
BOOL
fEnd
,
IDirectMusicChordMap
*
pChordMap
,
IDirectMusicSegment
**
ppSegment
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
FIXME
(
"(%p, %p, %d, %d, %d, %d, %d, %p, %p): stub
\n
"
,
This
,
pStyle
,
wNumMeasures
,
wShape
,
wActivity
,
fIntro
,
fEnd
,
pChordMap
,
ppSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicComposerImpl_ComposeTransition
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicSegment
*
pFromSeg
,
IDirectMusicSegment
*
pToSeg
,
MUSIC_TIME
mtTime
,
WORD
wCommand
,
DWORD
dwFlags
,
IDirectMusicChordMap
*
pChordMap
,
IDirectMusicSegment
**
ppTransSeg
)
{
static
HRESULT
WINAPI
IDirectMusicComposerImpl_ComposeTransition
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicSegment
*
pFromSeg
,
IDirectMusicSegment
*
pToSeg
,
MUSIC_TIME
mtTime
,
WORD
wCommand
,
DWORD
dwFlags
,
IDirectMusicChordMap
*
pChordMap
,
IDirectMusicSegment
**
ppTransSeg
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
FIXME
(
"(%p, %p, %p, %ld, %d, %ld, %p, %p): stub
\n
"
,
This
,
pFromSeg
,
pToSeg
,
mtTime
,
wCommand
,
dwFlags
,
pChordMap
,
ppTransSeg
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicComposerImpl_AutoTransition
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicPerformance
*
pPerformance
,
IDirectMusicSegment
*
pToSeg
,
WORD
wCommand
,
DWORD
dwFlags
,
IDirectMusicChordMap
*
pChordMap
,
IDirectMusicSegment
**
ppTransSeg
,
IDirectMusicSegmentState
**
ppToSegState
,
IDirectMusicSegmentState
**
ppTransSegState
)
{
static
HRESULT
WINAPI
IDirectMusicComposerImpl_AutoTransition
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicPerformance
*
pPerformance
,
IDirectMusicSegment
*
pToSeg
,
WORD
wCommand
,
DWORD
dwFlags
,
IDirectMusicChordMap
*
pChordMap
,
IDirectMusicSegment
**
ppTransSeg
,
IDirectMusicSegmentState
**
ppToSegState
,
IDirectMusicSegmentState
**
ppTransSegState
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
FIXME
(
"(%p, %p, %d, %ld, %p, %p, %p, %p): stub
\n
"
,
This
,
pPerformance
,
wCommand
,
dwFlags
,
pChordMap
,
ppTransSeg
,
ppToSegState
,
ppTransSegState
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicComposerImpl_ComposeTemplateFromShape
(
LPDIRECTMUSICCOMPOSER
iface
,
WORD
wNumMeasures
,
WORD
wShape
,
BOOL
fIntro
,
BOOL
fEnd
,
WORD
wEndLength
,
IDirectMusicSegment
**
ppTemplate
)
{
static
HRESULT
WINAPI
IDirectMusicComposerImpl_ComposeTemplateFromShape
(
LPDIRECTMUSICCOMPOSER
iface
,
WORD
wNumMeasures
,
WORD
wShape
,
BOOL
fIntro
,
BOOL
fEnd
,
WORD
wEndLength
,
IDirectMusicSegment
**
ppTemplate
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
FIXME
(
"(%p, %d, %d, %d, %d, %d, %p): stub
\n
"
,
This
,
wNumMeasures
,
wShape
,
fIntro
,
fEnd
,
wEndLength
,
ppTemplate
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicComposerImpl_ChangeChordMap
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicSegment
*
pSegment
,
BOOL
fTrackScale
,
IDirectMusicChordMap
*
pChordMap
)
{
static
HRESULT
WINAPI
IDirectMusicComposerImpl_ChangeChordMap
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicSegment
*
pSegment
,
BOOL
fTrackScale
,
IDirectMusicChordMap
*
pChordMap
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pSegment
,
fTrackScale
,
pChordMap
);
return
S_OK
;
...
...
dlls/dmcompos/signposttrack.c
View file @
f4ce07c2
This diff is collapsed.
Click to expand it.
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