#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"
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") |
Definition in file MainDlg.cpp.
anonymous enum |
Definition at line 21 of file MainDlg.cpp.
static bool CloseDebugger | ( | unsigned | PID | ) | [static] |
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.
const TCHAR tszRegistryPath[] = _T("SOFTWARE\\BazisSoft\\KdVMWare\\Monitor") [static] |
Definition at line 31 of file MainDlg.cpp.