#225 ExtractIconEx

closed-fixed
Earnie Boyd
2002-12-09
2002-12-08
No

Hi,

The ExtractIconEx function is declared this way in
shellapi.h:
HICON WINAPI ExtractIconExA(LPCSTR,int,HICON*,HICON*,UINT);
HICON WINAPI
ExtractIconExW(LPCWSTR,int,HICON*,HICON*,UINT);

However MSDN has another declaration for this function:
UINT ExtractIconEx(LPCTSTR, int, HICON*, HICON*, UINT);

I believe the return value of ExtractIcon was
mistakenly used for the return value of ExtractIconEx:
HICON ExtractIcon(HINSTANCE, LPCTSTR, UINT);

References:
http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/resources/icons/iconreference/iconfunctions/extracticon.asp
http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/resources/icons/iconreference/iconfunctions/extracticonex.asp

Discussion

  • Danny Smith
    Danny Smith
    2002-12-09

    Logged In: YES
    user_id=11494

    Thanks
    Committed to CVS.
    Danny

     
  • Danny Smith
    Danny Smith
    2002-12-09

    • status: open --> closed-fixed