- Timestamp:
- Aug 22, 2002, 4:20:44 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/enumidlist.c
r8586 r9094 1 /* $Id: enumidlist.c,v 1. 5 2002-06-07 08:21:43sandervl Exp $ */1 /* $Id: enumidlist.c,v 1.6 2002-08-22 14:20:44 sandervl Exp $ */ 2 2 /* 3 3 * IEnumIDList … … 92 92 * CreateFolderEnumList() 93 93 */ 94 #define __WIN32OS2__TEST_TURNED_OFF 95 94 96 #ifdef __WIN32OS2__TEST_TURNED_OFF 95 97 //CB: Special version to speed up retrieving files in a directory 96 98 //SvL: Works well and is twice as fast. Quite important when called way too 99 // many times 97 100 /************************************************************************** 98 101 * AddToEnumList() … … 210 213 return FALSE; 211 214 } 212 } else if (dwFlags & SHCONTF_NONFOLDERS) 215 } 216 else 217 if (dwFlags & SHCONTF_NONFOLDERS) 213 218 { //file 214 219 pidl = _ILCreateValue(&stffile[x]); … … 221 226 } 222 227 count = MULTICOUNT; 223 } while(FindNextFileMultiA(hFile,stffile,&count)); 228 } 229 while(FindNextFileMultiA(hFile,stffile,&count)); 230 224 231 FindClose(hFile); 225 232 UniteEnumLists((IEnumIDList*)This); … … 514 521 { 515 522 HeapFree(GetProcessHeap(),0,lpeidl); 523 lpeidl = NULL; 516 524 } 517 525 }
Note:
See TracChangeset
for help on using the changeset viewer.