E:/PROJECTS/cvsed/mixed/VIRTUA~1/vmmon/MainDlg.cpp File Reference

Contains implementation for main VMMON dialog. More...

#include "stdafx.h"
#include "resource.h"
#include <bzscmn/bzscmn.h>
#include <bzswin/findproc.h>
#include <bzswin/registry.h>
#include <bzsnet/ratecalc.h>
#include <bzswin/wow64.h>
#include "MainDlg.h"
#include "trparams.h"
#include "../kdclient/patchapi.h"
#include "../rpcdispatch/permdesc.h"

Include dependency graph for MainDlg.cpp:

Go to the source code of this file.

Enumerations

enum  { ProcessInactive, ProcessPending, ProcessPatched, ProcessFailed }

Functions

HANDLE CreateLogPipe (unsigned PID)
 Creates a log pipe with a name corresponding to a specified PID.
static LPCTSTR GetVMTypeName (VMType type)
static void EnableDebugPrivilege ()
static bool UpdateProcessStats (PatchedProcess &proc, unsigned PID, unsigned ProcessorCount)
static BOOL CALLBACK CloseEnumWndProc (HWND hWnd, LPARAM lParam)
static bool CloseDebugger (unsigned PID)
static void FindAndReplace (String &src, const String &find, const String &replace)

Variables

static const TCHAR tszRegistryPath [] = _T("SOFTWARE\\BazisSoft\\KdVMWare\\Monitor")


Detailed Description

Contains implementation for main VMMON dialog.

Author:
Ivan Shcherbakov (Bazis)
Id
MainDlg.cpp,v 1.11 2009/06/07 15:31:55 Administrator Exp

Definition in file MainDlg.cpp.


Enumeration Type Documentation

anonymous enum

Enumerator:
ProcessInactive 
ProcessPending 
ProcessPatched 
ProcessFailed 

Definition at line 21 of file MainDlg.cpp.


Function Documentation

static bool CloseDebugger ( unsigned  PID  )  [static]

Definition at line 419 of file MainDlg.cpp.

Here is the call graph for this function:

static BOOL CALLBACK CloseEnumWndProc ( HWND  hWnd,
LPARAM  lParam 
) [static]

Definition at line 402 of file MainDlg.cpp.

HANDLE CreateLogPipe ( unsigned  PID  ) 

Creates a log pipe with a name corresponding to a specified PID.

Definition at line 34 of file MainDlg.cpp.

static void EnableDebugPrivilege (  )  [static]

Definition at line 59 of file MainDlg.cpp.

static void FindAndReplace ( String &  src,
const String &  find,
const String &  replace 
) [inline, static]

Definition at line 732 of file MainDlg.cpp.

static LPCTSTR GetVMTypeName ( VMType  type  )  [static]

Definition at line 42 of file MainDlg.cpp.

static bool UpdateProcessStats ( PatchedProcess proc,
unsigned  PID,
unsigned  ProcessorCount 
) [inline, static]

Definition at line 282 of file MainDlg.cpp.


Variable Documentation

const TCHAR tszRegistryPath[] = _T("SOFTWARE\\BazisSoft\\KdVMWare\\Monitor") [static]

Definition at line 31 of file MainDlg.cpp.