Добавил поддержку генерации отчёта о применённых отображениях папок.
Пример вывода:
Code:
$ <= $\Mods\WoG Native Dialogs [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\#Dlg_ExpaMon *MISS* [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\#WoG Native Dialogs *MISS* [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\Phoenix [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\#New Music Pack *MISS* [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\#BattleHeroes *MISS* [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\Morn battlefields [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\Big Spellbook [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\Vallex Portraits [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\WoG Rus [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\Secondary Skills Scrolling [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\Yona [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\Fast Battle Animation [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\Quick Savings [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
$ <= $\Mods\WoG [Overwrite = 0, Flags = 0, $ = "D:\Heroes 3"]
(* Returns text with all applied mappings, separated via #13#10. If ShortenPaths is true, common part
of real and virtual paths is stripped. Call MemFree to release result buffer *)
function GetMappingsReport: {O} PWideChar; stdcall; external 'vfs.dll';
function GetMappingsReportA: {O} pchar; stdcall; external 'vfs.dll';
(* Frees buffer, that was transfered to client earlier using other VFS API *)
procedure MemFree ({O} Buf: pointer); stdcall; external 'vfs.dll';