GetSFXPos

Far Manager

GetSFXPos

Returns the position of the beginning of the archive in the data stream passed to the function.
DWORD WINAPI GetSFXPos(void);

Parameters

None.

Return value

Position of the beginning of the archive relative to the beginning of file.

Remarks

GetSFXPos function is called right after the successful archive recognition by the IsArchive function. MultiArc selects the FMT-module which returned the least value (closer to the beginning of the file). This fixes the issue when, for example, there's an ARJ archive placed without compression inside the ZIP archive with the name, say, "N3gk8v1t.106". Previous versions of MultiArc would show the contents of the ARJ archive instead of the ZIP one.

See also: