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
d33989f6
Commit
d33989f6
authored
Jun 12, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Remove the redundant "IDirectMusicCollection" from method names.
parent
147f100f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
14 deletions
+19
-14
collection.c
dlls/dmusic/collection.c
+19
-14
No files found.
dlls/dmusic/collection.c
View file @
d33989f6
...
...
@@ -60,7 +60,8 @@ static inline IDirectMusicCollectionImpl *impl_from_IPersistStream(IPersistStrea
}
/* IDirectMusicCollectionImpl IUnknown part: */
static
HRESULT
WINAPI
IDirectMusicCollectionImpl_IDirectMusicCollection_QueryInterface
(
LPDIRECTMUSICCOLLECTION
iface
,
REFIID
riid
,
LPVOID
*
ret_iface
)
static
HRESULT
WINAPI
IDirectMusicCollectionImpl_QueryInterface
(
IDirectMusicCollection
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
{
IDirectMusicCollectionImpl
*
This
=
impl_from_IDirectMusicCollection
(
iface
);
...
...
@@ -84,7 +85,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicCollection_QueryInt
return
S_OK
;
}
static
ULONG
WINAPI
IDirectMusicCollectionImpl_
IDirectMusicCollection_AddRef
(
LPDIRECTMUSICCOLLECTION
iface
)
static
ULONG
WINAPI
IDirectMusicCollectionImpl_
AddRef
(
IDirectMusicCollection
*
iface
)
{
IDirectMusicCollectionImpl
*
This
=
impl_from_IDirectMusicCollection
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -94,7 +95,7 @@ static ULONG WINAPI IDirectMusicCollectionImpl_IDirectMusicCollection_AddRef(LPD
return
ref
;
}
static
ULONG
WINAPI
IDirectMusicCollectionImpl_
IDirectMusicCollection_Release
(
LPDIRECTMUSICCOLLECTION
iface
)
static
ULONG
WINAPI
IDirectMusicCollectionImpl_
Release
(
IDirectMusicCollection
*
iface
)
{
IDirectMusicCollectionImpl
*
This
=
impl_from_IDirectMusicCollection
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -110,7 +111,8 @@ static ULONG WINAPI IDirectMusicCollectionImpl_IDirectMusicCollection_Release(LP
}
/* IDirectMusicCollection Interface follows: */
static
HRESULT
WINAPI
IDirectMusicCollectionImpl_IDirectMusicCollection_GetInstrument
(
LPDIRECTMUSICCOLLECTION
iface
,
DWORD
patch
,
IDirectMusicInstrument
**
instrument
)
static
HRESULT
WINAPI
IDirectMusicCollectionImpl_GetInstrument
(
IDirectMusicCollection
*
iface
,
DWORD
patch
,
IDirectMusicInstrument
**
instrument
)
{
IDirectMusicCollectionImpl
*
This
=
impl_from_IDirectMusicCollection
(
iface
);
DMUS_PRIVATE_INSTRUMENTENTRY
*
inst_entry
;
...
...
@@ -136,7 +138,8 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicCollection_GetInstr
return
DMUS_E_INVALIDPATCH
;
}
static
HRESULT
WINAPI
IDirectMusicCollectionImpl_IDirectMusicCollection_EnumInstrument
(
LPDIRECTMUSICCOLLECTION
iface
,
DWORD
index
,
DWORD
*
patch
,
LPWSTR
name
,
DWORD
name_length
)
static
HRESULT
WINAPI
IDirectMusicCollectionImpl_EnumInstrument
(
IDirectMusicCollection
*
iface
,
DWORD
index
,
DWORD
*
patch
,
LPWSTR
name
,
DWORD
name_length
)
{
IDirectMusicCollectionImpl
*
This
=
impl_from_IDirectMusicCollection
(
iface
);
DWORD
i
=
0
;
...
...
@@ -165,11 +168,11 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicCollection_EnumInst
}
static
const
IDirectMusicCollectionVtbl
DirectMusicCollection_Collection_Vtbl
=
{
IDirectMusicCollectionImpl_IDirectMusicCollection
_QueryInterface
,
IDirectMusicCollectionImpl_IDirectMusicCollection
_AddRef
,
IDirectMusicCollectionImpl_IDirectMusicCollection
_Release
,
IDirectMusicCollectionImpl_IDirectMusicCollection
_GetInstrument
,
IDirectMusicCollectionImpl_IDirectMusicCollection
_EnumInstrument
IDirectMusicCollectionImpl
_QueryInterface
,
IDirectMusicCollectionImpl
_AddRef
,
IDirectMusicCollectionImpl
_Release
,
IDirectMusicCollectionImpl
_GetInstrument
,
IDirectMusicCollectionImpl
_EnumInstrument
};
/* IDirectMusicCollectionImpl IDirectMusicObject part: */
...
...
@@ -191,7 +194,8 @@ static HRESULT read_from_stream(IStream *stream, void *data, ULONG size)
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicCollectionImpl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
stream
,
LPDMUS_OBJECTDESC
desc
)
static
HRESULT
WINAPI
IDirectMusicObjectImpl_ParseDescriptor
(
IDirectMusicObject
*
iface
,
IStream
*
stream
,
DMUS_OBJECTDESC
*
desc
)
{
struct
dmobject
*
This
=
impl_from_IDirectMusicObject
(
iface
);
DMUS_PRIVATE_CHUNK
chunk
;
...
...
@@ -385,11 +389,12 @@ static const IDirectMusicObjectVtbl dmobject_vtbl = {
dmobj_IDirectMusicObject_Release
,
dmobj_IDirectMusicObject_GetDescriptor
,
dmobj_IDirectMusicObject_SetDescriptor
,
IDirectMusicCollectionImpl_IDirectMusicObject
_ParseDescriptor
IDirectMusicObjectImpl
_ParseDescriptor
};
/* IDirectMusicCollectionImpl IPersistStream part: */
static
HRESULT
WINAPI
IDirectMusicCollectionImpl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
stream
)
static
HRESULT
WINAPI
IPersistStreamImpl_Load
(
IPersistStream
*
iface
,
IStream
*
stream
)
{
IDirectMusicCollectionImpl
*
This
=
impl_from_IPersistStream
(
iface
);
DMUS_PRIVATE_CHUNK
chunk
;
...
...
@@ -698,7 +703,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
dmobj_IPersistStream_Release
,
unimpl_IPersistStream_GetClassID
,
unimpl_IPersistStream_IsDirty
,
IDirectMusicCollectionImpl_IPersistStream
_Load
,
IPersistStreamImpl
_Load
,
unimpl_IPersistStream_Save
,
unimpl_IPersistStream_GetSizeMax
};
...
...
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