ReactOS  0.4.13-dev-651-g5dbc677
wdbgexts.h
Go to the documentation of this file.
1 /*
2  * File wdbgexts.h: definition of windbg extensions
3  * (dbghelp.dll is seen as a windbg extension)
4  *
5  * Copyright (C) 2005, Eric Pouech
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20  */
21 
22 #pragma once
23 
24 typedef struct EXT_API_VERSION
25 {
31 
34 typedef void (WINAPI *PWINDBG_GET_SYMBOL)(void*, char*, ULONG_PTR*);
42 typedef struct _EXTSTACKTRACE
43 {
47  ULONG Args[4];
50 
51 typedef struct _WINDBG_EXTENSION_APIS
52 {
ULONG ReturnAddress
Definition: wdbgexts.h:46
ULONG(WINAPI * PWINDBG_STACKTRACE_ROUTINE)(ULONG, ULONG, ULONG, PEXTSTACKTRACE, ULONG)
Definition: wdbgexts.h:49
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
CONTEXT * PCONTEXT
Definition: nt_native.h:1486
PWINDBG_WRITE_PROCESS_MEMORY_ROUTINE lpWriteProcessMemoryRoutine
Definition: wdbgexts.h:60
ULONG(WINAPI * PWINDBG_READ_PROCESS_MEMORY_ROUTINE)(ULONG_PTR, void *, ULONG, PULONG)
Definition: wdbgexts.h:37
PWINDBG_GET_EXPRESSION lpGetExpressionRoutine
Definition: wdbgexts.h:55
struct _EXTSTACKTRACE EXTSTACKTRACE
uint32_t ULONG_PTR
Definition: typedefs.h:63
PWINDBG_IOCTL_ROUTINE lpIoctlRoutine
Definition: wdbgexts.h:63
void(* PWINDBG_OUTPUT_ROUTINE)(PCSTR,...)
Definition: wdbgexts.h:32
PWINDBG_CHECK_CONTROL_C lpCheckControlCRoutine
Definition: wdbgexts.h:58
ULONG ProgramCounter
Definition: wdbgexts.h:45
struct _WINDBG_EXTENSION_APIS WINDBG_EXTENSION_APIS
ULONG(WINAPI * PWINDBG_CHECK_CONTROL_C)(void)
Definition: wdbgexts.h:36
ULONG Args[4]
Definition: wdbgexts.h:47
struct _EXTSTACKTRACE * PEXTSTACKTRACE
struct EXT_API_VERSION * LPEXT_API_VERSION
struct EXT_API_VERSION EXT_API_VERSION
#define WINAPI
Definition: msvc.h:8
PWINDBG_READ_PROCESS_MEMORY_ROUTINE lpReadProcessMemoryRoutine
Definition: wdbgexts.h:59
PWINDBG_SET_THREAD_CONTEXT_ROUTINE lpSetThreadContextRoutine
Definition: wdbgexts.h:62
PWINDBG_GET_SYMBOL lpGetSymbolRoutine
Definition: wdbgexts.h:56
void(WINAPI * PWINDBG_GET_SYMBOL)(void *, char *, ULONG_PTR *)
Definition: wdbgexts.h:34
USHORT Reserved
Definition: wdbgexts.h:29
PWINDBG_DISASM lpDisasmRoutine
Definition: wdbgexts.h:57
ULONG(WINAPI * PWINDBG_IOCTL_ROUTINE)(USHORT, void *)
Definition: wdbgexts.h:41
PWINDBG_GET_THREAD_CONTEXT_ROUTINE lpGetThreadContextRoutine
Definition: wdbgexts.h:61
USHORT Revision
Definition: wdbgexts.h:28
ULONG(WINAPI * PWINDBG_DISASM)(ULONG_PTR *, PCSTR, ULONG)
Definition: wdbgexts.h:35
unsigned short USHORT
Definition: pedump.c:61
ULONG(WINAPI * PWINDBG_WRITE_PROCESS_MEMORY_ROUTINE)(ULONG_PTR, const void *, ULONG, PULONG)
Definition: wdbgexts.h:38
unsigned int * PULONG
Definition: retypes.h:1
struct _WINDBG_EXTENSION_APIS * PWINDBG_EXTENSION_APIS
PWINDBG_STACKTRACE_ROUTINE lpStackTraceRoutine
Definition: wdbgexts.h:64
unsigned int ULONG
Definition: retypes.h:1
ULONG(WINAPI * PWINDBG_SET_THREAD_CONTEXT_ROUTINE)(ULONG, PCONTEXT, ULONG)
Definition: wdbgexts.h:40
#define ULONG_PTR
Definition: config.h:101
ULONG FramePointer
Definition: wdbgexts.h:44
const char * PCSTR
Definition: typedefs.h:51
ULONG(WINAPI * PWINDBG_GET_THREAD_CONTEXT_ROUTINE)(ULONG, PCONTEXT, ULONG)
Definition: wdbgexts.h:39
PWINDBG_OUTPUT_ROUTINE lpOutputRoutine
Definition: wdbgexts.h:54
USHORT MajorVersion
Definition: wdbgexts.h:26
ULONG_PTR(WINAPI * PWINDBG_GET_EXPRESSION)(PCSTR)
Definition: wdbgexts.h:33
USHORT MinorVersion
Definition: wdbgexts.h:27