| 4355 | } |
| 4356 | |
| 4357 | ZRESULT FindZipItemA(HZIP hz, const TCHAR *name, bool ic, int *index, ZIPENTRY *ze) |
| 4358 | { |
| 4359 | if (hz==0) |
| 4360 | { |
| 4361 | lasterrorU=ZR_ARGS; |
| 4362 | return ZR_ARGS; |
| 4363 | } |
| 4364 | TUnzipHandleData *han = (TUnzipHandleData*)hz; |
| 4365 | if (han->flag!=1) |
| 4366 | { |
| 4367 | lasterrorU=ZR_ZMODE; |
| 4368 | return ZR_ZMODE; |
| 4369 | } |
| 4370 | TUnzip *unz = han->unz; |
| 4371 | lasterrorU = unz->Find(name,ic,index,ze); |
| 4372 | return lasterrorU; |
| 4373 | } |
| 4374 | |
| 4375 | ZRESULT FindZipItemW(HZIP hz, const TCHAR *name, bool ic, int *index, ZIPENTRYW *zew) |
| 4376 | { |