diff --git a/windows/cursoricon.c b/windows/cursoricon.c index 4205b4be3dd..7afa61712d2 100644 --- a/windows/cursoricon.c +++ b/windows/cursoricon.c @@ -1403,11 +1403,20 @@ BOOL WINAPI GetClipCursor( RECT *rect ) * * FIXME: exact parameter sizes */ -INT16 WINAPI LookupIconIdFromDirectoryEx16( LPBYTE xdir, BOOL16 bIcon, +INT16 WINAPI LookupIconIdFromDirectoryEx16( LPBYTE dir, BOOL16 bIcon, INT16 width, INT16 height, UINT16 cFlag ) +{ + return LookupIconIdFromDirectoryEx( dir, bIcon, width, height, cFlag ); +} + +/********************************************************************** + * LookupIconIdFromDirectoryEx (USER32.@) + */ +INT WINAPI LookupIconIdFromDirectoryEx( LPBYTE xdir, BOOL bIcon, + INT width, INT height, UINT cFlag ) { CURSORICONDIR *dir = (CURSORICONDIR*)xdir; - UINT16 retVal = 0; + UINT retVal = 0; if( dir && !dir->idReserved && (dir->idType & 3) ) { CURSORICONDIRENTRY* entry; @@ -1433,15 +1442,6 @@ INT16 WINAPI LookupIconIdFromDirectoryEx16( LPBYTE xdir, BOOL16 bIcon, return retVal; } -/********************************************************************** - * LookupIconIdFromDirectoryEx (USER32.@) - */ -INT WINAPI LookupIconIdFromDirectoryEx( LPBYTE dir, BOOL bIcon, - INT width, INT height, UINT cFlag ) -{ - return LookupIconIdFromDirectoryEx16( dir, bIcon, width, height, cFlag ); -} - /********************************************************************** * LookupIconIdFromDirectory (USER.?) */