Changeset 7359 for trunk/src/shell32/enumidlist.c
- Timestamp:
- Nov 16, 2001, 1:57:45 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/enumidlist.c
r7015 r7359 1 /* $Id: enumidlist.c,v 1. 2 2001-10-11 02:42:27phaller Exp $ */1 /* $Id: enumidlist.c,v 1.3 2001-11-16 12:57:45 phaller Exp $ */ 2 2 /* 3 3 * IEnumIDList … … 24 24 25 25 DEFAULT_DEBUG_CHANNEL(shell) 26 27 /****************************************************************************28 * local prototypes29 ****************************************************************************/30 31 LPITEMIDLIST _Optlink ODIN_ILClone (LPCITEMIDLIST pidl);32 33 void _Optlink ODIN_SHFree (LPVOID x);34 LPVOID _Optlink ODIN_SHAlloc (DWORD len);35 36 37 26 38 27 typedef struct tagENUMLIST … … 71 60 72 61 TRACE("(%p)->(pidl=%p)\n",This,pidl); 73 pNew = (LPENUMLIST) ODIN_SHAlloc(sizeof(ENUMLIST));62 pNew = (LPENUMLIST)SHAlloc(sizeof(ENUMLIST)); 74 63 if(pNew) 75 64 { … … 117 106 118 107 TRACE("(%p)->(pidl=%p)\n",This,pidl); 119 pNew = (LPENUMLIST) ODIN_SHAlloc(sizeof(ENUMLIST));108 pNew = (LPENUMLIST)SHAlloc(sizeof(ENUMLIST)); 120 109 if(pNew) 121 110 { … … 471 460 { pDelete = This->mpFirst; 472 461 This->mpFirst = pDelete->pNext; 473 ODIN_SHFree(pDelete->pidl);474 ODIN_SHFree(pDelete);462 SHFree(pDelete->pidl); 463 SHFree(pDelete); 475 464 } 476 465 This->mpFirst = This->mpLast = This->mpCurrent = NULL; … … 633 622 break; 634 623 } 635 temp = ODIN_ILClone(This->mpCurrent->pidl);624 temp = ILClone(This->mpCurrent->pidl); 636 625 rgelt[i] = temp; 637 626 This->mpCurrent = This->mpCurrent->pNext;
Note:
See TracChangeset
for help on using the changeset viewer.