Francois Gouget : user32: LookupIconIdFromDirectory16() is unused so remove it.

Alexandre Julliard julliard at winehq.org
Mon Feb 9 10:29:37 CST 2009


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sat Feb  7 20:18:40 2009 +0100

user32: LookupIconIdFromDirectory16() is unused so remove it.

---

 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 )




More information about the wine-cvs mailing list