ReactOS 0.4.16-dev-329-g9223134
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
24typedef struct EXT_API_VERSION
25{
31
34typedef void (WINAPI *PWINDBG_GET_SYMBOL)(void*, char*, ULONG_PTR*);
42typedef struct _EXTSTACKTRACE
43{
50
52{
CONTEXT * PCONTEXT
Definition: compat.h:699
ULONG(WINAPI * PWINDBG_GET_THREAD_CONTEXT_ROUTINE)(ULONG, PCONTEXT, ULONG)
Definition: wdbgexts.h:39
void(WINAPI * PWINDBG_GET_SYMBOL)(void *, char *, ULONG_PTR *)
Definition: wdbgexts.h:34
ULONG(WINAPI * PWINDBG_STACKTRACE_ROUTINE)(ULONG, ULONG, ULONG, PEXTSTACKTRACE, ULONG)
Definition: wdbgexts.h:49
ULONG(WINAPI * PWINDBG_SET_THREAD_CONTEXT_ROUTINE)(ULONG, PCONTEXT, ULONG)
Definition: wdbgexts.h:40
struct _EXTSTACKTRACE EXTSTACKTRACE
ULONG(WINAPI * PWINDBG_WRITE_PROCESS_MEMORY_ROUTINE)(ULONG_PTR, const void *, ULONG, PULONG)
Definition: wdbgexts.h:38
ULONG(WINAPI * PWINDBG_READ_PROCESS_MEMORY_ROUTINE)(ULONG_PTR, void *, ULONG, PULONG)
Definition: wdbgexts.h:37
void(* PWINDBG_OUTPUT_ROUTINE)(PCSTR,...)
Definition: wdbgexts.h:32
struct _WINDBG_EXTENSION_APIS WINDBG_EXTENSION_APIS
struct _WINDBG_EXTENSION_APIS * PWINDBG_EXTENSION_APIS
struct _EXTSTACKTRACE * PEXTSTACKTRACE
ULONG(WINAPI * PWINDBG_IOCTL_ROUTINE)(USHORT, void *)
Definition: wdbgexts.h:41
ULONG_PTR(WINAPI * PWINDBG_GET_EXPRESSION)(PCSTR)
Definition: wdbgexts.h:33
ULONG(WINAPI * PWINDBG_DISASM)(ULONG_PTR *, PCSTR, ULONG)
Definition: wdbgexts.h:35
struct EXT_API_VERSION * LPEXT_API_VERSION
ULONG(WINAPI * PWINDBG_CHECK_CONTROL_C)(void)
Definition: wdbgexts.h:36
#define ULONG_PTR
Definition: config.h:101
unsigned short USHORT
Definition: pedump.c:61
USHORT MajorVersion
Definition: wdbgexts.h:26
USHORT Revision
Definition: wdbgexts.h:28
USHORT Reserved
Definition: wdbgexts.h:29
USHORT MinorVersion
Definition: wdbgexts.h:27
ULONG FramePointer
Definition: wdbgexts.h:44
ULONG ReturnAddress
Definition: wdbgexts.h:46
ULONG Args[4]
Definition: wdbgexts.h:47
ULONG ProgramCounter
Definition: wdbgexts.h:45
PWINDBG_SET_THREAD_CONTEXT_ROUTINE lpSetThreadContextRoutine
Definition: wdbgexts.h:62
PWINDBG_GET_SYMBOL lpGetSymbolRoutine
Definition: wdbgexts.h:56
PWINDBG_WRITE_PROCESS_MEMORY_ROUTINE lpWriteProcessMemoryRoutine
Definition: wdbgexts.h:60
PWINDBG_OUTPUT_ROUTINE lpOutputRoutine
Definition: wdbgexts.h:54
PWINDBG_GET_THREAD_CONTEXT_ROUTINE lpGetThreadContextRoutine
Definition: wdbgexts.h:61
PWINDBG_GET_EXPRESSION lpGetExpressionRoutine
Definition: wdbgexts.h:55
PWINDBG_DISASM lpDisasmRoutine
Definition: wdbgexts.h:57
PWINDBG_STACKTRACE_ROUTINE lpStackTraceRoutine
Definition: wdbgexts.h:64
PWINDBG_IOCTL_ROUTINE lpIoctlRoutine
Definition: wdbgexts.h:63
PWINDBG_CHECK_CONTROL_C lpCheckControlCRoutine
Definition: wdbgexts.h:58
PWINDBG_READ_PROCESS_MEMORY_ROUTINE lpReadProcessMemoryRoutine
Definition: wdbgexts.h:59
uint32_t * PULONG
Definition: typedefs.h:59
const char * PCSTR
Definition: typedefs.h:52
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
#define WINAPI
Definition: msvc.h:6