OpenArchive

Far Manager

OpenArchive

Opens an archive and prepares it for reading. Called after a successful execution of the IsArchive function.
BOOL WINAPI OpenArchive(
  const char *Name,
  int *Type
);

Parameters

Name
archive name
Type
if the plugin supports several archive types then set it to the archive type else set it to 0.

Return value

TRUE if success, FALSE in case of error.

Remarks

This function should be used for archive file opening, getting the necessary information about an archive and all that is needed for successfull filling of FAR's virtual file system.

See also: