?? debugprint.h
字號:
// DebugPrint.h: interface for the DebugPrint class.
//
//////////////////////////////////////////////////////////////////////
typedef struct _DEBUGPRINT_EVENT
{ //定義調(diào)試輸出信息
LIST_ENTRY m_ListEntry; //隊列
ULONG Len; //EventData的字節(jié)長度
PUCHAR EventData; //輸出字符串
} DEBUGPRINT_EVENT, *PDEBUGPRINT_EVENT;
class DPTestThread : public KSystemThread
{ //定義系統(tǒng)線程
SAFE_DESTRUCTORS
public:
DPTestThread(void);
KSemaphore m_Mailbox; //信號燈
};
class DebugPrint
{
public:
DebugPrint(char *str);
virtual ~DebugPrint();
public:
void DPrint(char *str);
MEMBER_THREAD (DebugPrint, Stage1)
bool KeepRunning;
DPTestThread m_Stage1;
char DriverName[255];
USHORT DriverNameLen;
KInterlockedList<DEBUGPRINT_EVENT> m_List;
};
#define MAX_MSG 1000000
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -