#include <src/Commands/DumpMemory.h>
List of all members.
Constructor & Destructor Documentation
virtual MemoryDumperCommandClass::~MemoryDumperCommandClass |
( |
| ) |
[inline, virtual] |
MemoryDumperCommandClass::MemoryDumperCommandClass |
( |
| ) |
[inline] |
Member Function Documentation
virtual void MemoryDumperCommandClass::Execute |
( |
DWORD |
dwUnk | ) |
[inline, virtual] |
{
Dialogs::TakeMouse();
HCURSOR loadCursor = LoadCursor(NULL, IDC_WAIT);
SetClassLong(Game::hWnd, GCL_HCURSOR, (LONG)loadCursor);
SetCursor(loadCursor);
MessageListClass::Instance->PrintMessage(L"Dumping process memory...");
wchar_t filename[MAX_PATH];
Debug::FullDump(NULL, filename);
const size_t len = MAX_PATH + 0x20;
wchar_t Message[len];
_snwprintf(Message, len, L"Process memory dumped to %s", filename);
MessageListClass::Instance->PrintMessage(Message);
Debug::Log("Process memory dumped to %ls\n", filename);
loadCursor = LoadCursor(NULL, IDC_ARROW);
SetClassLong(Game::hWnd, GCL_HCURSOR, (LONG)loadCursor);
SetCursor(loadCursor);
Dialogs::ReturnMouse();
}
virtual const char* MemoryDumperCommandClass::GetName |
( |
| ) |
[inline, virtual] |
{ return "Dump Process Memory"; }
virtual const wchar_t* MemoryDumperCommandClass::GetUICategory |
( |
| ) |
[inline, virtual] |
{ return L"Development"; }
virtual const wchar_t* MemoryDumperCommandClass::GetUIDescription |
( |
| ) |
[inline, virtual] |
{ return L"Dumps the current process's memory"; }
virtual const wchar_t* MemoryDumperCommandClass::GetUIName |
( |
| ) |
[inline, virtual] |
{ return L"Dump Memory"; }
The documentation for this class was generated from the following file: