MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / FindZipItem

Function FindZipItem

src/Setup/unzip.cpp:4112–4119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4110}
4111
4112ZRESULT 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
4121ZRESULT UnzipItemInternal(HZIP hz, int index, void *dst, unsigned int len, DWORD flags)
4122{ if (hz==0) {lasterrorU=ZR_ARGS;return ZR_ARGS;}

Callers

nothing calls this directly

Calls 1

FindMethod · 0.45

Tested by

no test coverage detected