CMainDlg Class Reference

Main VMMON.EXE dialog. More...

#include <MainDlg.h>

List of all members.

Public Types

enum  { IDD = IDD_MAINDLG }

Public Member Functions

 CMainDlg ()
 COMMAND_ID_HANDLER (IDC_RUNDBG, OnRunDebugger)
 COMMAND_ID_HANDLER (IDC_STARTDBG, OnParamsChanged)
 COMMAND_ID_HANDLER (IDC_STOPDBG, OnParamsChanged)
 COMMAND_ID_HANDLER (IDC_USEKD, OnParamsChanged)
 COMMAND_ID_HANDLER (IDC_USEWINDBG, OnParamsChanged)
 COMMAND_ID_HANDLER (IDC_USECUSTOM, OnParamsChanged)
 COMMAND_ID_HANDLER (IDC_BREAKIN, OnParamsChanged)
 COMMAND_ID_HANDLER (IDC_LOGPACKETS, OnLogPacketsChanged)
 COMMAND_HANDLER (IDC_DBGTEMPLATE, EN_KILLFOCUS, OnParamsChanged)
LRESULT OnTimer (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnInitDialog (UINT, WPARAM, LPARAM, BOOL &)
LRESULT OnAppAbout (WORD, WORD, HWND, BOOL &)
LRESULT OnOK (WORD, WORD wID, HWND, BOOL &)
LRESULT OnCancel (WORD, WORD wID, HWND, BOOL &)
LRESULT OnParamsChanged (WORD, WORD wID, HWND, BOOL &)
LRESULT OnLogPacketsChanged (WORD, WORD wID, HWND, BOOL &)
LRESULT OnRunDebugger (WORD, WORD wID, HWND, BOOL &)
LRESULT OnSelChanged (int, LPNMHDR, BOOL &)
LRESULT OnDebugLevelChanged (WORD, WORD wID, HWND, BOOL &)
LRESULT OnBnClickedClearlog (WORD, WORD, HWND, BOOL &)
LRESULT OnBnClickedUnpatch (WORD, WORD, HWND, BOOL &)
LRESULT OnBnClickedDbgpath (WORD, WORD, HWND, BOOL &)
LRESULT OnBnClickedTraceassist (WORD, WORD, HWND, BOOL &)

Protected Member Functions

void SearchForNewProcesses ()
void UpdateProcessInfo ()
void RunDebugger (unsigned entryIndex)
void PerformProcessActions (PatchedProcess &proc, BazisLib::TimeSpan &runTime, bool *pPatchingStarted)
void CleanupProcessEntry (PatchedProcess &proc)
void SaveParamsToRegistry ()
void CreateStatusMapping (PatchedProcess &proc, bool Reset)
bool InitiatePatching (PatchedProcess &proc)
void UpdateLog (PatchedProcess &proc)
void UpdateUnpatchButton (int SelectionIndex)
void UpdateParamControls ()
void OnDebuggerPathChanged ()
void DisplayStats (PatchedProcess &proc)

Private Attributes

PatchedProcessList m_Processes
PatchedProcessSet m_PatchedSet
CListViewCtrl m_ListView
CListViewCtrl m_StatsView
CImageList m_ImageList
unsigned m_ProcessorCount
MonitorParams m_Params
BazisLib::FilePath m_DbgToolsPath
CComboBox m_DebugLevel


Detailed Description

Main VMMON.EXE dialog.

Definition at line 26 of file MainDlg.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
IDD 

Definition at line 44 of file MainDlg.h.


Constructor & Destructor Documentation

CMainDlg::CMainDlg (  ) 

Definition at line 79 of file MainDlg.cpp.

Here is the call graph for this function:


Member Function Documentation

void CMainDlg::CleanupProcessEntry ( PatchedProcess proc  )  [protected]

Definition at line 426 of file MainDlg.cpp.

CMainDlg::COMMAND_HANDLER ( IDC_DBGTEMPLATE  ,
EN_KILLFOCUS  ,
OnParamsChanged   
)

CMainDlg::COMMAND_ID_HANDLER ( IDC_LOGPACKETS  ,
OnLogPacketsChanged   
)

CMainDlg::COMMAND_ID_HANDLER ( IDC_BREAKIN  ,
OnParamsChanged   
)

CMainDlg::COMMAND_ID_HANDLER ( IDC_USECUSTOM  ,
OnParamsChanged   
)

CMainDlg::COMMAND_ID_HANDLER ( IDC_USEWINDBG  ,
OnParamsChanged   
)

CMainDlg::COMMAND_ID_HANDLER ( IDC_USEKD  ,
OnParamsChanged   
)

CMainDlg::COMMAND_ID_HANDLER ( IDC_STOPDBG  ,
OnParamsChanged   
)

CMainDlg::COMMAND_ID_HANDLER ( IDC_STARTDBG  ,
OnParamsChanged   
)

CMainDlg::COMMAND_ID_HANDLER ( IDC_RUNDBG  ,
OnRunDebugger   
)

void CMainDlg::CreateStatusMapping ( PatchedProcess proc,
bool  Reset 
) [protected]

Definition at line 445 of file MainDlg.cpp.

void CMainDlg::DisplayStats ( PatchedProcess proc  )  [protected]

Definition at line 921 of file MainDlg.cpp.

bool CMainDlg::InitiatePatching ( PatchedProcess proc  )  [protected]

Definition at line 477 of file MainDlg.cpp.

Here is the call graph for this function:

LRESULT CMainDlg::OnAppAbout ( WORD  ,
WORD  ,
HWND  ,
BOOL &   
)

Definition at line 257 of file MainDlg.cpp.

LRESULT CMainDlg::OnBnClickedClearlog ( WORD  ,
WORD  ,
HWND  ,
BOOL &   
)

Definition at line 822 of file MainDlg.cpp.

LRESULT CMainDlg::OnBnClickedDbgpath ( WORD  ,
WORD  ,
HWND  ,
BOOL &   
)

Definition at line 896 of file MainDlg.cpp.

Here is the call graph for this function:

LRESULT CMainDlg::OnBnClickedTraceassist ( WORD  ,
WORD  ,
HWND  ,
BOOL &   
)

Definition at line 961 of file MainDlg.cpp.

LRESULT CMainDlg::OnBnClickedUnpatch ( WORD  ,
WORD  ,
HWND  ,
BOOL &   
)

Definition at line 835 of file MainDlg.cpp.

Here is the call graph for this function:

LRESULT CMainDlg::OnCancel ( WORD  ,
WORD  wID,
HWND  ,
BOOL &   
)

Definition at line 269 of file MainDlg.cpp.

void CMainDlg::OnDebuggerPathChanged (  )  [protected]

Definition at line 885 of file MainDlg.cpp.

LRESULT CMainDlg::OnDebugLevelChanged ( WORD  ,
WORD  wID,
HWND  ,
BOOL &   
)

Definition at line 808 of file MainDlg.cpp.

Here is the call graph for this function:

LRESULT CMainDlg::OnInitDialog ( UINT  ,
WPARAM  ,
LPARAM  ,
BOOL &  bHandled 
)

Definition at line 103 of file MainDlg.cpp.

Here is the call graph for this function:

LRESULT CMainDlg::OnLogPacketsChanged ( WORD  ,
WORD  wID,
HWND  ,
BOOL &   
)

Definition at line 976 of file MainDlg.cpp.

LRESULT CMainDlg::OnOK ( WORD  ,
WORD  wID,
HWND  ,
BOOL &   
)

Definition at line 262 of file MainDlg.cpp.

LRESULT CMainDlg::OnParamsChanged ( WORD  ,
WORD  wID,
HWND  ,
BOOL &   
)

Definition at line 232 of file MainDlg.cpp.

Here is the call graph for this function:

LRESULT CMainDlg::OnRunDebugger ( WORD  ,
WORD  wID,
HWND  ,
BOOL &   
)

Definition at line 771 of file MainDlg.cpp.

Here is the call graph for this function:

LRESULT CMainDlg::OnSelChanged ( int  ,
LPNMHDR  ,
BOOL &   
)

Definition at line 781 of file MainDlg.cpp.

Here is the call graph for this function:

LRESULT CMainDlg::OnTimer ( UINT  ,
WPARAM  ,
LPARAM  ,
BOOL &   
)

Definition at line 275 of file MainDlg.cpp.

Here is the call graph for this function:

void CMainDlg::PerformProcessActions ( PatchedProcess proc,
BazisLib::TimeSpan &  runTime,
bool *  pPatchingStarted 
) [protected]

void CMainDlg::RunDebugger ( unsigned  entryIndex  )  [protected]

Definition at line 741 of file MainDlg.cpp.

Here is the call graph for this function:

void CMainDlg::SaveParamsToRegistry (  )  [protected]

Definition at line 251 of file MainDlg.cpp.

void CMainDlg::SearchForNewProcesses (  )  [protected]

Definition at line 364 of file MainDlg.cpp.

Here is the call graph for this function:

void CMainDlg::UpdateLog ( PatchedProcess proc  )  [protected]

Definition at line 500 of file MainDlg.cpp.

void CMainDlg::UpdateParamControls (  )  [protected]

Definition at line 227 of file MainDlg.cpp.

void CMainDlg::UpdateProcessInfo (  )  [protected]

Definition at line 599 of file MainDlg.cpp.

Here is the call graph for this function:

void CMainDlg::UpdateUnpatchButton ( int  SelectionIndex  )  [protected]

Definition at line 863 of file MainDlg.cpp.


Member Data Documentation

BazisLib::FilePath CMainDlg::m_DbgToolsPath [private]

Definition at line 39 of file MainDlg.h.

CComboBox CMainDlg::m_DebugLevel [private]

Definition at line 41 of file MainDlg.h.

CImageList CMainDlg::m_ImageList [private]

Definition at line 34 of file MainDlg.h.

CListViewCtrl CMainDlg::m_ListView [private]

Definition at line 33 of file MainDlg.h.

MonitorParams CMainDlg::m_Params [private]

Definition at line 38 of file MainDlg.h.

Definition at line 30 of file MainDlg.h.

Definition at line 29 of file MainDlg.h.

unsigned CMainDlg::m_ProcessorCount [private]

Definition at line 36 of file MainDlg.h.

CListViewCtrl CMainDlg::m_StatsView [private]

Definition at line 33 of file MainDlg.h.


The documentation for this class was generated from the following files: