Francois Gouget : winmm: MMDRV_GetRelated() is not used anymore so remove it.

Alexandre Julliard julliard at winehq.org
Mon Aug 13 13:21:18 CDT 2012


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Aug 13 00:14:35 2012 +0200

winmm: MMDRV_GetRelated() is not used anymore so remove it.

---

 dlls/winmm/lolvldrv.c |   18 ------------------
 dlls/winmm/winemm.h   |    1 -
 2 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/dlls/winmm/lolvldrv.c b/dlls/winmm/lolvldrv.c
index 7081a86..f387323 100644
--- a/dlls/winmm/lolvldrv.c
+++ b/dlls/winmm/lolvldrv.c
@@ -282,24 +282,6 @@ LPWINE_MLD	MMDRV_Get(HANDLE _hndl, UINT type, BOOL bCanBeID)
 }
 
 /**************************************************************************
- * 				MMDRV_GetRelated		[internal]
- */
-LPWINE_MLD	MMDRV_GetRelated(HANDLE hndl, UINT srcType,
-				 BOOL bSrcCanBeID, UINT dstType)
-{
-    LPWINE_MLD		mld;
-    TRACE("(%p, %04x, %c, %04x)\n",
-          hndl, srcType, bSrcCanBeID ? 'Y' : 'N', dstType);
-
-    if ((mld = MMDRV_Get(hndl, srcType, bSrcCanBeID)) != NULL) {
-	WINE_MM_DRIVER_PART*	part = &MMDrvs[mld->mmdIndex].parts[dstType];
-	if (part->nIDMin < part->nIDMax)
-	    return MMDRV_GetByID(part->nIDMin, dstType);
-    }
-    return NULL;
-}
-
-/**************************************************************************
  * 				MMDRV_PhysicalFeatures		[internal]
  */
 UINT	MMDRV_PhysicalFeatures(LPWINE_MLD mld, UINT uMsg,
diff --git a/dlls/winmm/winemm.h b/dlls/winmm/winemm.h
index 93c2627..d7bab0f 100644
--- a/dlls/winmm/winemm.h
+++ b/dlls/winmm/winemm.h
@@ -140,7 +140,6 @@ void		MMDRV_Free(HANDLE hndl, LPWINE_MLD mld) DECLSPEC_HIDDEN;
 DWORD		MMDRV_Open(LPWINE_MLD mld, UINT wMsg, DWORD_PTR dwParam1, DWORD dwParam2) DECLSPEC_HIDDEN;
 DWORD		MMDRV_Close(LPWINE_MLD mld, UINT wMsg) DECLSPEC_HIDDEN;
 LPWINE_MLD	MMDRV_Get(HANDLE hndl, UINT type, BOOL bCanBeID) DECLSPEC_HIDDEN;
-LPWINE_MLD	MMDRV_GetRelated(HANDLE hndl, UINT srcType, BOOL bSrcCanBeID, UINT dstTyped) DECLSPEC_HIDDEN;
 DWORD           MMDRV_Message(LPWINE_MLD mld, UINT wMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2) DECLSPEC_HIDDEN;
 UINT		MMDRV_PhysicalFeatures(LPWINE_MLD mld, UINT uMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2) DECLSPEC_HIDDEN;
 




More information about the wine-cvs mailing list