[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-cvs
Subject:    Michael Stefaniuc : dmband: Remove the redundant "IDirectMusicBand" from method names.
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2014-01-30 19:25:26
Message-ID: E1W8xEs-0001Hs-1q () wine ! codeweavers ! com
[Download RAW message or body]

Module: wine
Branch: master
Commit: fa9e47812c2df2aa6c089c49da2c19ac59d2afba
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fa9e47812c2df2aa6c089c49da2c19ac59d2afba


Author: Michael Stefaniuc <mstefani@redhat.de>
Date:   Thu Jan 30 01:01:06 2014 +0100

dmband: Remove the redundant "IDirectMusicBand" from method names.

---

 dlls/dmband/band.c |   34 ++++++++++++++++++++++------------
 1 file changed, 22 insertions(+), 12 deletions(-)

diff --git a/dlls/dmband/band.c b/dlls/dmband/band.c
index e72a042..74cd98c 100644
--- a/dlls/dmband/band.c
+++ b/dlls/dmband/band.c
@@ -86,46 +86,56 @@ static const IUnknownVtbl DirectMusicBand_Unknown_Vtbl = {
 };
 
 /* IDirectMusicBandImpl IDirectMusicBand part: */
-static HRESULT WINAPI IDirectMusicBandImpl_IDirectMusicBand_QueryInterface \
(LPDIRECTMUSICBAND iface, REFIID riid, LPVOID *ppobj) { +static HRESULT WINAPI \
IDirectMusicBandImpl_QueryInterface(IDirectMusicBand *iface, REFIID riid, +        \
void **ppobj) +{
 	ICOM_THIS_MULTI(IDirectMusicBandImpl, BandVtbl, iface);
 	return IUnknown_QueryInterface ((LPUNKNOWN)&This->UnknownVtbl, riid, ppobj);
 }
 
-static ULONG WINAPI IDirectMusicBandImpl_IDirectMusicBand_AddRef (LPDIRECTMUSICBAND \
iface) { +static ULONG WINAPI IDirectMusicBandImpl_AddRef(IDirectMusicBand *iface)
+{
 	ICOM_THIS_MULTI(IDirectMusicBandImpl, BandVtbl, iface);
 	return IUnknown_AddRef ((LPUNKNOWN)&This->UnknownVtbl);
 }
 
-static ULONG WINAPI IDirectMusicBandImpl_IDirectMusicBand_Release (LPDIRECTMUSICBAND \
iface) { +static ULONG WINAPI IDirectMusicBandImpl_Release(IDirectMusicBand *iface)
+{
 	ICOM_THIS_MULTI(IDirectMusicBandImpl, BandVtbl, iface);
 	return IUnknown_Release ((LPUNKNOWN)&This->UnknownVtbl);
 }
 
-static HRESULT WINAPI IDirectMusicBandImpl_IDirectMusicBand_CreateSegment \
(LPDIRECTMUSICBAND iface, IDirectMusicSegment** ppSegment) { +static HRESULT WINAPI \
IDirectMusicBandImpl_CreateSegment(IDirectMusicBand *iface, +        \
IDirectMusicSegment **ppSegment) +{
 	ICOM_THIS_MULTI(IDirectMusicBandImpl, BandVtbl, iface);
 	FIXME("(%p, %p): stub\n", This, ppSegment);
 	return S_OK;
 }
 
-static HRESULT WINAPI IDirectMusicBandImpl_IDirectMusicBand_Download \
(LPDIRECTMUSICBAND iface, IDirectMusicPerformance* pPerformance) { +static HRESULT \
WINAPI IDirectMusicBandImpl_Download(IDirectMusicBand *iface, +        \
IDirectMusicPerformance *pPerformance) +{
 	ICOM_THIS_MULTI(IDirectMusicBandImpl, BandVtbl, iface);
 	FIXME("(%p, %p): stub\n", This, pPerformance);
 	return S_OK;
 }
 
-static HRESULT WINAPI IDirectMusicBandImpl_IDirectMusicBand_Unload \
(LPDIRECTMUSICBAND iface, IDirectMusicPerformance* pPerformance) { +static HRESULT \
WINAPI IDirectMusicBandImpl_Unload(IDirectMusicBand *iface, +        \
IDirectMusicPerformance *pPerformance) +{
 	ICOM_THIS_MULTI(IDirectMusicBandImpl, BandVtbl, iface);
 	FIXME("(%p, %p): stub\n", This, pPerformance);
 	return S_OK;
 }
 
 static const IDirectMusicBandVtbl DirectMusicBand_Band_Vtbl = {
-	IDirectMusicBandImpl_IDirectMusicBand_QueryInterface,
-	IDirectMusicBandImpl_IDirectMusicBand_AddRef,
-	IDirectMusicBandImpl_IDirectMusicBand_Release,
-	IDirectMusicBandImpl_IDirectMusicBand_CreateSegment,
-	IDirectMusicBandImpl_IDirectMusicBand_Download,
-	IDirectMusicBandImpl_IDirectMusicBand_Unload
+    IDirectMusicBandImpl_QueryInterface,
+    IDirectMusicBandImpl_AddRef,
+    IDirectMusicBandImpl_Release,
+    IDirectMusicBandImpl_CreateSegment,
+    IDirectMusicBandImpl_Download,
+    IDirectMusicBandImpl_Unload
 };
 
 /* IDirectMusicBandImpl IDirectMusicObject part: */


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic