#include "stdafx.h"
#include "resource.h"
#include <bzscmn/bzscmn.h>
#include <bzswin/findproc.h>
#include <bzswin/registry.h>
#include <bzsnet/ratecalc.h>
#include "MainDlg.h"
#include "trparams.h"
Enumerations | |
enum | { ProcessInactive, ProcessPending, ProcessPatched, ProcessFailed } |
Functions | |
static void | EnableDebugPrivilege () |
static HINSTANCE | LoadPatcherDll () |
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") |
static bool CloseDebugger | ( | unsigned | PID | ) | [static] |
static BOOL CALLBACK CloseEnumWndProc | ( | HWND | hWnd, | |
LPARAM | lParam | |||
) | [static] |
static void EnableDebugPrivilege | ( | ) | [static] |
static void FindAndReplace | ( | String & | src, | |
const String & | find, | |||
const String & | replace | |||
) | [inline, static] |
static HINSTANCE LoadPatcherDll | ( | ) | [static] |
static bool UpdateProcessStats | ( | PatchedProcess & | proc, | |
unsigned | PID, | |||
unsigned | ProcessorCount | |||
) | [inline, static] |
const TCHAR tszRegistryPath[] = _T("SOFTWARE\\BazisSoft\\KdVMWare\\Monitor") [static] |