From: <no...@so...> - 2002-12-08 22:15:06
|
Bugs item #650580, was opened at 2002-12-08 23:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=650580&group_id=2435 Category: w32api Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dimitri Papadopoulos (dimitri_at) Assigned to: Earnie Boyd (earnie) Summary: ExtractIconEx Initial Comment: 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=650580&group_id=2435 |
From: <no...@so...> - 2002-12-09 01:55:20
|
Bugs item #650580, was opened at 2002-12-09 11:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=650580&group_id=2435 Category: w32api Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Dimitri Papadopoulos (dimitri_at) Assigned to: Earnie Boyd (earnie) Summary: ExtractIconEx Initial Comment: 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 ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2002-12-09 14:55 Message: Logged In: YES user_id=11494 Thanks Committed to CVS. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=650580&group_id=2435 |