Программы, плагины, статьи от Моторокера

Новости
Статьи
Программы
Ссылки
Автор

Рекомендации по написанию архиваторных плагинов для Total Commander

StartMemPack – начать упаковку в памяти

StartMemPack начинает упаковку в памяти. This function is only needed if you want to create archives in combination with TAR, e.g. TAR.BZ2. It allows Total Commander to create a TAR.Plugin file in a single step.

int __stdcall StartMemPack (int Options, char *FileName);

Описание

StartMemPack should return a user-defined handle (e.g. pointer to a structure) on success, zero otherwise.

FileName refers to the name of the file being packed – some packers store the name in the local header.

Options can contain a combination of the following values:

КонстантаЗначениеОписание
MEM_OPTIONS_WANTHEADERS1The output stream should include the complete headers (beginning+end)


© 2006–2011 Моторокер Плагины для Total Commander