00001 00007 #pragma once 00008 00010 00014 struct KdClientStatus 00015 { 00016 wchar_t PipeName[256]; 00017 unsigned BytesSent; 00018 unsigned BytesReceived; 00019 unsigned PacketsSent; 00020 unsigned PacketsReceived; 00021 unsigned ResyncCount; 00022 bool DebuggerConnected; 00023 bool OSDetected; 00024 bool TraceAssistUpdatePending; 00025 unsigned DebugLevel; 00026 unsigned BytesDropped; 00028 unsigned PatchErrorPlus1; 00029 unsigned ProtocolMismatchStatus; 00030 00031 //Added in version 1.2 00032 unsigned LogAllPackets; 00033 }; 00034 00036 enum 00037 { 00038 DebugLevelNone = 0, 00039 DebugLevelTracePatching, 00040 DebugLevelTraceKdCom, //Works only for debug builds 00041 DebugLevelTraceKdComAll, 00042 }; 00043 00044 #ifndef KDVMWARE_USE_PROXY 00045 static const TCHAR tszMappingNameFormat[] = _T("BazisKdVmwareStatus_%04X"); 00046 static const TCHAR tszLogPipeNameFormat[] = _T("\\\\.\\pipe\\BazisKdVmwareLog_%04X"); 00047 #else 00048 static const TCHAR tszMappingNameFormat[] = _T("BazisKdVmwareStatus_proxy"); 00049 static const TCHAR tszLogPipeNameFormat[] = _T("\\\\.\\pipe\\BazisKdVmwareLog_proxy"); 00050 #endif