|
|
1.1 root 1: /*++ BUILD Version: 0001 // Increment this if a change has global effects
2:
1.1.1.3 ! root 3: Copyright (c) 1990-1993 Microsoft Corporation
1.1 root 4:
5: Module Name:
6:
7: ntsdexts.h
8:
9: Abstract:
10:
11: This file contains procedure prototypes and structures
1.1.1.2 root 12: needed to write NTSD and KD debugger extensions.
1.1 root 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:
1.1.1.3 ! root 29: #ifdef __cplusplus
! 30: extern "C" {
! 31: #endif
! 32:
1.1 root 33: typedef
34: VOID
35: (*PNTSD_OUTPUT_ROUTINE)(
36: char *,
37: ...
38: );
39:
40: typedef
41: DWORD
42: (*PNTSD_GET_EXPRESSION)(
43: char *
44: );
45:
46: typedef
47: VOID
48: (*PNTSD_GET_SYMBOL)(
49: LPVOID offset,
50: PUCHAR pchBuffer,
51: LPDWORD pDisplacement
52: );
53:
54: typedef
55: DWORD
56: (*PNTSD_DISASM)(
57: LPDWORD lpOffset,
58: LPSTR lpBuffer,
59: BOOL fShowEfeectiveAddress
60: );
61:
62: typedef
63: BOOL
64: (*PNTSD_CHECK_CONTROL_C)(
65: VOID
66: );
67:
68: typedef struct _NTSD_EXTENSION_APIS {
69: DWORD nSize;
70: PNTSD_OUTPUT_ROUTINE lpOutputRoutine;
71: PNTSD_GET_EXPRESSION lpGetExpressionRoutine;
72: PNTSD_GET_SYMBOL lpGetSymbolRoutine;
73: PNTSD_DISASM lpDisasmRoutine;
74: PNTSD_CHECK_CONTROL_C lpCheckControlCRoutine;
75: } NTSD_EXTENSION_APIS, *PNTSD_EXTENSION_APIS;
76:
77: typedef
78: VOID
79: (*PNTSD_EXTENSION_ROUTINE)(
80: HANDLE hCurrentProcess,
81: HANDLE hCurrentThread,
82: DWORD dwCurrentPc,
83: PNTSD_EXTENSION_APIS lpExtensionApis,
84: LPSTR lpArgumentString
85: );
86:
1.1.1.3 ! root 87: #ifdef __cplusplus
! 88: }
! 89: #endif
1.1.1.2 root 90:
91:
1.1 root 92: #endif // _NTSDEXTNS_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.