[PATCH 5/8] dmband: Remove the redundant "IDirectMusicBand" from method names.

Michael Stefaniuc mstefani at redhat.de
Wed Jan 29 18:01:06 CST 2014


---
 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: */
-- 
1.8.3.1



More information about the wine-patches mailing list