- Timestamp:
- Jun 1, 2001, 3:13:24 AM (24 years ago)
- Location:
- trunk/src/shell32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/iconcache.c
r5618 r5847 1 /* $Id: iconcache.c,v 1. 4 2001-04-28 13:33:44 sandervlExp $ */1 /* $Id: iconcache.c,v 1.5 2001-06-01 01:13:23 phaller Exp $ */ 2 2 /* 3 3 * shell icon cache (SIC) … … 784 784 index = pDPA_InsertPtr(sic_hdpa, 0x7fff, lpsice); 785 785 if ( INVALID_INDEX == index ) 786 { 786 { 787 // 2001-06-01 PH memory leak in WINE 788 HeapFree(GetProcessHeap(),0,lpsice->sSourceFile); 789 787 790 SHFree(lpsice); 788 791 ret = INVALID_INDEX; … … 917 920 ImageList_SetBkColor(ShellSmallIconList, GetSysColor(COLOR_WINDOW)); 918 921 ImageList_SetBkColor(ShellBigIconList, GetSysColor(COLOR_WINDOW)); 919 922 923 /* 2001-06-01 PH pre-initializing the list takes 924 * a long time. On-demand loading of the icons should 925 * be sufficient! (7 secs on P133) 926 * 920 927 for (index=1; index<46; index++) 921 928 { … … 929 936 } 930 937 SIC_IconAppend ("shell32.dll", index, hSm, hLg); 931 } 938 } 939 */ 932 940 933 941 TRACE("hIconSmall=%p hIconBig=%p\n",ShellSmallIconList, ShellBigIconList); -
trunk/src/shell32/shell32_main.c
r5618 r5847 1 /* $Id: shell32_main.c,v 1. 2 2001-04-28 13:33:45 sandervlExp $ */1 /* $Id: shell32_main.c,v 1.3 2001-06-01 01:13:24 phaller Exp $ */ 2 2 /* 3 3 * Shell basics … … 39 39 #include <misc.h> 40 40 #endif 41 42 #define PERF_ENABLED 43 #include "perf.h" 41 44 42 45 DEFAULT_DEBUG_CHANNEL(shell); … … 889 892 BOOL WINAPI Shell32LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) 890 893 { 894 PERF_INIT(shell32_i1) 895 PERF_INIT(shell32_i2) 896 PERF_INIT(shell32_i3) 897 PERF_INIT(shell32_i4) 898 PERF_INIT(shell32_i5) 899 891 900 TRACE("0x%x 0x%lx %p\n", hinstDLL, fdwReason, fImpLoad); 892 901 893 902 switch (fdwReason) 894 903 { 895 case DLL_PROCESS_ATTACH: 904 case DLL_PROCESS_ATTACH: 905 906 PERF_START(shell32_i1) 907 896 908 shell32_RefCount++; 897 909 if (shell32_hInstance) return TRUE; … … 913 925 /* initialize the common controls */ 914 926 InitCommonControlsEx(NULL); 915 927 928 PERF_ELAPSED(shell32_i1, "Shell32LibMain", "i1") 929 PERF_START(shell32_i2) 916 930 SIC_Initialize(); 931 PERF_ELAPSED(shell32_i2, "Shell32LibMain", "i2") 932 PERF_START(shell32_i3) 917 933 SYSTRAY_Init(); 934 PERF_ELAPSED(shell32_i3, "Shell32LibMain", "i3") 935 PERF_START(shell32_i4) 918 936 InitChangeNotifications(); 937 PERF_ELAPSED(shell32_i4, "Shell32LibMain", "i4") 938 PERF_START(shell32_i5) 919 939 SHInitRestricted(NULL, NULL); 940 PERF_ELAPSED(shell32_i5, "Shell32LibMain", "i5") 920 941 break; 921 942
Note:
See TracChangeset
for help on using the changeset viewer.