mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
- Fixed iIndex use in SHGetFileInfoA (as of MSDN, iIndex is copied in
the iIcon field of psfi) - Removed DLL_THREAD_ATTACH and DLL_THREAD_DETACH cases.
This commit is contained in:
parent
021604c600
commit
fac288394a
@ -392,7 +392,7 @@ DWORD WINAPI SHGetFileInfoA(LPCSTR path,DWORD dwFileAttributes,
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
hr = IExtractIconA_GetIconLocation(pei, (flags & SHGFI_OPENICON)? GIL_OPENICON : 0,szLocation, MAX_PATH, &iIndex, &uFlags);
|
||||
/* FIXME what to do with the index? */
|
||||
psfi->iIcon = iIndex;
|
||||
|
||||
if(uFlags != GIL_NOTFILENAME)
|
||||
strcpy (psfi->szDisplayName, szLocation);
|
||||
@ -1009,12 +1009,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
|
||||
SHInitRestricted(NULL, NULL);
|
||||
break;
|
||||
|
||||
case DLL_THREAD_ATTACH:
|
||||
break;
|
||||
|
||||
case DLL_THREAD_DETACH:
|
||||
break;
|
||||
|
||||
case DLL_PROCESS_DETACH:
|
||||
shell32_hInstance = 0;
|
||||
SIC_Destroy();
|
||||
|
Loading…
Reference in New Issue
Block a user