Dumpbackup

OllyDbg Plugin API

Dumpbackup

Function performs specified backup action (like creating or updating backup, reading backup from file, destroying backup etc.) on the dump. If action involves file operations (read data from file, save data or backup to file), user is prompted to select file name. Function neither redraws nor invalidates backup window.

void Dumpbackup(t_dump *pd,int action);

Parameters:

pd - pointer to dump descriptor;

action - constant that specifies requested backup action:

BKUP_CREATE Create or update backup copy
BKUP_VIEWDATA View original data
BKUP_VIEWCOPY View backup copy
BKUP_LOADCOPY Read backup copy from file
BKUP_SAVEDATA Save original data to file
BKUP_SAVECOPY Save backup copy to file
BKUP_DELETE Delete backup copy

See also: Createdumpwindow, Setdumptype