| 4110 | } |
| 4111 | |
| 4112 | ZRESULT FindZipItem(HZIP hz, const TCHAR *name, bool ic, int *index, ZIPENTRY *ze) |
| 4113 | { if (hz==0) {lasterrorU=ZR_ARGS;return ZR_ARGS;} |
| 4114 | TUnzipHandleData *han = (TUnzipHandleData*)hz; |
| 4115 | if (han->flag!=1) {lasterrorU=ZR_ZMODE;return ZR_ZMODE;} |
| 4116 | TUnzip *unz = han->unz; |
| 4117 | lasterrorU = unz->Find(name,ic,index,ze); |
| 4118 | return lasterrorU; |
| 4119 | } |
| 4120 | |
| 4121 | ZRESULT UnzipItemInternal(HZIP hz, int index, void *dst, unsigned int len, DWORD flags) |
| 4122 | { if (hz==0) {lasterrorU=ZR_ARGS;return ZR_ARGS;} |