#include "stdafx.h"
#include <tchar.h>
#include "../kdvmware/kdrpc.h"
#include <bzscmn/bzscmn.h>
#include "tablemgr.h"
#include "../rpcdispatch/rpcdisp.h"
#include "../rpcdispatch/kdcomdisp.h"
#include "../rpcdispatch/reporter.h"
Classes | |
class | InterlockedIncrementer |
Provides convenient way to mark whether a code block is executing by using an global volatile counter. More... | |
Functions | |
static bool | KDRPCDirectHandler (void *pContext, int ChannelNumber, char *pCommandBody, unsigned CommandBodyLength, char **ppReply, unsigned *pReplyLen) |
DWORD __stdcall | PatcherThreadMain (LPVOID lpParam) |
DWORD CALLBACK | ThreadBody (LPVOID lpParam) |
bool | HookVmware (HINSTANCE hThisDll) |
void | UnhookVmware () |
Variables | |
StatusReporter * | g_pReporter = NULL |
static RPCTableManager * | g_pManager = NULL |
static volatile LONG | s_CallCount = 0 |
static bool | s_bUnload = false |
static HANDLE | s_hThreadEvent = INVALID_HANDLE_VALUE |
static HANDLE | s_hThread = INVALID_HANDLE_VALUE |
static KdRpcDispatcher * | s_pClient = NULL |
bool HookVmware | ( | HINSTANCE | hThisDll | ) |
static bool KDRPCDirectHandler | ( | void * | pContext, | |
int | ChannelNumber, | |||
char * | pCommandBody, | |||
unsigned | CommandBodyLength, | |||
char ** | ppReply, | |||
unsigned * | pReplyLen | |||
) | [static] |
DWORD __stdcall PatcherThreadMain | ( | LPVOID | lpParam | ) |
DWORD CALLBACK ThreadBody | ( | LPVOID | lpParam | ) |
void UnhookVmware | ( | ) |
RPCTableManager* g_pManager = NULL [static] |
StatusReporter* g_pReporter = NULL |
bool s_bUnload = false [static] |
volatile LONG s_CallCount = 0 [static] |
HANDLE s_hThread = INVALID_HANDLE_VALUE [static] |
HANDLE s_hThreadEvent = INVALID_HANDLE_VALUE [static] |
KdRpcDispatcher* s_pClient = NULL [static] |