?? host.h
字號(hào):
#pragma once
//-----------------------------------------------------------------------------------//
// Windows Graphics Programming: Win32 GDI and DirectDraw //
// ISBN 0-13-086985-6 //
// //
// Written by Yuan, Feng www.fengyuan.com //
// Copyright (c) 2000 by Hewlett-Packard Company www.hp.com //
// Published by Prentice Hall PTR, Prentice-Hall, Inc. www.phptr.com //
// //
// FileName : host.h //
// Description: KHost class //
// Version : 1.00.000, May 31, 2000 //
//-----------------------------------------------------------------------------------//
#include "device.h"
#include "..\Periscope\\Periscope.h"
class KPeriscopeClient : public KDevice
{
public:
KPeriscopeClient(const TCHAR * DeviceName) : KDevice(DeviceName)
{
}
ULONG Read(void * dst, const void * src, unsigned len);
};
class KImageModule;
class KHost
{
public:
KImageModule * pWin32k;
KPeriscopeClient * pScope;
HWND hwndOutput;
HWND hwndLog;
HANDLE hProcess;
KHost()
{
pWin32k = NULL;
pScope = NULL;
hwndOutput = NULL;
hwndLog = NULL;
hProcess = NULL;
}
void WndOutput(HWND hWnd, const char * format, va_list argptr);
void Log(const char * format, ...);
void ExtOutput(const char * format, ...);
unsigned ExtGetExpression(const char * expr);
bool ExtReadProcessMemory(const void * address,
unsigned * buffer, unsigned count,
unsigned long * bytesread);
};
extern KHost theHost;
extern WINDBG_EXTENSION_APIS ExtensionAPI;
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -