Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenwdbgexts.h
Go to the documentation of this file.
00001 /* 00002 * File wdbgexts.h: definition of windbg extensions 00003 * (dbghelp.dll is seen as a windbg extension) 00004 * 00005 * Copyright (C) 2005, Eric Pouech 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2.1 of the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00020 */ 00021 00022 typedef struct EXT_API_VERSION 00023 { 00024 USHORT MajorVersion; 00025 USHORT MinorVersion; 00026 USHORT Revision; 00027 USHORT Reserved; 00028 } EXT_API_VERSION, *LPEXT_API_VERSION; 00029 00030 typedef void (*PWINDBG_OUTPUT_ROUTINE)(PCSTR, ...); 00031 typedef ULONG_PTR (WINAPI *PWINDBG_GET_EXPRESSION)(PCSTR); 00032 typedef void (WINAPI *PWINDBG_GET_SYMBOL)(void*, char*, ULONG_PTR*); 00033 typedef ULONG (WINAPI *PWINDBG_DISASM)(ULONG_PTR*, PCSTR, ULONG); 00034 typedef ULONG (WINAPI *PWINDBG_CHECK_CONTROL_C)(void); 00035 typedef ULONG (WINAPI *PWINDBG_READ_PROCESS_MEMORY_ROUTINE)(ULONG_PTR, void*, ULONG, PULONG); 00036 typedef ULONG (WINAPI *PWINDBG_WRITE_PROCESS_MEMORY_ROUTINE)(ULONG_PTR, const void*, ULONG, PULONG); 00037 typedef ULONG (WINAPI *PWINDBG_GET_THREAD_CONTEXT_ROUTINE)(ULONG, PCONTEXT, ULONG); 00038 typedef ULONG (WINAPI *PWINDBG_SET_THREAD_CONTEXT_ROUTINE)(ULONG, PCONTEXT, ULONG); 00039 typedef ULONG (WINAPI *PWINDBG_IOCTL_ROUTINE)(USHORT, void*); 00040 typedef struct _EXTSTACKTRACE 00041 { 00042 ULONG FramePointer; 00043 ULONG ProgramCounter; 00044 ULONG ReturnAddress; 00045 ULONG Args[4]; 00046 } EXTSTACKTRACE, *PEXTSTACKTRACE; 00047 typedef ULONG (WINAPI *PWINDBG_STACKTRACE_ROUTINE)(ULONG, ULONG, ULONG, PEXTSTACKTRACE, ULONG); 00048 00049 typedef struct _WINDBG_EXTENSION_APIS 00050 { 00051 ULONG nSize; 00052 PWINDBG_OUTPUT_ROUTINE lpOutputRoutine; 00053 PWINDBG_GET_EXPRESSION lpGetExpressionRoutine; 00054 PWINDBG_GET_SYMBOL lpGetSymbolRoutine; 00055 PWINDBG_DISASM lpDisasmRoutine; 00056 PWINDBG_CHECK_CONTROL_C lpCheckControlCRoutine; 00057 PWINDBG_READ_PROCESS_MEMORY_ROUTINE lpReadProcessMemoryRoutine; 00058 PWINDBG_WRITE_PROCESS_MEMORY_ROUTINE lpWriteProcessMemoryRoutine; 00059 PWINDBG_GET_THREAD_CONTEXT_ROUTINE lpGetThreadContextRoutine; 00060 PWINDBG_SET_THREAD_CONTEXT_ROUTINE lpSetThreadContextRoutine; 00061 PWINDBG_IOCTL_ROUTINE lpIoctlRoutine; 00062 PWINDBG_STACKTRACE_ROUTINE lpStackTraceRoutine; 00063 } WINDBG_EXTENSION_APIS, *PWINDBG_EXTENSION_APIS; Generated on Sat May 26 2012 04:22:02 for ReactOS by
1.7.6.1
|