Changeset 1673 for trunk/dll/eas.c
- Timestamp:
- Dec 30, 2012, 7:51:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/eas.c
r1628 r1673 87 87 HOLDFEA *CheckEA(HOLDFEA * head, CHAR * eaname) 88 88 { 89 / * return pointer to ea named eaname if found in linked list */89 // return pointer to ea named eaname if found in linked list 90 90 91 91 register HOLDFEA *info = NULL; … … 196 196 } 197 197 } 198 / * if we get here, create dummy ea */198 // if we get here, create dummy ea 199 199 { 200 200 PFEA2LIST pfealist = NULL; … … 215 215 eaval += sizeof(USHORT); 216 216 if (type == EAT_MVST || type == EAT_MVMT) { 217 *(USHORT *) eaval = (USHORT) 0; / * codepage */217 *(USHORT *) eaval = (USHORT) 0; // codepage 218 218 eaval += sizeof(USHORT); 219 *(USHORT *) eaval = (USHORT) 1; / * number */219 *(USHORT *) eaval = (USHORT) 1; // number 220 220 eaval += sizeof(USHORT); 221 *(USHORT *) eaval = (USHORT) EAT_ASCII; / * type */221 *(USHORT *) eaval = (USHORT) EAT_ASCII; // type 222 222 eaval += sizeof(USHORT); 223 223 } … … 263 263 VOID HexDump(HWND hwnd, CHAR * value, ULONG cbValue) 264 264 { 265 / * display a hexdump of a binary 'string' in listbox hwnd */265 // display a hexdump of a binary 'string' in listbox hwnd 266 266 267 267 CHAR s[132]; … … 1059 1059 BOOL silentfail) 1060 1060 { 1061 / * save an ea to disk */1061 // save an ea to disk 1062 1062 1063 1063 PFEA2LIST pfealist = NULL; … … 1154 1154 } 1155 1155 break; 1156 /* 1157 1158 1156 /** 1157 * cbList nextoffset fea cb cbval name....... 1158 * 000000 3C 00 00 00 00 00 00 00 6F 0B 24 00 2E 4B 45 59 < o 1159 1159 $ .KEY 1160 1161 1162 1163 1160 * .................... eat code num eat 1161 * 000010 50 48 52 41 53 45 53 00 DF FF 00 00 02 00 FD FF PHRASES ßÿ ýÿ 1162 * len.. phrase1............................ eat 1163 * 000020 0C 00 4B 65 79 20 70 68 72 61 73 65 20 31 FD FF 1164 1164 Key phrase 1ýÿ 1165 1166 1165 * len.. phrase2...................... 1166 * 000030 0A 00 4B 65 79 20 70 68 72 61 73 65 Key phrase 1167 1167 */ 1168 1168 case EAT_MVMT: … … 1201 1201 break; 1202 1202 } 1203 pfealist->list[0].cbValue = /*(ULONG)*/ (eaval - 1204 (pfealist->list[0].szName + 1205 pfealist->list[0].cbName + 1)); 1203 pfealist->list[0].cbValue = eaval - (pfealist->list[0].szName + pfealist->list[0].cbName + 1); 1206 1204 eaop.fpGEA2List = (PGEA2LIST) 0; 1207 1205 eaop.fpFEA2List = pfealist; … … 1239 1237 HOLDFEA *GetFileEAs(CHAR * filename, BOOL ishandle, BOOL silentfail) 1240 1238 { 1241 / * load eas from disk into HOLDFEA linked list */1239 // load eas from disk into HOLDFEA linked list 1242 1240 1243 1241 HOLDFEA *head = NULL, *info, *last = NULL; … … 1342 1340 } 1343 1341 else { 1344 / * try it without opening it */1342 // try it without opening it 1345 1343 if (!DosQueryPathInfo(filename, FIL_QUERYEASIZE, (PVOID) & fsa4, 1346 1344 (ULONG) sizeof(fsa4)) && … … 1441 1439 VOID Free_FEAList(HOLDFEA * pFEA) 1442 1440 { 1443 / * free a linked list of HOLDFEAs */1441 // free a linked list of HOLDFEAs 1444 1442 1445 1443 register HOLDFEA *next; 1446 1444 1447 1445 while (pFEA) { 1448 / * Free linked list */1446 // Free linked list 1449 1447 next = pFEA->next; 1450 1448 xfree(pFEA->pfea, pszSrcFile, __LINE__);
Note:
See TracChangeset
for help on using the changeset viewer.