|
|
1.1 root 1: /*++ BUILD Version: 0001 // Increment this if a change has global effects
2:
3: Copyright (c) 1990 Microsoft Corporation
4:
5: Module Name:
6:
7: ntsdexts.h
8:
9: Abstract:
10:
11: This file contains procedure prototypes and structures
12: needed to write NTSD debugger extensions.
13:
14: Author:
15:
16: Mark Lucovsky (markl) 09-Apr-1991
17:
18: Environment:
19:
20: runs in the Win32 NTSD debug environment.
21:
22: Revision History:
23:
24: --*/
25:
26: #ifndef _NTSDEXTNS_
27: #define _NTSDEXTNS_
28:
29: typedef
30: VOID
31: #ifdef i386
32: cdecl
33: #endif // i386
34: (*PNTSD_OUTPUT_ROUTINE)(
35: char *,
36: ...
37: );
38:
39: typedef
40: DWORD
41: (*PNTSD_GET_EXPRESSION)(
42: char *
43: );
44:
45: typedef
46: VOID
47: (*PNTSD_GET_SYMBOL)(
48: LPVOID offset,
49: PUCHAR pchBuffer,
50: LPDWORD pDisplacement
51: );
52:
53: typedef
54: DWORD
55: (*PNTSD_DISASM)(
56: LPDWORD lpOffset,
57: LPSTR lpBuffer,
58: BOOL fShowEfeectiveAddress
59: );
60:
61: typedef
62: BOOL
63: (*PNTSD_CHECK_CONTROL_C)(
64: VOID
65: );
66:
67: typedef struct _NTSD_EXTENSION_APIS {
68: DWORD nSize;
69: PNTSD_OUTPUT_ROUTINE lpOutputRoutine;
70: PNTSD_GET_EXPRESSION lpGetExpressionRoutine;
71: PNTSD_GET_SYMBOL lpGetSymbolRoutine;
72: PNTSD_DISASM lpDisasmRoutine;
73: PNTSD_CHECK_CONTROL_C lpCheckControlCRoutine;
74: } NTSD_EXTENSION_APIS, *PNTSD_EXTENSION_APIS;
75:
76: typedef
77: VOID
78: (*PNTSD_EXTENSION_ROUTINE)(
79: HANDLE hCurrentProcess,
80: HANDLE hCurrentThread,
81: DWORD dwCurrentPc,
82: PNTSD_EXTENSION_APIS lpExtensionApis,
83: LPSTR lpArgumentString
84: );
85:
86: #endif // _NTSDEXTNS_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.