Changeset 1148


Ignore:
Timestamp:
06/27/09 08:55:34 (5 years ago)
Author:
lowjoel
Message:

Fixed a crash when right-clicking a drive in the Computer folder. Thanks to mcmaster76 at http://bbs.heidi.ie/viewtopic.php?p=15130#p15130 for reporting the bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/ShellExt/CtxMenu.cpp

    r1030 r1148  
    283283 
    284284                static HMODULE shellAPI = LoadLibrary(L"Shell32.dll"); 
    285                 typedef HRESULT (*pSHGetStockIconInfo)(SHSTOCKICONID siid, UINT uFlags, 
    286                     SHSTOCKICONINFO *psii); 
     285                typedef HRESULT (__stdcall *pSHGetStockIconInfo)(SHSTOCKICONID siid, UINT uFlags, 
     286                    SHSTOCKICONINFO* psii); 
    287287                pSHGetStockIconInfo SHGetStockIconInfo = reinterpret_cast<pSHGetStockIconInfo>( 
    288288                    GetProcAddress(shellAPI, "SHGetStockIconInfo")); 
Note: See TracChangeset for help on using the changeset viewer.