Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fec9d2c2
Commit
fec9d2c2
authored
Sep 12, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Rename DirectMusicGraph method prefix to graph.
parent
d8bce981
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
graph.c
dlls/dmime/graph.c
+16
-16
No files found.
dlls/dmime/graph.c
View file @
fec9d2c2
...
...
@@ -46,7 +46,7 @@ static inline IDirectMusicGraphImpl *impl_from_IPersistStream(IPersistStream *if
return
CONTAINING_RECORD
(
iface
,
IDirectMusicGraphImpl
,
dmobj
.
IPersistStream_iface
);
}
static
HRESULT
WINAPI
DirectMusicG
raph_QueryInterface
(
IDirectMusicGraph
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
static
HRESULT
WINAPI
g
raph_QueryInterface
(
IDirectMusicGraph
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
{
IDirectMusicGraphImpl
*
This
=
impl_from_IDirectMusicGraph
(
iface
);
...
...
@@ -74,7 +74,7 @@ static HRESULT WINAPI DirectMusicGraph_QueryInterface(IDirectMusicGraph *iface,
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
DirectMusicG
raph_AddRef
(
IDirectMusicGraph
*
iface
)
static
ULONG
WINAPI
g
raph_AddRef
(
IDirectMusicGraph
*
iface
)
{
IDirectMusicGraphImpl
*
This
=
impl_from_IDirectMusicGraph
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -84,7 +84,7 @@ static ULONG WINAPI DirectMusicGraph_AddRef(IDirectMusicGraph *iface)
return
ref
;
}
static
ULONG
WINAPI
DirectMusicG
raph_Release
(
IDirectMusicGraph
*
iface
)
static
ULONG
WINAPI
g
raph_Release
(
IDirectMusicGraph
*
iface
)
{
IDirectMusicGraphImpl
*
This
=
impl_from_IDirectMusicGraph
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -108,14 +108,14 @@ static ULONG WINAPI DirectMusicGraph_Release(IDirectMusicGraph *iface)
return
ref
;
}
static
HRESULT
WINAPI
DirectMusicG
raph_StampPMsg
(
IDirectMusicGraph
*
iface
,
DMUS_PMSG
*
msg
)
static
HRESULT
WINAPI
g
raph_StampPMsg
(
IDirectMusicGraph
*
iface
,
DMUS_PMSG
*
msg
)
{
IDirectMusicGraphImpl
*
This
=
impl_from_IDirectMusicGraph
(
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
msg
);
return
S_OK
;
}
static
HRESULT
WINAPI
DirectMusicG
raph_InsertTool
(
IDirectMusicGraph
*
iface
,
IDirectMusicTool
*
tool
,
static
HRESULT
WINAPI
g
raph_InsertTool
(
IDirectMusicGraph
*
iface
,
IDirectMusicTool
*
tool
,
DWORD
*
channels
,
DWORD
channel_count
,
LONG
index
)
{
IDirectMusicGraphImpl
*
This
=
impl_from_IDirectMusicGraph
(
iface
);
...
...
@@ -140,7 +140,7 @@ static HRESULT WINAPI DirectMusicGraph_InsertTool(IDirectMusicGraph *iface, IDir
return
S_OK
;
}
static
HRESULT
WINAPI
DirectMusicG
raph_GetTool
(
IDirectMusicGraph
*
iface
,
DWORD
index
,
IDirectMusicTool
**
ret_tool
)
static
HRESULT
WINAPI
g
raph_GetTool
(
IDirectMusicGraph
*
iface
,
DWORD
index
,
IDirectMusicTool
**
ret_tool
)
{
IDirectMusicGraphImpl
*
This
=
impl_from_IDirectMusicGraph
(
iface
);
struct
tool_entry
*
entry
;
...
...
@@ -162,7 +162,7 @@ static HRESULT WINAPI DirectMusicGraph_GetTool(IDirectMusicGraph *iface, DWORD i
return
DMUS_E_NOT_FOUND
;
}
static
HRESULT
WINAPI
DirectMusicG
raph_RemoveTool
(
IDirectMusicGraph
*
iface
,
IDirectMusicTool
*
tool
)
static
HRESULT
WINAPI
g
raph_RemoveTool
(
IDirectMusicGraph
*
iface
,
IDirectMusicTool
*
tool
)
{
IDirectMusicGraphImpl
*
This
=
impl_from_IDirectMusicGraph
(
iface
);
struct
tool_entry
*
entry
;
...
...
@@ -185,15 +185,15 @@ static HRESULT WINAPI DirectMusicGraph_RemoveTool(IDirectMusicGraph *iface, IDir
return
DMUS_E_NOT_FOUND
;
}
static
const
IDirectMusicGraphVtbl
DirectMusicGraphV
tbl
=
static
const
IDirectMusicGraphVtbl
graph_v
tbl
=
{
DirectMusicG
raph_QueryInterface
,
DirectMusicG
raph_AddRef
,
DirectMusicG
raph_Release
,
DirectMusicG
raph_StampPMsg
,
DirectMusicG
raph_InsertTool
,
DirectMusicG
raph_GetTool
,
DirectMusicGraph_RemoveTool
g
raph_QueryInterface
,
g
raph_AddRef
,
g
raph_Release
,
g
raph_StampPMsg
,
g
raph_InsertTool
,
g
raph_GetTool
,
graph_RemoveTool
,
};
static
HRESULT
WINAPI
graph_IDirectMusicObject_ParseDescriptor
(
IDirectMusicObject
*
iface
,
...
...
@@ -267,7 +267,7 @@ HRESULT create_dmgraph(REFIID riid, void **ret_iface)
*
ret_iface
=
NULL
;
if
(
!
(
obj
=
calloc
(
1
,
sizeof
(
*
obj
))))
return
E_OUTOFMEMORY
;
obj
->
IDirectMusicGraph_iface
.
lpVtbl
=
&
DirectMusicGraphV
tbl
;
obj
->
IDirectMusicGraph_iface
.
lpVtbl
=
&
graph_v
tbl
;
obj
->
ref
=
1
;
dmobject_init
(
&
obj
->
dmobj
,
&
CLSID_DirectMusicGraph
,
(
IUnknown
*
)
&
obj
->
IDirectMusicGraph_iface
);
obj
->
dmobj
.
IDirectMusicObject_iface
.
lpVtbl
=
&
dmobject_vtbl
;
...
...
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