user32: LookupIconIdFromDirectory16() is unused so remove it.

Francois Gouget fgouget at free.fr
Sat Feb 7 13:18:40 CST 2009


---

Apparently it's not even exported by user.exe although it exports 
LookupIconIdFromDirectoryEx(). So there does not seem to be any point in 
keeping LookupIconIdFromDirectory16().

 dlls/user32/cursoricon.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c
index 8049a67..478e0c6 100644
--- a/dlls/user32/cursoricon.c
+++ b/dlls/user32/cursoricon.c
@@ -1807,16 +1807,6 @@ INT WINAPI LookupIconIdFromDirectoryEx( LPBYTE xdir, BOOL bIcon,
 }
 
 /**********************************************************************
- *              LookupIconIdFromDirectory (USER.?)
- */
-INT16 WINAPI LookupIconIdFromDirectory16( LPBYTE dir, BOOL16 bIcon )
-{
-    return LookupIconIdFromDirectoryEx16( dir, bIcon,
-           bIcon ? GetSystemMetrics(SM_CXICON) : GetSystemMetrics(SM_CXCURSOR),
-           bIcon ? GetSystemMetrics(SM_CYICON) : GetSystemMetrics(SM_CYCURSOR), bIcon ? 0 : LR_MONOCHROME );
-}
-
-/**********************************************************************
  *              LookupIconIdFromDirectory (USER32.@)
  */
 INT WINAPI LookupIconIdFromDirectory( LPBYTE dir, BOOL bIcon )
-- 
1.5.6.5



More information about the wine-patches mailing list