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
717c278b
Commit
717c278b
authored
Sep 11, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle: Rename IDirectMusicStyle8Impl method prefix to style.
parent
377ba8a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
35 deletions
+30
-35
style.c
dlls/dmstyle/style.c
+30
-35
No files found.
dlls/dmstyle/style.c
View file @
717c278b
...
...
@@ -63,8 +63,7 @@ static inline IDirectMusicStyle8Impl *impl_from_IDirectMusicStyle8(IDirectMusicS
return
CONTAINING_RECORD
(
iface
,
IDirectMusicStyle8Impl
,
IDirectMusicStyle8_iface
);
}
/* DirectMusicStyle8Impl IDirectMusicStyle8 part: */
static
HRESULT
WINAPI
IDirectMusicStyle8Impl_QueryInterface
(
IDirectMusicStyle8
*
iface
,
REFIID
riid
,
static
HRESULT
WINAPI
style_QueryInterface
(
IDirectMusicStyle8
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -89,7 +88,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_QueryInterface(IDirectMusicStyle8 *
return
S_OK
;
}
static
ULONG
WINAPI
IDirectMusicStyle8Impl
_AddRef
(
IDirectMusicStyle8
*
iface
)
static
ULONG
WINAPI
style
_AddRef
(
IDirectMusicStyle8
*
iface
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
LONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -99,7 +98,7 @@ static ULONG WINAPI IDirectMusicStyle8Impl_AddRef(IDirectMusicStyle8 *iface)
return
ref
;
}
static
ULONG
WINAPI
IDirectMusicStyle8Impl
_Release
(
IDirectMusicStyle8
*
iface
)
static
ULONG
WINAPI
style
_Release
(
IDirectMusicStyle8
*
iface
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -131,8 +130,7 @@ static ULONG WINAPI IDirectMusicStyle8Impl_Release(IDirectMusicStyle8 *iface)
return
ref
;
}
/* IDirectMusicStyle8Impl IDirectMusicStyle(8) part: */
static
HRESULT
WINAPI
IDirectMusicStyle8Impl_GetBand
(
IDirectMusicStyle8
*
iface
,
WCHAR
*
name
,
static
HRESULT
WINAPI
style_GetBand
(
IDirectMusicStyle8
*
iface
,
WCHAR
*
name
,
IDirectMusicBand
**
band
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -167,7 +165,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_GetBand(IDirectMusicStyle8 *iface,
return
S_FALSE
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_EnumBand
(
IDirectMusicStyle8
*
iface
,
DWORD
dwIndex
,
static
HRESULT
WINAPI
style
_EnumBand
(
IDirectMusicStyle8
*
iface
,
DWORD
dwIndex
,
WCHAR
*
pwszName
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -175,7 +173,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_EnumBand(IDirectMusicStyle8 *iface,
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_GetDefaultBand
(
IDirectMusicStyle8
*
iface
,
static
HRESULT
WINAPI
style
_GetDefaultBand
(
IDirectMusicStyle8
*
iface
,
IDirectMusicBand
**
band
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -189,7 +187,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_GetDefaultBand(IDirectMusicStyle8 *
return
S_FALSE
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_EnumMotif
(
IDirectMusicStyle8
*
iface
,
DWORD
index
,
static
HRESULT
WINAPI
style
_EnumMotif
(
IDirectMusicStyle8
*
iface
,
DWORD
index
,
WCHAR
*
name
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -222,7 +220,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_EnumMotif(IDirectMusicStyle8 *iface
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_GetMotif
(
IDirectMusicStyle8
*
iface
,
WCHAR
*
pwszName
,
static
HRESULT
WINAPI
style
_GetMotif
(
IDirectMusicStyle8
*
iface
,
WCHAR
*
pwszName
,
IDirectMusicSegment
**
ppSegment
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -230,7 +228,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_GetMotif(IDirectMusicStyle8 *iface,
return
S_FALSE
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_GetDefaultChordMap
(
IDirectMusicStyle8
*
iface
,
static
HRESULT
WINAPI
style
_GetDefaultChordMap
(
IDirectMusicStyle8
*
iface
,
IDirectMusicChordMap
**
ppChordMap
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -238,7 +236,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_GetDefaultChordMap(IDirectMusicStyl
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_EnumChordMap
(
IDirectMusicStyle8
*
iface
,
DWORD
dwIndex
,
static
HRESULT
WINAPI
style
_EnumChordMap
(
IDirectMusicStyle8
*
iface
,
DWORD
dwIndex
,
WCHAR
*
pwszName
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -246,7 +244,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_EnumChordMap(IDirectMusicStyle8 *if
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_GetChordMap
(
IDirectMusicStyle8
*
iface
,
WCHAR
*
pwszName
,
static
HRESULT
WINAPI
style
_GetChordMap
(
IDirectMusicStyle8
*
iface
,
WCHAR
*
pwszName
,
IDirectMusicChordMap
**
ppChordMap
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -254,7 +252,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_GetChordMap(IDirectMusicStyle8 *ifa
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_GetTimeSignature
(
IDirectMusicStyle8
*
iface
,
static
HRESULT
WINAPI
style
_GetTimeSignature
(
IDirectMusicStyle8
*
iface
,
DMUS_TIMESIGNATURE
*
pTimeSig
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -262,7 +260,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_GetTimeSignature(IDirectMusicStyle8
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_GetEmbellishmentLength
(
IDirectMusicStyle8
*
iface
,
static
HRESULT
WINAPI
style
_GetEmbellishmentLength
(
IDirectMusicStyle8
*
iface
,
DWORD
dwType
,
DWORD
dwLevel
,
DWORD
*
pdwMin
,
DWORD
*
pdwMax
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -270,14 +268,14 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_GetEmbellishmentLength(IDirectMusic
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_GetTempo
(
IDirectMusicStyle8
*
iface
,
double
*
pTempo
)
static
HRESULT
WINAPI
style
_GetTempo
(
IDirectMusicStyle8
*
iface
,
double
*
pTempo
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pTempo
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicStyle8Impl
_EnumPattern
(
IDirectMusicStyle8
*
iface
,
DWORD
dwIndex
,
static
HRESULT
WINAPI
style
_EnumPattern
(
IDirectMusicStyle8
*
iface
,
DWORD
dwIndex
,
DWORD
dwPatternType
,
WCHAR
*
pwszName
)
{
IDirectMusicStyle8Impl
*
This
=
impl_from_IDirectMusicStyle8
(
iface
);
...
...
@@ -286,24 +284,23 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_EnumPattern(IDirectMusicStyle8 *ifa
}
static
const
IDirectMusicStyle8Vtbl
dmstyle8_vtbl
=
{
IDirectMusicStyle8Impl
_QueryInterface
,
IDirectMusicStyle8Impl
_AddRef
,
IDirectMusicStyle8Impl
_Release
,
IDirectMusicStyle8Impl
_GetBand
,
IDirectMusicStyle8Impl
_EnumBand
,
IDirectMusicStyle8Impl
_GetDefaultBand
,
IDirectMusicStyle8Impl
_EnumMotif
,
IDirectMusicStyle8Impl
_GetMotif
,
IDirectMusicStyle8Impl
_GetDefaultChordMap
,
IDirectMusicStyle8Impl
_EnumChordMap
,
IDirectMusicStyle8Impl
_GetChordMap
,
IDirectMusicStyle8Impl
_GetTimeSignature
,
IDirectMusicStyle8Impl
_GetEmbellishmentLength
,
IDirectMusicStyle8Impl
_GetTempo
,
IDirectMusicStyle8Impl
_EnumPattern
style
_QueryInterface
,
style
_AddRef
,
style
_Release
,
style
_GetBand
,
style
_EnumBand
,
style
_GetDefaultBand
,
style
_EnumMotif
,
style
_GetMotif
,
style
_GetDefaultChordMap
,
style
_EnumChordMap
,
style
_GetChordMap
,
style
_GetTimeSignature
,
style
_GetEmbellishmentLength
,
style
_GetTempo
,
style
_EnumPattern
};
/* IDirectMusicStyle8Impl IDirectMusicObject part: */
static
HRESULT
WINAPI
style_IDirectMusicObject_ParseDescriptor
(
IDirectMusicObject
*
iface
,
IStream
*
stream
,
DMUS_OBJECTDESC
*
desc
)
{
...
...
@@ -344,7 +341,6 @@ static const IDirectMusicObjectVtbl dmobject_vtbl = {
style_IDirectMusicObject_ParseDescriptor
};
/* IDirectMusicStyle8Impl IPersistStream part: */
static
inline
IDirectMusicStyle8Impl
*
impl_from_IPersistStream
(
IPersistStream
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicStyle8Impl
,
dmobj
.
IPersistStream_iface
);
...
...
@@ -958,7 +954,6 @@ static const IPersistStreamVtbl persiststream_vtbl = {
unimpl_IPersistStream_GetSizeMax
};
/* for ClassFactory */
HRESULT
create_dmstyle
(
REFIID
lpcGUID
,
void
**
ppobj
)
{
IDirectMusicStyle8Impl
*
obj
;
...
...
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