2 * Copyright 2019 Nikolay Sivov for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
25 DEFINE_GUID(IID_IDebugInputCallbacks
, 0x9f50e42c, 0xf136, 0x499e, 0x9a, 0x97, 0x73, 0x03, 0x6c, 0x94, 0xed, 0x2d);
26 DEFINE_GUID(IID_IDebugOutputCallbacks
, 0x4bf58045, 0xd654, 0x4c40, 0xb0, 0xaf, 0x68, 0x30, 0x90, 0xf3, 0x56, 0xdc);
27 DEFINE_GUID(IID_IDebugOutputCallbacksWide
,0x4c7fd663, 0xc394, 0x4e26, 0x8e, 0xf1, 0x34, 0xad, 0x5e, 0xd3, 0x76, 0x4c);
28 DEFINE_GUID(IID_IDebugEventCallbacks
, 0x337be28b, 0x5036, 0x4d72, 0xb6, 0xbf, 0xc4, 0x5f, 0xbb, 0x9f, 0x2e, 0xaa);
29 DEFINE_GUID(IID_IDebugEventCallbacksWide
, 0x0690e046, 0x9c23, 0x45ac, 0xa0, 0x4f, 0x98, 0x7a, 0xc2, 0x9a, 0xd0, 0xd3);
30 DEFINE_GUID(IID_IDebugEventContextCallbacks
, 0x61a4905b, 0x23f9, 0x4247, 0xb3, 0xc5, 0x53, 0xd0, 0x87, 0x52, 0x9a, 0xb7);
31 DEFINE_GUID(IID_IDebugBreakpoint
, 0x5bd9d474, 0x5975, 0x423a, 0xb8, 0x8b, 0x65, 0xa8, 0xe7, 0x11, 0x0e, 0x65);
32 DEFINE_GUID(IID_IDebugBreakpoint2
, 0x1b278d20, 0x79f2, 0x426e, 0xa3, 0xf9, 0xc1, 0xdd, 0xf3, 0x75, 0xd4, 0x8e);
33 DEFINE_GUID(IID_IDebugClient
, 0x27fe5639, 0x8407, 0x4f47, 0x83, 0x64, 0xee, 0x11, 0x8f, 0xb0, 0x8a, 0xc8);
34 DEFINE_GUID(IID_IDebugClient2
, 0xedbed635, 0x372e, 0x4dab, 0xbb, 0xfe, 0xed, 0x0d, 0x2f, 0x63, 0xbe, 0x81);
35 DEFINE_GUID(IID_IDebugClient3
, 0xdd492d7f, 0x71b8, 0x4ad6, 0xa8, 0xdc, 0x1c, 0x88, 0x74, 0x79, 0xff, 0x91);
36 DEFINE_GUID(IID_IDebugClient4
, 0xca83c3de, 0x5089, 0x4cf8, 0x93, 0xc8, 0xd8, 0x92, 0x38, 0x7f, 0x2a, 0x5e);
37 DEFINE_GUID(IID_IDebugClient5
, 0xe3acb9d7, 0x7ec2, 0x4f0c, 0xa0, 0xda, 0xe8, 0x1e, 0x0c, 0xbb, 0xe6, 0x28);
38 DEFINE_GUID(IID_IDebugClient6
, 0xfd28b4c5, 0xc498, 0x4686, 0xa2, 0x8e, 0x62, 0xca, 0xd2, 0x15, 0x4e, 0xb3);
39 DEFINE_GUID(IID_IDebugClient7
, 0x13586be3, 0x542e, 0x481e, 0xb1, 0xf2, 0x84, 0x97, 0xba, 0x74, 0xf9, 0xa9);
40 DEFINE_GUID(IID_IDebugDataSpaces
, 0x88f7dfab, 0x3ea7, 0x4c3a, 0xae, 0xfb, 0xc4, 0xe8, 0x10, 0x61, 0x73, 0xaa);
41 DEFINE_GUID(IID_IDebugDataSpaces2
, 0x7a5e852f, 0x96e9, 0x468f, 0xac, 0x1b, 0x0b, 0x3a, 0xdd, 0xc4, 0xa0, 0x49);
42 DEFINE_GUID(IID_IDebugSymbols
, 0x8c31e98c, 0x983a, 0x48a5, 0x90, 0x16, 0x6f, 0xe5, 0xd6, 0x67, 0xa9, 0x50);
43 DEFINE_GUID(IID_IDebugSymbols2
, 0x3a707211, 0xafdd, 0x4495, 0xad, 0x4f, 0x56, 0xfe, 0xcd, 0xf8, 0x16, 0x3f);
44 DEFINE_GUID(IID_IDebugSymbols3
, 0xf02fbecc, 0x50ac, 0x4f36, 0x9a, 0xd9, 0xc9, 0x75, 0xe8, 0xf3, 0x2f, 0xf8);
45 DEFINE_GUID(IID_IDebugControl
, 0x5182e668, 0x105e, 0x416e, 0xad, 0x92, 0x24, 0xef, 0x80, 0x04, 0x24, 0xba);
46 DEFINE_GUID(IID_IDebugControl2
, 0xd4366723, 0x44df, 0x4bed, 0x8c, 0x7e, 0x4c, 0x05, 0x42, 0x4f, 0x45, 0x88);
47 DEFINE_GUID(IID_IDebugAdvanced
, 0xf2df5f53, 0x071f, 0x47bd, 0x9d, 0xe6, 0x57, 0x34, 0xc3, 0xfe, 0xd6, 0x89);
48 DEFINE_GUID(IID_IDebugSystemObjects
, 0x6b86fe2c, 0x2c4f, 0x4f0c, 0x9d, 0xa2, 0x17, 0x43, 0x11, 0xac, 0xc3, 0x27);
49 DEFINE_GUID(IID_IDebugSystemObjects2
, 0x0ae9f5ff, 0x1852, 0x4679, 0xb0, 0x55, 0x49, 0x4b, 0xee, 0x64, 0x07, 0xee);
50 DEFINE_GUID(IID_IDebugSystemObjects3
, 0xe9676e2f, 0xe286, 0x4ea3, 0xb0, 0xf9, 0xdf, 0xe5, 0xd9, 0xfc, 0x33, 0x0e);
53 #define DEBUG_ENGOPT_IGNORE_DBGHELP_VERSION 0x00000001
54 #define DEBUG_ENGOPT_IGNORE_EXTENSION_VERSIONS 0x00000002
55 #define DEBUG_ENGOPT_ALLOW_NETWORK_PATHS 0x00000004
56 #define DEBUG_ENGOPT_DISALLOW_NETWORK_PATHS 0x00000008
57 #define DEBUG_ENGOPT_IGNORE_LOADER_EXCEPTIONS 0x00000010
58 #define DEBUG_ENGOPT_INITIAL_BREAK 0x00000020
59 #define DEBUG_ENGOPT_INITIAL_MODULE_BREAK 0x00000040
60 #define DEBUG_ENGOPT_FINAL_BREAK 0x00000080
61 #define DEBUG_ENGOPT_NO_EXECUTE_REPEAT 0x00000100
62 #define DEBUG_ENGOPT_FAIL_INCOMPLETE_INFORMATION 0x00000200
63 #define DEBUG_ENGOPT_ALLOW_READ_ONLY_BREAKPOINTS 0x00000400
64 #define DEBUG_ENGOPT_SYNCHRONIZE_BREAKPOINTS 0x00000800
65 #define DEBUG_ENGOPT_DISALLOW_SHELL_COMMANDS 0x00001000
66 #define DEBUG_ENGOPT_KD_QUIET_MODE 0x00002000
67 #define DEBUG_ENGOPT_DISABLE_MANAGED_SUPPORT 0x00004000
68 #define DEBUG_ENGOPT_DISABLE_MODULE_SYMBOL_LOAD 0x00008000
69 #define DEBUG_ENGOPT_DISABLE_EXECUTION_COMMANDS 0x00010000
70 #define DEBUG_ENGOPT_DISALLOW_IMAGE_FILE_MAPPING 0x00020000
71 #define DEBUG_ENGOPT_PREFER_DML 0x00040000
72 #define DEBUG_ENGOPT_DISABLESQM 0x00080000
73 #define DEBUG_ENGOPT_DISABLE_STEPLINES_OPTIONS 0x00200000
74 #define DEBUG_ENGOPT_DEBUGGING_SENSITIVE_DATA 0x00400000
75 #define DEBUG_ENGOPT_ALL 0x004fffff
76 #define DEBUG_ENGOPT_NETWORK_PATHS (DEBUG_ENGOPT_ALLOW_NETWORK_PATHS | DEBUG_ENGOPT_DISALLOW_NETWORK_PATHS)
78 /* AttachProcess() flags */
79 #define DEBUG_ATTACH_DEFAULT 0x00000000
80 #define DEBUG_ATTACH_NONINVASIVE 0x00000001
81 #define DEBUG_ATTACH_EXISTING 0x00000002
82 #define DEBUG_ATTACH_NONINVASIVE_NO_SUSPEND 0x00000004
83 #define DEBUG_ATTACH_INVASIVE_NO_INITIAL_BREAK 0x00000008
84 #define DEBUG_ATTACH_INVASIVE_RESUME_PROCESS 0x00000010
85 #define DEBUG_ATTACH_NONINVASIVE_ALLOW_PARTIAL 0x00000020
87 /* EndSession() flags */
88 #define DEBUG_END_PASSIVE 0x00000000
89 #define DEBUG_END_ACTIVE_TERMINATE 0x00000001
90 #define DEBUG_END_ACTIVE_DETACH 0x00000002
91 #define DEBUG_END_REENTRANT 0x00000003
92 #define DEBUG_END_DISCONNECT 0x00000004
94 /* ChangeEngineState() flags */
95 #define DEBUG_CES_CURRENT_THREAD 0x00000001
96 #define DEBUG_CES_EFFECTIVE_PROCESSOR 0x00000002
97 #define DEBUG_CES_BREAKPOINTS 0x00000004
98 #define DEBUG_CES_CODE_LEVEL 0x00000008
99 #define DEBUG_CES_EXECUTION_STATUS 0x00000010
100 #define DEBUG_CES_ENGINE_OPTIONS 0x00000020
101 #define DEBUG_CES_LOG_FILE 0x00000040
102 #define DEBUG_CES_RADIX 0x00000080
103 #define DEBUG_CES_EVENT_FILTERS 0x00000100
104 #define DEBUG_CES_PROCESS_OPTIONS 0x00000200
105 #define DEBUG_CES_EXTENSIONS 0x00000400
106 #define DEBUG_CES_SYSTEMS 0x00000800
107 #define DEBUG_CES_ASSEMBLY_OPTIONS 0x00001000
108 #define DEBUG_CES_EXPRESSION_SYNTAX 0x00002000
109 #define DEBUG_CES_TEXT_REPLACEMENTS 0x00004000
110 #define DEBUG_CES_ALL 0xffffffff
112 #define DEBUG_STATUS_NO_CHANGE 0
113 #define DEBUG_STATUS_GO 1
114 #define DEBUG_STATUS_GO_HANDLED 2
115 #define DEBUG_STATUS_GO_NOT_HANDLED 3
116 #define DEBUG_STATUS_STEP_OVER 4
117 #define DEBUG_STATUS_STEP_INTO 5
118 #define DEBUG_STATUS_BREAK 6
119 #define DEBUG_STATUS_NO_DEBUGGEE 7
120 #define DEBUG_STATUS_STEP_BRANCH 8
121 #define DEBUG_STATUS_IGNORE_EVENT 9
122 #define DEBUG_STATUS_RESTART_REQUESTED 10
123 #define DEBUG_STATUS_REVERSE_GO 11
124 #define DEBUG_STATUS_REVERSE_STEP_BRANCH 12
125 #define DEBUG_STATUS_REVERSE_STEP_OVER 13
126 #define DEBUG_STATUS_REVERSE_STEP_INTO 14
127 #define DEBUG_STATUS_OUT_OF_SYNC 15
128 #define DEBUG_STATUS_WAIT_INPUT 16
129 #define DEBUG_STATUS_TIMEOUT 17
130 #define DEBUG_STATUS_MASK 0x1f
132 /* ChangeSymbolState() flags */
133 #define DEBUG_CSS_LOADS 0x00000001
134 #define DEBUG_CSS_UNLOADS 0x00000002
135 #define DEBUG_CSS_SCOPE 0x00000004
136 #define DEBUG_CSS_PATHS 0x00000008
137 #define DEBUG_CSS_SYMBOL_OPTIONS 0x00000010
138 #define DEBUG_CSS_TYPE_OPTIONS 0x00000020
139 #define DEBUG_CSS_COLLAPSE_CHILDREN 0x00000040
140 #define DEBUG_CSS_ALL 0xffffffff
142 /* SessionStatus() flags */
143 #define DEBUG_SESSION_ACTIVE 0x00000000
144 #define DEBUG_SESSION_END_SESSION_ACTIVE_TERMINATE 0x00000001
145 #define DEBUG_SESSION_END_SESSION_ACTIVE_DETACH 0x00000002
146 #define DEBUG_SESSION_END_SESSION_PASSIVE 0x00000003
147 #define DEBUG_SESSION_END 0x00000004
148 #define DEBUG_SESSION_REBOOT 0x00000005
149 #define DEBUG_SESSION_HIBERNATE 0x00000006
150 #define DEBUG_SESSION_FAILURE 0x00000007
152 /* ChangeDebuggeeState() flags */
153 #define DEBUG_CDS_REGISTERS 0x00000001
154 #define DEBUG_CDS_DATA 0x00000002
155 #define DEBUG_CDS_REFRESH 0x00000004
156 #define DEBUG_CDS_ALL 0xffffffff
158 #define DEBUG_CDS_REFRESH_EVALUATE 1
159 #define DEBUG_CDS_REFRESH_EXECUTE 2
160 #define DEBUG_CDS_REFRESH_EXECUTECOMMANDFILE 3
161 #define DEBUG_CDS_REFRESH_ADDBREAKPOINT 4
162 #define DEBUG_CDS_REFRESH_REMOVEBREAKPOINT 5
163 #define DEBUG_CDS_REFRESH_WRITEVIRTUAL 6
164 #define DEBUG_CDS_REFRESH_WRITEVIRTUALUNCACHED 7
165 #define DEBUG_CDS_REFRESH_WRITEPHYSICAL 8
166 #define DEBUG_CDS_REFRESH_WRITEPHYSICAL2 9
167 #define DEBUG_CDS_REFRESH_SETVALUE 10
168 #define DEBUG_CDS_REFRESH_SETVALUE2 11
169 #define DEBUG_CDS_REFRESH_SETSCOPE 12
170 #define DEBUG_CDS_REFRESH_SETSCOPEFRAMEBYINDEX 13
171 #define DEBUG_CDS_REFRESH_SETSCOPEFROMJITDEBUGINFO 14
172 #define DEBUG_CDS_REFRESH_SETSCOPEFROMSTOREDEVENT 15
173 #define DEBUG_CDS_REFRESH_INLINESTEP 16
174 #define DEBUG_CDS_REFRESH_INLINESTEP_PSEUDO 17
176 /* GetModuleNameString() indices */
177 #define DEBUG_MODNAME_IMAGE 0
178 #define DEBUG_MODNAME_MODULE 1
179 #define DEBUG_MODNAME_LOADED_IMAGE 2
180 #define DEBUG_MODNAME_SYMBOL_FILE 3
181 #define DEBUG_MODNAME_MAPPED_IMAGE 4
183 #define DEBUG_CLASS_UNINITIALIZED 0
184 #define DEBUG_CLASS_KERNEL 1
185 #define DEBUG_CLASS_USER_WINDOWS 2
186 #define DEBUG_CLASS_IMAGE_FILE 3
188 #define DEBUG_DUMP_SMALL 1024
189 #define DEBUG_DUMP_DEFAULT 1025
190 #define DEBUG_DUMP_FULL 1026
191 #define DEBUG_DUMP_IMAGE_FILE 1027
192 #define DEBUG_DUMP_TRACE_LOG 1028
193 #define DEBUG_DUMP_WINDOWS_CE 1029
194 #define DEBUG_DUMP_ACTIVE 1030
196 #define DEBUG_USER_WINDOWS_PROCESS 0
197 #define DEBUG_USER_WINDOWS_PROCESS_SERVER 1
198 #define DEBUG_USER_WINDOWS_IDNA 2
199 #define DEBUG_USER_WINDOWS_REPT 3
200 #define DEBUG_USER_WINDOWS_SMALL_DUMP DEBUG_DUMP_SMALL
201 #define DEBUG_USER_WINDOWS_DUMP DEBUG_DUMP_DEFAULT
202 #define DEBUG_USER_WINDOWS_DUMP_WINDOWS_CE DEBUG_DUMP_WINDOWS_CE
204 #define DEBUG_INVALID_OFFSET ((ULONG64)-1)
205 #define DEBUG_ANY_ID 0xffffffff
207 #ifndef __IDebugClient_FWD_DEFINED__
208 #define __IDebugClient_FWD_DEFINED__
209 typedef interface IDebugClient IDebugClient
;
211 interface IDebugClient
;
212 #endif /* __cplusplus */
216 typedef struct _DEBUG_MODULE_PARAMETERS
225 ULONG ModuleNameSize
;
226 ULONG LoadedImageNameSize
;
227 ULONG SymbolFileNameSize
;
228 ULONG MappedImageNameSize
;
230 } DEBUG_MODULE_PARAMETERS
, *PDEBUG_MODULE_PARAMETERS
;
232 typedef struct _DEBUG_SYMBOL_PARAMETERS
240 } DEBUG_SYMBOL_PARAMETERS
, *PDEBUG_SYMBOL_PARAMETERS
;
242 typedef struct _DEBUG_STACK_FRAME
244 ULONG64 InstructionOffset
;
245 ULONG64 ReturnOffset
;
248 ULONG64 FuncTableEntry
;
253 } DEBUG_STACK_FRAME
, *PDEBUG_STACK_FRAME
;
255 typedef struct _DEBUG_VALUE
290 ULONG TailOfRawBytes
;
292 } DEBUG_VALUE
, *PDEBUG_VALUE
;
294 typedef struct _DEBUG_BREAKPOINT_PARAMETERS
302 ULONG DataAccessType
;
304 ULONG CurrentPassCount
;
307 ULONG OffsetExpressionSize
;
308 } DEBUG_BREAKPOINT_PARAMETERS
, *PDEBUG_BREAKPOINT_PARAMETERS
;
310 typedef struct _WINDBG_EXTENSION_APIS32
*PWINDBG_EXTENSION_APIS32
;
311 typedef struct _WINDBG_EXTENSION_APIS64
*PWINDBG_EXTENSION_APIS64
;
312 typedef struct _MEMORY_BASIC_INFORMATION64
*PMEMORY_BASIC_INFORMATION64
;
314 typedef struct _DEBUG_SPECIFIC_FILTER_PARAMETERS
316 ULONG ExecutionOption
;
317 ULONG ContinueOption
;
321 } DEBUG_SPECIFIC_FILTER_PARAMETERS
, *PDEBUG_SPECIFIC_FILTER_PARAMETERS
;
323 typedef struct _DEBUG_EXCEPTION_FILTER_PARAMETERS
325 ULONG ExecutionOption
;
326 ULONG ContinueOption
;
329 ULONG SecondCommandSize
;
331 } DEBUG_EXCEPTION_FILTER_PARAMETERS
, *PDEBUG_EXCEPTION_FILTER_PARAMETERS
;
333 typedef struct _DEBUG_MODULE_AND_ID
337 } DEBUG_MODULE_AND_ID
, *PDEBUG_MODULE_AND_ID
;
339 typedef struct _DEBUG_OFFSET_REGION
343 } DEBUG_OFFSET_REGION
, *PDEBUG_OFFSET_REGION
;
345 typedef struct _DEBUG_SYMBOL_ENTRY
359 } DEBUG_SYMBOL_ENTRY
, *PDEBUG_SYMBOL_ENTRY
;
361 typedef struct _DEBUG_SYMBOL_SOURCE_ENTRY
366 ULONG64 EngineInternal
;
375 } DEBUG_SYMBOL_SOURCE_ENTRY
, *PDEBUG_SYMBOL_SOURCE_ENTRY
;
377 #define INTERFACE IDebugBreakpoint
378 DECLARE_INTERFACE_(IDebugBreakpoint
, IUnknown
)
381 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
382 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
383 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
384 /* IDebugBreakpoint */
385 STDMETHOD(GetId
)(THIS_ PULONG id
) PURE
;
386 STDMETHOD(GetType
)(THIS_ PULONG breaktype
, PULONG proc
) PURE
;
387 STDMETHOD(GetAdder
)(THIS_ IDebugClient
**adder
) PURE
;
388 STDMETHOD(GetFlags
)(THIS_ PULONG flags
) PURE
;
389 STDMETHOD(AddFlags
)(THIS_ ULONG flags
) PURE
;
390 STDMETHOD(RemoveFlags
)(THIS_ ULONG flags
) PURE
;
391 STDMETHOD(SetFlags
)(THIS_ ULONG flags
) PURE
;
392 STDMETHOD(GetOffset
)(THIS_ PULONG64 offset
) PURE
;
393 STDMETHOD(SetOffset
)(THIS_ ULONG64 offset
) PURE
;
394 STDMETHOD(GetDataParameters
)(THIS_ PULONG size
, PULONG access
) PURE
;
395 STDMETHOD(SetDataParameters
)(THIS_ ULONG size
, ULONG access
) PURE
;
396 STDMETHOD(GetPassCount
)(THIS_ PULONG count
) PURE
;
397 STDMETHOD(SetPassCount
)(THIS_ ULONG count
) PURE
;
398 STDMETHOD(GetCurrentPassCount
)(THIS_ PULONG count
) PURE
;
399 STDMETHOD(GetMatchThreadId
)(THIS_ PULONG id
) PURE
;
400 STDMETHOD(SetMatchThreadId
)(THIS_ ULONG thread
) PURE
;
401 STDMETHOD(GetCommand
)(THIS_ PSTR buffer
, ULONG buf_size
, PULONG command
) PURE
;
402 STDMETHOD(SetCommand
)(THIS_ PCSTR command
) PURE
;
403 STDMETHOD(GetOffsetExpression
)(THIS_ PSTR buffer
, ULONG buf_size
, PULONG expression
) PURE
;
404 STDMETHOD(SetOffsetExpression
)(THIS_ PCSTR expression
) PURE
;
405 STDMETHOD(GetParameters
)(THIS_ PDEBUG_BREAKPOINT_PARAMETERS params
) PURE
;
409 #define INTERFACE IDebugBreakpoint2
410 DECLARE_INTERFACE_(IDebugBreakpoint2
, IUnknown
)
413 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
414 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
415 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
416 /* IDebugBreakpoint */
417 STDMETHOD(GetId
)(THIS_ PULONG id
) PURE
;
418 STDMETHOD(GetType
)(THIS_ PULONG breaktype
, PULONG proc
) PURE
;
419 STDMETHOD(GetAdder
)(THIS_ IDebugClient
**adder
) PURE
;
420 STDMETHOD(GetFlags
)(THIS_ PULONG flags
) PURE
;
421 STDMETHOD(AddFlags
)(THIS_ ULONG flags
) PURE
;
422 STDMETHOD(RemoveFlags
)(THIS_ ULONG flags
) PURE
;
423 STDMETHOD(SetFlags
)(THIS_ ULONG flags
) PURE
;
424 STDMETHOD(GetOffset
)(THIS_ PULONG64 offset
) PURE
;
425 STDMETHOD(SetOffset
)(THIS_ ULONG64 offset
) PURE
;
426 STDMETHOD(GetDataParameters
)(THIS_ PULONG size
, PULONG access
) PURE
;
427 STDMETHOD(SetDataParameters
)(THIS_ ULONG size
, ULONG access
) PURE
;
428 STDMETHOD(GetPassCount
)(THIS_ PULONG count
) PURE
;
429 STDMETHOD(SetPassCount
)(THIS_ ULONG count
) PURE
;
430 STDMETHOD(GetCurrentPassCount
)(THIS_ PULONG count
) PURE
;
431 STDMETHOD(GetMatchThreadId
)(THIS_ PULONG id
) PURE
;
432 STDMETHOD(SetMatchThreadId
)(THIS_ ULONG thread
) PURE
;
433 STDMETHOD(GetCommand
)(THIS_ PSTR buffer
, ULONG buf_size
, PULONG command
) PURE
;
434 STDMETHOD(SetCommand
)(THIS_ PCSTR command
) PURE
;
435 STDMETHOD(GetOffsetExpression
)(THIS_ PSTR buffer
, ULONG buf_size
, PULONG expression
) PURE
;
436 STDMETHOD(SetOffsetExpression
)(THIS_ PCSTR expression
) PURE
;
437 STDMETHOD(GetParameters
)(THIS_ PDEBUG_BREAKPOINT_PARAMETERS params
) PURE
;
438 /* IDebugBreakpoint2. */
439 STDMETHOD(GetCommandWide
)(THIS_ PWSTR buffer
, ULONG buf_size
, PULONG command
) PURE
;
440 STDMETHOD(SetCommandWide
)(THIS_ PCWSTR command
) PURE
;
441 STDMETHOD(GetOffsetExpressionWide
)(THIS_ PWSTR buffer
, ULONG buf_size
, PULONG expression
) PURE
;
442 STDMETHOD(SetOffsetExpressionWide
)(THIS_ PCWSTR expression
) PURE
;
447 #define INTERFACE IDebugSymbolGroup
448 DECLARE_INTERFACE_(IDebugSymbolGroup
, IUnknown
)
451 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
452 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
453 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
454 /* IDebugSymbolGroup */
455 STDMETHOD(GetNumberSymbols
)(THIS_ PULONG number
) PURE
;
456 STDMETHOD(AddSymbol
)(THIS_ PCSTR name
, PULONG index
) PURE
;
457 STDMETHOD(RemoveSymbolByName
)(THIS_ PCSTR name
) PURE
;
458 STDMETHOD(RemoveSymbolByIndex
)(THIS_ ULONG index
) PURE
;
459 STDMETHOD(GetSymbolName
)(THIS_ ULONG index
, PSTR buffer
, ULONG buf_size
, PULONG name_size
) PURE
;
460 STDMETHOD(GetSymbolParameters
)(THIS_ ULONG start
, ULONG count
, PDEBUG_SYMBOL_PARAMETERS params
) PURE
;
461 STDMETHOD(ExpandSymbol
)(THIS_ ULONG index
, BOOL expand
) PURE
;
462 STDMETHOD(OutputSymbols
)(THIS_ ULONG control
, ULONG flags
, ULONG start
, ULONG count
) PURE
;
463 STDMETHOD(WriteSymbol
)(THIS_ ULONG index
, PCSTR value
) PURE
;
464 STDMETHOD(OutputAsType
)(THIS_ ULONG index
, PCSTR type
) PURE
;
468 #define INTERFACE IDebugSymbolGroup2
469 DECLARE_INTERFACE_(IDebugSymbolGroup2
, IUnknown
)
472 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
473 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
474 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
475 /* IDebugSymbolGroup */
476 STDMETHOD(GetNumberSymbols
)(THIS_ PULONG number
) PURE
;
477 STDMETHOD(AddSymbol
)(THIS_ PCSTR name
, PULONG index
) PURE
;
478 STDMETHOD(RemoveSymbolByName
)(THIS_ PCSTR name
) PURE
;
479 STDMETHOD(RemoveSymbolByIndex
)(THIS_ ULONG index
) PURE
;
480 STDMETHOD(GetSymbolName
)(THIS_ ULONG index
, PSTR buffer
, ULONG buf_size
, PULONG name_size
) PURE
;
481 STDMETHOD(GetSymbolParameters
)(THIS_ ULONG start
, ULONG count
, PDEBUG_SYMBOL_PARAMETERS params
) PURE
;
482 STDMETHOD(ExpandSymbol
)(THIS_ ULONG index
, BOOL expand
) PURE
;
483 STDMETHOD(OutputSymbols
)(THIS_ ULONG control
, ULONG flags
, ULONG start
, ULONG count
) PURE
;
484 STDMETHOD(WriteSymbol
)(THIS_ ULONG index
, PCSTR value
) PURE
;
485 STDMETHOD(OutputAsType
)(THIS_ ULONG index
, PCSTR type
) PURE
;
486 /* IDebugSymbolGroup2 */
487 STDMETHOD(AddSymbolWide
)(THIS_ PCWSTR name
, PULONG index
) PURE
;
488 STDMETHOD(RemoveSymbolByNameWide
)(THIS_ PCWSTR name
) PURE
;
489 STDMETHOD(GetSymbolNameWide
)(THIS_ ULONG index
, PWSTR buffer
, ULONG buf_size
, PULONG size
) PURE
;
490 STDMETHOD(WriteSymbolWide
)(THIS_ ULONG index
, PCWSTR value
) PURE
;
491 STDMETHOD(OutputAsTypeWide
)(THIS_ ULONG index
, PCWSTR type
) PURE
;
492 STDMETHOD(GetSymbolTypeName
)(THIS_ ULONG index
, PSTR buffer
, ULONG buf_size
, PULONG size
) PURE
;
493 STDMETHOD(GetSymbolTypeNameWide
)(THIS_ ULONG index
, PWSTR buffer
, ULONG buf_size
, PULONG size
) PURE
;
494 STDMETHOD(GetSymbolSize
)(THIS_ ULONG index
, PULONG size
) PURE
;
495 STDMETHOD(GetSymbolOffset
)(THIS_ ULONG index
, PULONG64 offset
) PURE
;
496 STDMETHOD(GetSymbolRegister
)(THIS_ ULONG index
, PULONG reg
) PURE
;
497 STDMETHOD(GetSymbolValueText
)(THIS_ ULONG index
, PSTR buffer
, ULONG buf_size
, PULONG size
) PURE
;
498 STDMETHOD(GetSymbolValueTextWide
)(THIS_ ULONG index
, PWSTR buffer
, ULONG buf_size
, PULONG size
) PURE
;
499 STDMETHOD(GetSymbolEntryInformation
)(THIS_ ULONG index
, PDEBUG_SYMBOL_ENTRY entry
) PURE
;
503 typedef IDebugBreakpoint
*PDEBUG_BREAKPOINT
;
504 typedef IDebugSymbolGroup2
*PDEBUG_SYMBOL_GROUP2
;
506 #define INTERFACE IDebugInputCallbacks
507 DECLARE_INTERFACE_(IDebugInputCallbacks
, IUnknown
)
510 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
511 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
512 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
513 /* IDebugInputCallbacks */
514 STDMETHOD(StartInput
)(THIS_ ULONG buffer_size
) PURE
;
515 STDMETHOD(EndInput
)(THIS
) PURE
;
519 #define INTERFACE IDebugOutputCallbacks
520 DECLARE_INTERFACE_(IDebugOutputCallbacks
, IUnknown
)
523 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
524 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
525 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
526 /* IDebugOutputCallbacks */
527 STDMETHOD(Output
)(THIS_ ULONG mask
, const char *text
) PURE
;
531 #define INTERFACE IDebugOutputCallbacksWide
532 DECLARE_INTERFACE_(IDebugOutputCallbacksWide
, IUnknown
)
535 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
536 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
537 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
538 /* IDebugOutputCallbacksWide */
539 STDMETHOD(Output
)(THIS_ ULONG mask
, const WCHAR
*text
) PURE
;
543 #ifdef WINE_NO_UNICODE_MACROS
547 #define INTERFACE IDebugEventCallbacks
548 DECLARE_INTERFACE_(IDebugEventCallbacks
, IUnknown
)
551 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
552 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
553 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
554 /* IDebugEventCallbacks */
555 STDMETHOD(GetInterestMask
)(THIS_ ULONG
*mask
) PURE
;
556 STDMETHOD(Breakpoint
)(THIS_ PDEBUG_BREAKPOINT breakpoint
) PURE
;
557 STDMETHOD(Exception
)(THIS_ EXCEPTION_RECORD64
*exception
, ULONG first_chance
) PURE
;
558 STDMETHOD(CreateThread
)(THIS_ ULONG64 handle
, ULONG64 data_offset
, ULONG64 start_offset
) PURE
;
559 STDMETHOD(ExitThread
)(THIS_ ULONG exit_code
) PURE
;
560 STDMETHOD(CreateProcess
)(THIS_ ULONG64 image_handle
, ULONG64 handle
, ULONG64 base_offset
, ULONG module_size
,
561 const char *module_name
, const char *image_name
, ULONG checksum
, ULONG timedatestamp
,
562 ULONG64 initial_thread_handle
, ULONG64 thread_data_offset
, ULONG64 start_offset
) PURE
;
563 STDMETHOD(ExitProcess
)(THIS_ ULONG exit_code
) PURE
;
564 STDMETHOD(LoadModule
)(THIS_ ULONG64 image_handle
, ULONG64 base_offset
, ULONG module_size
, const char *module_name
,
565 const char *image_name
, ULONG checksum
, ULONG timedatestamp
) PURE
;
566 STDMETHOD(UnloadModule
)(THIS_
const char *image_basename
, ULONG64 base_offset
) PURE
;
567 STDMETHOD(SystemError
)(THIS_ ULONG error
, ULONG level
) PURE
;
568 STDMETHOD(SessionStatus
)(THIS_ ULONG status
) PURE
;
569 STDMETHOD(ChangeDebuggeeState
)(THIS_ ULONG flags
, ULONG64 argument
) PURE
;
570 STDMETHOD(ChangeEngineState
)(THIS_ ULONG flags
, ULONG64 argument
) PURE
;
571 STDMETHOD(ChangeSymbolState
)(THIS_ ULONG flags
, ULONG64 argument
) PURE
;
575 #define INTERFACE IDebugEventCallbacksWide
576 DECLARE_INTERFACE_(IDebugEventCallbacksWide
, IUnknown
)
579 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
580 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
581 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
583 /* IDebugEventCallbacksWide */
584 STDMETHOD(GetInterestMask
)(THIS_ ULONG
*mask
) PURE
;
585 STDMETHOD(Breakpoint
)(THIS_ PDEBUG_BREAKPOINT breakpoint
) PURE
;
586 STDMETHOD(Exception
)(THIS_ EXCEPTION_RECORD64
*exception
, ULONG first_chance
) PURE
;
587 STDMETHOD(CreateThread
)(THIS_ ULONG64 handle
, ULONG64 data_offset
, ULONG64 start_offset
) PURE
;
588 STDMETHOD(ExitThread
)(THIS_ ULONG exit_code
) PURE
;
589 STDMETHOD(CreateProcess
)(THIS_ ULONG64 image_handle
, ULONG64 handle
, ULONG64 base_offset
, ULONG module_size
,
590 const WCHAR
*module_name
, const WCHAR
*image_name
, ULONG checksum
, ULONG timedatestamp
,
591 ULONG64 initial_thread_handle
, ULONG64 thread_data_offset
, ULONG64 start_offset
) PURE
;
592 STDMETHOD(ExitProcess
)(THIS_ ULONG exit_code
) PURE
;
593 STDMETHOD(LoadModule
)(THIS_ ULONG64 image_handle
, ULONG64 base_offset
, ULONG module_size
, const WCHAR
*module_name
,
594 const WCHAR
*image_name
, ULONG checksum
, ULONG timedatestamp
) PURE
;
595 STDMETHOD(UnloadModule
)(THIS_
const WCHAR
*image_basename
, ULONG64 base_offset
) PURE
;
596 STDMETHOD(SystemError
)(THIS_ ULONG error
, ULONG level
) PURE
;
597 STDMETHOD(SessionStatus
)(THIS_ ULONG status
) PURE
;
598 STDMETHOD(ChangeDebuggeeState
)(THIS_ ULONG flags
, ULONG64 argument
) PURE
;
599 STDMETHOD(ChangeEngineState
)(THIS_ ULONG flags
, ULONG64 argument
) PURE
;
600 STDMETHOD(ChangeSymbolState
)(THIS_ ULONG flags
, ULONG64 argument
) PURE
;
604 #define INTERFACE IDebugEventContextCallbacks
605 DECLARE_INTERFACE_(IDebugEventContextCallbacks
, IUnknown
)
608 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
609 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
610 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
612 /* IDebugEventContextCallbacks */
613 STDMETHOD(GetInterestMask
)(THIS_ ULONG
*mask
) PURE
;
614 STDMETHOD(Breakpoint
)(THIS_ IDebugBreakpoint2
*bp
, void *context
, ULONG size
) PURE
;
615 STDMETHOD(Exception
)(THIS_ EXCEPTION_RECORD64
*exception
, ULONG firstchance
, void *context
, ULONG size
) PURE
;
616 STDMETHOD(CreateThread
)(THIS_ ULONG64 handle
, ULONG64 data_offset
, ULONG64 start_offset
, void *context
, ULONG size
) PURE
;
617 STDMETHOD(ExitThread
)(THIS_ ULONG exitcode
, void *context
, ULONG size
) PURE
;
619 STDMETHOD(CreateProcess
)(THIS_ ULONG64 image_handle
, ULONG64 handle
, ULONG64 baseoffset
, ULONG module_size
,
620 const WCHAR
*module_name
, const WCHAR image_name
, ULONG checksum
, ULONG timestamp
, ULONG64 initial
,
621 ULONG64 thread_offset
, ULONG64 start_offset
, void *context
, ULONG size
) PURE
;
622 STDMETHOD(ExitProcess
)(THIS_ ULONG exitcode
, void *context
, ULONG size
) PURE
;
623 STDMETHOD(LoadModule
)(THIS_ ULONG64 image_handle
, ULONG64 baseoffset
, ULONG module_size
, const WCHAR
*module_name
,
624 const WCHAR
*image_name
, ULONG checksum
, ULONG timestamp
, void *context
, ULONG size
) PURE
;
625 STDMETHOD(UnloadModule
)(THIS_
const WCHAR
*image_name
, ULONG64 offset
, void *context
, ULONG size
) PURE
;
626 STDMETHOD(SystemError
)(THIS_ ULONG error
, ULONG level
, void *context
, ULONG size
) PURE
;
627 STDMETHOD(SessionStatus
)(THIS_ ULONG status
) PURE
;
628 STDMETHOD(ChangeDebuggeeState
)(THIS_ ULONG flags
, ULONG64 argument
, void *context
, ULONG size
) PURE
;
629 STDMETHOD(ChangeEngineState
)(THIS_ ULONG flags
, ULONG64 argument
, void *context
, ULONG size
) PURE
;
630 STDMETHOD(ChangeSymbolState
)(THIS_ ULONG flags
, ULONG64 argument
) PURE
;
634 #define INTERFACE IDebugClient
635 DECLARE_INTERFACE_(IDebugClient
, IUnknown
)
638 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
639 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
640 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
642 STDMETHOD(AttachKernel
)(THIS_ ULONG flags
, const char *options
) PURE
;
643 STDMETHOD(GetKernelConnectionOptions
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*options_size
) PURE
;
644 STDMETHOD(SetKernelConnectionOptions
)(THIS_
const char *options
) PURE
;
645 STDMETHOD(StartProcessServer
)(THIS_ ULONG flags
, const char *options
, void *reserved
) PURE
;
646 STDMETHOD(ConnectProcessServer
)(THIS_
const char *remote_options
, ULONG64
*server
) PURE
;
647 STDMETHOD(DisconnectProcessServer
)(THIS_ ULONG64 server
) PURE
;
648 STDMETHOD(GetRunningProcessSystemIds
)(THIS_ ULONG64 server
, ULONG
*ids
, ULONG count
, ULONG
*actual_count
) PURE
;
649 STDMETHOD(GetRunningProcessSystemIdByExecutableName
)(THIS_ ULONG64 server
, const char *exe_name
,
650 ULONG flags
, ULONG
*id
) PURE
;
651 STDMETHOD(GetRunningProcessDescription
)(THIS_ ULONG64 server
, ULONG systemid
, ULONG flags
, char *exe_name
,
652 ULONG exe_name_size
, ULONG
*actual_exe_name_size
, char *description
, ULONG description_size
,
653 ULONG
*actual_description_size
) PURE
;
654 STDMETHOD(AttachProcess
)(THIS_ ULONG64 server
, ULONG pid
, ULONG flags
) PURE
;
655 STDMETHOD(CreateProcess
)(THIS_ ULONG64 server
, char *cmdline
, ULONG flags
) PURE
;
656 STDMETHOD(CreateProcessAndAttach
)(THIS_ ULONG64 server
, char *cmdline
, ULONG create_flags
,
657 ULONG pid
, ULONG attach_flags
) PURE
;
658 STDMETHOD(GetProcessOptions
)(THIS_ ULONG
*options
) PURE
;
659 STDMETHOD(AddProcessOptions
)(THIS_ ULONG options
) PURE
;
660 STDMETHOD(RemoveProcessOptions
)(THIS_ ULONG options
) PURE
;
661 STDMETHOD(SetProcessOptions
)(THIS_ ULONG options
) PURE
;
662 STDMETHOD(OpenDumpFile
)(THIS_
const char *filename
) PURE
;
663 STDMETHOD(WriteDumpFile
)(THIS_
const char *filename
, ULONG qualifier
) PURE
;
664 STDMETHOD(ConnectSession
)(THIS_ ULONG flags
, ULONG history_limit
) PURE
;
665 STDMETHOD(StartServer
)(THIS_
const char *options
) PURE
;
666 STDMETHOD(OutputServers
)(THIS_ ULONG output_control
, const char *machine
, ULONG flags
) PURE
;
667 STDMETHOD(TerminateProcesses
)(THIS
) PURE
;
668 STDMETHOD(DetachProcesses
)(THIS
) PURE
;
669 STDMETHOD(EndSession
)(THIS_ ULONG flags
) PURE
;
670 STDMETHOD(GetExitCode
)(THIS_ ULONG
*code
) PURE
;
671 STDMETHOD(DispatchCallbacks
)(THIS_ ULONG timeout
) PURE
;
672 STDMETHOD(ExitDispatch
)(THIS_ IDebugClient
*client
) PURE
;
673 STDMETHOD(CreateClient
)(THIS_ IDebugClient
**client
) PURE
;
674 STDMETHOD(GetInputCallbacks
)(THIS_ IDebugInputCallbacks
**callbacks
) PURE
;
675 STDMETHOD(SetInputCallbacks
)(THIS_ IDebugInputCallbacks
*callbacks
) PURE
;
676 STDMETHOD(GetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
**callbacks
) PURE
;
677 STDMETHOD(SetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
*callbacks
) PURE
;
678 STDMETHOD(GetOutputMask
)(THIS_ ULONG
*mask
) PURE
;
679 STDMETHOD(SetOutputMask
)(THIS_ ULONG mask
) PURE
;
680 STDMETHOD(GetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG
*mask
) PURE
;
681 STDMETHOD(SetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG mask
) PURE
;
682 STDMETHOD(GetOutputWidth
)(THIS_ ULONG
*columns
) PURE
;
683 STDMETHOD(SetOutputWidth
)(THIS_ ULONG columns
) PURE
;
684 STDMETHOD(GetOutputLinePrefix
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*prefix_size
) PURE
;
685 STDMETHOD(SetOutputLinePrefix
)(THIS_
const char *prefix
) PURE
;
686 STDMETHOD(GetIdentity
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*identity_size
) PURE
;
687 STDMETHOD(OutputIdentity
)(THIS_ ULONG output_control
, ULONG flags
, const char *format
) PURE
;
688 STDMETHOD(GetEventCallbacks
)(THIS_ IDebugEventCallbacks
**callbacks
) PURE
;
689 STDMETHOD(SetEventCallbacks
)(THIS_ IDebugEventCallbacks
*callbacks
) PURE
;
690 STDMETHOD(FlushCallbacks
)(THIS
) PURE
;
694 #define INTERFACE IDebugClient2
695 DECLARE_INTERFACE_(IDebugClient2
, IUnknown
)
698 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
699 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
700 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
702 STDMETHOD(AttachKernel
)(THIS_ ULONG flags
, const char *options
) PURE
;
703 STDMETHOD(GetKernelConnectionOptions
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*options_size
) PURE
;
704 STDMETHOD(SetKernelConnectionOptions
)(THIS_
const char *options
) PURE
;
705 STDMETHOD(StartProcessServer
)(THIS_ ULONG flags
, const char *options
, void *reserved
) PURE
;
706 STDMETHOD(ConnectProcessServer
)(THIS_
const char *remote_options
, ULONG64
*server
) PURE
;
707 STDMETHOD(DisconnectProcessServer
)(THIS_ ULONG64 server
) PURE
;
708 STDMETHOD(GetRunningProcessSystemIds
)(THIS_ ULONG64 server
, ULONG
*ids
, ULONG count
, ULONG
*actual_count
) PURE
;
709 STDMETHOD(GetRunningProcessSystemIdByExecutableName
)(THIS_ ULONG64 server
, const char *exe_name
,
710 ULONG flags
, ULONG
*id
) PURE
;
711 STDMETHOD(GetRunningProcessDescription
)(THIS_ ULONG64 server
, ULONG systemid
, ULONG flags
, char *exe_name
,
712 ULONG exe_name_size
, ULONG
*actual_exe_name_size
, char *description
, ULONG description_size
,
713 ULONG
*actual_description_size
) PURE
;
714 STDMETHOD(AttachProcess
)(THIS_ ULONG64 server
, ULONG pid
, ULONG flags
) PURE
;
715 STDMETHOD(CreateProcess
)(THIS_ ULONG64 server
, char *cmdline
, ULONG flags
) PURE
;
716 STDMETHOD(CreateProcessAndAttach
)(THIS_ ULONG64 server
, char *cmdline
, ULONG create_flags
,
717 ULONG pid
, ULONG attach_flags
) PURE
;
718 STDMETHOD(GetProcessOptions
)(THIS_ ULONG
*options
) PURE
;
719 STDMETHOD(AddProcessOptions
)(THIS_ ULONG options
) PURE
;
720 STDMETHOD(RemoveProcessOptions
)(THIS_ ULONG options
) PURE
;
721 STDMETHOD(SetProcessOptions
)(THIS_ ULONG options
) PURE
;
722 STDMETHOD(OpenDumpFile
)(THIS_
const char *filename
) PURE
;
723 STDMETHOD(WriteDumpFile
)(THIS_
const char *filename
, ULONG qualifier
) PURE
;
724 STDMETHOD(ConnectSession
)(THIS_ ULONG flags
, ULONG history_limit
) PURE
;
725 STDMETHOD(StartServer
)(THIS_
const char *options
) PURE
;
726 STDMETHOD(OutputServers
)(THIS_ ULONG output_control
, const char *machine
, ULONG flags
) PURE
;
727 STDMETHOD(TerminateProcesses
)(THIS
) PURE
;
728 STDMETHOD(DetachProcesses
)(THIS
) PURE
;
729 STDMETHOD(EndSession
)(THIS_ ULONG flags
) PURE
;
730 STDMETHOD(GetExitCode
)(THIS_ ULONG
*code
) PURE
;
731 STDMETHOD(DispatchCallbacks
)(THIS_ ULONG timeout
) PURE
;
732 STDMETHOD(ExitDispatch
)(THIS_ IDebugClient
*client
) PURE
;
733 STDMETHOD(CreateClient
)(THIS_ IDebugClient
**client
) PURE
;
734 STDMETHOD(GetInputCallbacks
)(THIS_ IDebugInputCallbacks
**callbacks
) PURE
;
735 STDMETHOD(SetInputCallbacks
)(THIS_ IDebugInputCallbacks
*callbacks
) PURE
;
736 STDMETHOD(GetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
**callbacks
) PURE
;
737 STDMETHOD(SetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
*callbacks
) PURE
;
738 STDMETHOD(GetOutputMask
)(THIS_ ULONG
*mask
) PURE
;
739 STDMETHOD(SetOutputMask
)(THIS_ ULONG mask
) PURE
;
740 STDMETHOD(GetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG
*mask
) PURE
;
741 STDMETHOD(SetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG mask
) PURE
;
742 STDMETHOD(GetOutputWidth
)(THIS_ ULONG
*columns
) PURE
;
743 STDMETHOD(SetOutputWidth
)(THIS_ ULONG columns
) PURE
;
744 STDMETHOD(GetOutputLinePrefix
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*prefix_size
) PURE
;
745 STDMETHOD(SetOutputLinePrefix
)(THIS_
const char *prefix
) PURE
;
746 STDMETHOD(GetIdentity
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*identity_size
) PURE
;
747 STDMETHOD(OutputIdentity
)(THIS_ ULONG output_control
, ULONG flags
, const char *format
) PURE
;
748 STDMETHOD(GetEventCallbacks
)(THIS_ IDebugEventCallbacks
**callbacks
) PURE
;
749 STDMETHOD(SetEventCallbacks
)(THIS_ IDebugEventCallbacks
*callbacks
) PURE
;
750 STDMETHOD(FlushCallbacks
)(THIS
) PURE
;
752 STDMETHOD(WriteDumpFile2
)(THIS_
const char *dumpfile
, ULONG qualifier
, ULONG flags
, const char *comment
) PURE
;
753 STDMETHOD(AddDumpInformationFile
)(THIS_
const char *infofile
, ULONG type
) PURE
;
754 STDMETHOD(EndProcessServer
)(THIS_ ULONG64 server
) PURE
;
755 STDMETHOD(WaitForProcessServerEnd
)(THIS_ ULONG timeout
) PURE
;
756 STDMETHOD(IsKernelDebuggerEnabled
)(THIS
) PURE
;
757 STDMETHOD(TerminateCurrentProcess
)(THIS
) PURE
;
758 STDMETHOD(DetachCurrentProcess
)(THIS
) PURE
;
759 STDMETHOD(AbandonCurrentProcess
)(THIS
) PURE
;
763 #define INTERFACE IDebugClient3
764 DECLARE_INTERFACE_(IDebugClient3
, IUnknown
)
767 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
768 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
769 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
771 STDMETHOD(AttachKernel
)(THIS_ ULONG flags
, const char *options
) PURE
;
772 STDMETHOD(GetKernelConnectionOptions
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*options_size
) PURE
;
773 STDMETHOD(SetKernelConnectionOptions
)(THIS_
const char *options
) PURE
;
774 STDMETHOD(StartProcessServer
)(THIS_ ULONG flags
, const char *options
, void *reserved
) PURE
;
775 STDMETHOD(ConnectProcessServer
)(THIS_
const char *remote_options
, ULONG64
*server
) PURE
;
776 STDMETHOD(DisconnectProcessServer
)(THIS_ ULONG64 server
) PURE
;
777 STDMETHOD(GetRunningProcessSystemIds
)(THIS_ ULONG64 server
, ULONG
*ids
, ULONG count
, ULONG
*actual_count
) PURE
;
778 STDMETHOD(GetRunningProcessSystemIdByExecutableName
)(THIS_ ULONG64 server
, const char *exe_name
,
779 ULONG flags
, ULONG
*id
) PURE
;
780 STDMETHOD(GetRunningProcessDescription
)(THIS_ ULONG64 server
, ULONG systemid
, ULONG flags
, char *exe_name
,
781 ULONG exe_name_size
, ULONG
*actual_exe_name_size
, char *description
, ULONG description_size
,
782 ULONG
*actual_description_size
) PURE
;
783 STDMETHOD(AttachProcess
)(THIS_ ULONG64 server
, ULONG pid
, ULONG flags
) PURE
;
784 STDMETHOD(CreateProcess
)(THIS_ ULONG64 server
, char *cmdline
, ULONG flags
) PURE
;
785 STDMETHOD(CreateProcessAndAttach
)(THIS_ ULONG64 server
, char *cmdline
, ULONG create_flags
,
786 ULONG pid
, ULONG attach_flags
) PURE
;
787 STDMETHOD(GetProcessOptions
)(THIS_ ULONG
*options
) PURE
;
788 STDMETHOD(AddProcessOptions
)(THIS_ ULONG options
) PURE
;
789 STDMETHOD(RemoveProcessOptions
)(THIS_ ULONG options
) PURE
;
790 STDMETHOD(SetProcessOptions
)(THIS_ ULONG options
) PURE
;
791 STDMETHOD(OpenDumpFile
)(THIS_
const char *filename
) PURE
;
792 STDMETHOD(WriteDumpFile
)(THIS_
const char *filename
, ULONG qualifier
) PURE
;
793 STDMETHOD(ConnectSession
)(THIS_ ULONG flags
, ULONG history_limit
) PURE
;
794 STDMETHOD(StartServer
)(THIS_
const char *options
) PURE
;
795 STDMETHOD(OutputServers
)(THIS_ ULONG output_control
, const char *machine
, ULONG flags
) PURE
;
796 STDMETHOD(TerminateProcesses
)(THIS
) PURE
;
797 STDMETHOD(DetachProcesses
)(THIS
) PURE
;
798 STDMETHOD(EndSession
)(THIS_ ULONG flags
) PURE
;
799 STDMETHOD(GetExitCode
)(THIS_ ULONG
*code
) PURE
;
800 STDMETHOD(DispatchCallbacks
)(THIS_ ULONG timeout
) PURE
;
801 STDMETHOD(ExitDispatch
)(THIS_ IDebugClient
*client
) PURE
;
802 STDMETHOD(CreateClient
)(THIS_ IDebugClient
**client
) PURE
;
803 STDMETHOD(GetInputCallbacks
)(THIS_ IDebugInputCallbacks
**callbacks
) PURE
;
804 STDMETHOD(SetInputCallbacks
)(THIS_ IDebugInputCallbacks
*callbacks
) PURE
;
805 STDMETHOD(GetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
**callbacks
) PURE
;
806 STDMETHOD(SetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
*callbacks
) PURE
;
807 STDMETHOD(GetOutputMask
)(THIS_ ULONG
*mask
) PURE
;
808 STDMETHOD(SetOutputMask
)(THIS_ ULONG mask
) PURE
;
809 STDMETHOD(GetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG
*mask
) PURE
;
810 STDMETHOD(SetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG mask
) PURE
;
811 STDMETHOD(GetOutputWidth
)(THIS_ ULONG
*columns
) PURE
;
812 STDMETHOD(SetOutputWidth
)(THIS_ ULONG columns
) PURE
;
813 STDMETHOD(GetOutputLinePrefix
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*prefix_size
) PURE
;
814 STDMETHOD(SetOutputLinePrefix
)(THIS_
const char *prefix
) PURE
;
815 STDMETHOD(GetIdentity
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*identity_size
) PURE
;
816 STDMETHOD(OutputIdentity
)(THIS_ ULONG output_control
, ULONG flags
, const char *format
) PURE
;
817 STDMETHOD(GetEventCallbacks
)(THIS_ IDebugEventCallbacks
**callbacks
) PURE
;
818 STDMETHOD(SetEventCallbacks
)(THIS_ IDebugEventCallbacks
*callbacks
) PURE
;
819 STDMETHOD(FlushCallbacks
)(THIS
) PURE
;
821 STDMETHOD(WriteDumpFile2
)(THIS_
const char *dumpfile
, ULONG qualifier
, ULONG flags
, const char *comment
) PURE
;
822 STDMETHOD(AddDumpInformationFile
)(THIS_
const char *infofile
, ULONG type
) PURE
;
823 STDMETHOD(EndProcessServer
)(THIS_ ULONG64 server
) PURE
;
824 STDMETHOD(WaitForProcessServerEnd
)(THIS_ ULONG timeout
) PURE
;
825 STDMETHOD(IsKernelDebuggerEnabled
)(THIS
) PURE
;
826 STDMETHOD(TerminateCurrentProcess
)(THIS
) PURE
;
827 STDMETHOD(DetachCurrentProcess
)(THIS
) PURE
;
828 STDMETHOD(AbandonCurrentProcess
)(THIS
) PURE
;
830 STDMETHOD(GetRunningProcessSystemIdByExecutableNameWide
)(THIS_ ULONG64 server
, const WCHAR
*exename
, ULONG flags
, ULONG
*id
) PURE
;
831 STDMETHOD(GetRunningProcessDescriptionWide
)(THIS_ ULONG64 server
, ULONG id
, ULONG flags
, WCHAR
*exename
, ULONG size
,
832 ULONG
*actualsize
, WCHAR
*description
, ULONG desc_size
, ULONG
*actual_descr_size
) PURE
;
833 STDMETHOD(CreateProcessWide
)(THIS_ ULONG64 server
, WCHAR
*CommandLine
, ULONG flags
) PURE
;
834 STDMETHOD(CreateProcessAndAttachWide
)(THIS_ ULONG64 server
, WCHAR
*commandline
, ULONG flags
,
835 ULONG processid
,ULONG attachflags
) PURE
;
839 #define INTERFACE IDebugClient4
840 DECLARE_INTERFACE_(IDebugClient4
, IUnknown
)
843 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
844 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
845 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
847 STDMETHOD(AttachKernel
)(THIS_ ULONG flags
, const char *options
) PURE
;
848 STDMETHOD(GetKernelConnectionOptions
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*options_size
) PURE
;
849 STDMETHOD(SetKernelConnectionOptions
)(THIS_
const char *options
) PURE
;
850 STDMETHOD(StartProcessServer
)(THIS_ ULONG flags
, const char *options
, void *reserved
) PURE
;
851 STDMETHOD(ConnectProcessServer
)(THIS_
const char *remote_options
, ULONG64
*server
) PURE
;
852 STDMETHOD(DisconnectProcessServer
)(THIS_ ULONG64 server
) PURE
;
853 STDMETHOD(GetRunningProcessSystemIds
)(THIS_ ULONG64 server
, ULONG
*ids
, ULONG count
, ULONG
*actual_count
) PURE
;
854 STDMETHOD(GetRunningProcessSystemIdByExecutableName
)(THIS_ ULONG64 server
, const char *exe_name
,
855 ULONG flags
, ULONG
*id
) PURE
;
856 STDMETHOD(GetRunningProcessDescription
)(THIS_ ULONG64 server
, ULONG systemid
, ULONG flags
, char *exe_name
,
857 ULONG exe_name_size
, ULONG
*actual_exe_name_size
, char *description
, ULONG description_size
,
858 ULONG
*actual_description_size
) PURE
;
859 STDMETHOD(AttachProcess
)(THIS_ ULONG64 server
, ULONG pid
, ULONG flags
) PURE
;
860 STDMETHOD(CreateProcess
)(THIS_ ULONG64 server
, char *cmdline
, ULONG flags
) PURE
;
861 STDMETHOD(CreateProcessAndAttach
)(THIS_ ULONG64 server
, char *cmdline
, ULONG create_flags
,
862 ULONG pid
, ULONG attach_flags
) PURE
;
863 STDMETHOD(GetProcessOptions
)(THIS_ ULONG
*options
) PURE
;
864 STDMETHOD(AddProcessOptions
)(THIS_ ULONG options
) PURE
;
865 STDMETHOD(RemoveProcessOptions
)(THIS_ ULONG options
) PURE
;
866 STDMETHOD(SetProcessOptions
)(THIS_ ULONG options
) PURE
;
867 STDMETHOD(OpenDumpFile
)(THIS_
const char *filename
) PURE
;
868 STDMETHOD(WriteDumpFile
)(THIS_
const char *filename
, ULONG qualifier
) PURE
;
869 STDMETHOD(ConnectSession
)(THIS_ ULONG flags
, ULONG history_limit
) PURE
;
870 STDMETHOD(StartServer
)(THIS_
const char *options
) PURE
;
871 STDMETHOD(OutputServers
)(THIS_ ULONG output_control
, const char *machine
, ULONG flags
) PURE
;
872 STDMETHOD(TerminateProcesses
)(THIS
) PURE
;
873 STDMETHOD(DetachProcesses
)(THIS
) PURE
;
874 STDMETHOD(EndSession
)(THIS_ ULONG flags
) PURE
;
875 STDMETHOD(GetExitCode
)(THIS_ ULONG
*code
) PURE
;
876 STDMETHOD(DispatchCallbacks
)(THIS_ ULONG timeout
) PURE
;
877 STDMETHOD(ExitDispatch
)(THIS_ IDebugClient
*client
) PURE
;
878 STDMETHOD(CreateClient
)(THIS_ IDebugClient
**client
) PURE
;
879 STDMETHOD(GetInputCallbacks
)(THIS_ IDebugInputCallbacks
**callbacks
) PURE
;
880 STDMETHOD(SetInputCallbacks
)(THIS_ IDebugInputCallbacks
*callbacks
) PURE
;
881 STDMETHOD(GetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
**callbacks
) PURE
;
882 STDMETHOD(SetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
*callbacks
) PURE
;
883 STDMETHOD(GetOutputMask
)(THIS_ ULONG
*mask
) PURE
;
884 STDMETHOD(SetOutputMask
)(THIS_ ULONG mask
) PURE
;
885 STDMETHOD(GetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG
*mask
) PURE
;
886 STDMETHOD(SetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG mask
) PURE
;
887 STDMETHOD(GetOutputWidth
)(THIS_ ULONG
*columns
) PURE
;
888 STDMETHOD(SetOutputWidth
)(THIS_ ULONG columns
) PURE
;
889 STDMETHOD(GetOutputLinePrefix
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*prefix_size
) PURE
;
890 STDMETHOD(SetOutputLinePrefix
)(THIS_
const char *prefix
) PURE
;
891 STDMETHOD(GetIdentity
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*identity_size
) PURE
;
892 STDMETHOD(OutputIdentity
)(THIS_ ULONG output_control
, ULONG flags
, const char *format
) PURE
;
893 STDMETHOD(GetEventCallbacks
)(THIS_ IDebugEventCallbacks
**callbacks
) PURE
;
894 STDMETHOD(SetEventCallbacks
)(THIS_ IDebugEventCallbacks
*callbacks
) PURE
;
895 STDMETHOD(FlushCallbacks
)(THIS
) PURE
;
897 STDMETHOD(WriteDumpFile2
)(THIS_
const char *dumpfile
, ULONG qualifier
, ULONG flags
, const char *comment
) PURE
;
898 STDMETHOD(AddDumpInformationFile
)(THIS_
const char *infofile
, ULONG type
) PURE
;
899 STDMETHOD(EndProcessServer
)(THIS_ ULONG64 server
) PURE
;
900 STDMETHOD(WaitForProcessServerEnd
)(THIS_ ULONG timeout
) PURE
;
901 STDMETHOD(IsKernelDebuggerEnabled
)(THIS
) PURE
;
902 STDMETHOD(TerminateCurrentProcess
)(THIS
) PURE
;
903 STDMETHOD(DetachCurrentProcess
)(THIS
) PURE
;
904 STDMETHOD(AbandonCurrentProcess
)(THIS
) PURE
;
906 STDMETHOD(GetRunningProcessSystemIdByExecutableNameWide
)(THIS_ ULONG64 server
, const WCHAR
*exename
, ULONG flags
, ULONG
*id
) PURE
;
907 STDMETHOD(GetRunningProcessDescriptionWide
)(THIS_ ULONG64 server
, ULONG id
, ULONG flags
, WCHAR
*exename
, ULONG size
,
908 ULONG
*actualsize
, WCHAR
*description
, ULONG desc_size
, ULONG
*actual_descr_size
) PURE
;
909 STDMETHOD(CreateProcessWide
)(THIS_ ULONG64 server
, WCHAR
*CommandLine
, ULONG flags
) PURE
;
910 STDMETHOD(CreateProcessAndAttachWide
)(THIS_ ULONG64 server
, WCHAR
*commandline
, ULONG flags
,
911 ULONG processid
,ULONG attachflags
) PURE
;
913 STDMETHOD(OpenDumpFileWide
)(THIS_
const WCHAR
*filename
, ULONG64 handle
) PURE
;
914 STDMETHOD(WriteDumpFileWide
)(THIS_
const WCHAR
*filename
, ULONG64 handle
, ULONG qualifier
, ULONG Flags
, const WCHAR
*comment
) PURE
;
915 STDMETHOD(AddDumpInformationFileWide
)(THIS_
const WCHAR
*filename
,ULONG64 handle
, ULONG type
) PURE
;
916 STDMETHOD(GetNumberDumpFiles
)(THIS_ ULONG
*count
) PURE
;
917 STDMETHOD(GetDumpFile
)(THIS_ ULONG index
, char *buffer
, ULONG buf_size
, ULONG
*name_size
, ULONG64
*handle
, ULONG
*type
) PURE
;
918 STDMETHOD(GetDumpFileWide
)(THIS_ ULONG index
, WCHAR
*buffer
, ULONG buf_size
, ULONG
*name_size
, ULONG64
*handle
,ULONG
*type
) PURE
;
922 #define INTERFACE IDebugClient5
923 DECLARE_INTERFACE_(IDebugClient5
, IUnknown
)
926 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
927 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
928 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
930 STDMETHOD(AttachKernel
)(THIS_ ULONG flags
, const char *options
) PURE
;
931 STDMETHOD(GetKernelConnectionOptions
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*options_size
) PURE
;
932 STDMETHOD(SetKernelConnectionOptions
)(THIS_
const char *options
) PURE
;
933 STDMETHOD(StartProcessServer
)(THIS_ ULONG flags
, const char *options
, void *reserved
) PURE
;
934 STDMETHOD(ConnectProcessServer
)(THIS_
const char *remote_options
, ULONG64
*server
) PURE
;
935 STDMETHOD(DisconnectProcessServer
)(THIS_ ULONG64 server
) PURE
;
936 STDMETHOD(GetRunningProcessSystemIds
)(THIS_ ULONG64 server
, ULONG
*ids
, ULONG count
, ULONG
*actual_count
) PURE
;
937 STDMETHOD(GetRunningProcessSystemIdByExecutableName
)(THIS_ ULONG64 server
, const char *exe_name
,
938 ULONG flags
, ULONG
*id
) PURE
;
939 STDMETHOD(GetRunningProcessDescription
)(THIS_ ULONG64 server
, ULONG systemid
, ULONG flags
, char *exe_name
,
940 ULONG exe_name_size
, ULONG
*actual_exe_name_size
, char *description
, ULONG description_size
,
941 ULONG
*actual_description_size
) PURE
;
942 STDMETHOD(AttachProcess
)(THIS_ ULONG64 server
, ULONG pid
, ULONG flags
) PURE
;
943 STDMETHOD(CreateProcess
)(THIS_ ULONG64 server
, char *cmdline
, ULONG flags
) PURE
;
944 STDMETHOD(CreateProcessAndAttach
)(THIS_ ULONG64 server
, char *cmdline
, ULONG create_flags
,
945 ULONG pid
, ULONG attach_flags
) PURE
;
946 STDMETHOD(GetProcessOptions
)(THIS_ ULONG
*options
) PURE
;
947 STDMETHOD(AddProcessOptions
)(THIS_ ULONG options
) PURE
;
948 STDMETHOD(RemoveProcessOptions
)(THIS_ ULONG options
) PURE
;
949 STDMETHOD(SetProcessOptions
)(THIS_ ULONG options
) PURE
;
950 STDMETHOD(OpenDumpFile
)(THIS_
const char *filename
) PURE
;
951 STDMETHOD(WriteDumpFile
)(THIS_
const char *filename
, ULONG qualifier
) PURE
;
952 STDMETHOD(ConnectSession
)(THIS_ ULONG flags
, ULONG history_limit
) PURE
;
953 STDMETHOD(StartServer
)(THIS_
const char *options
) PURE
;
954 STDMETHOD(OutputServers
)(THIS_ ULONG output_control
, const char *machine
, ULONG flags
) PURE
;
955 STDMETHOD(TerminateProcesses
)(THIS
) PURE
;
956 STDMETHOD(DetachProcesses
)(THIS
) PURE
;
957 STDMETHOD(EndSession
)(THIS_ ULONG flags
) PURE
;
958 STDMETHOD(GetExitCode
)(THIS_ ULONG
*code
) PURE
;
959 STDMETHOD(DispatchCallbacks
)(THIS_ ULONG timeout
) PURE
;
960 STDMETHOD(ExitDispatch
)(THIS_ IDebugClient
*client
) PURE
;
961 STDMETHOD(CreateClient
)(THIS_ IDebugClient
**client
) PURE
;
962 STDMETHOD(GetInputCallbacks
)(THIS_ IDebugInputCallbacks
**callbacks
) PURE
;
963 STDMETHOD(SetInputCallbacks
)(THIS_ IDebugInputCallbacks
*callbacks
) PURE
;
964 STDMETHOD(GetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
**callbacks
) PURE
;
965 STDMETHOD(SetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
*callbacks
) PURE
;
966 STDMETHOD(GetOutputMask
)(THIS_ ULONG
*mask
) PURE
;
967 STDMETHOD(SetOutputMask
)(THIS_ ULONG mask
) PURE
;
968 STDMETHOD(GetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG
*mask
) PURE
;
969 STDMETHOD(SetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG mask
) PURE
;
970 STDMETHOD(GetOutputWidth
)(THIS_ ULONG
*columns
) PURE
;
971 STDMETHOD(SetOutputWidth
)(THIS_ ULONG columns
) PURE
;
972 STDMETHOD(GetOutputLinePrefix
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*prefix_size
) PURE
;
973 STDMETHOD(SetOutputLinePrefix
)(THIS_
const char *prefix
) PURE
;
974 STDMETHOD(GetIdentity
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*identity_size
) PURE
;
975 STDMETHOD(OutputIdentity
)(THIS_ ULONG output_control
, ULONG flags
, const char *format
) PURE
;
976 STDMETHOD(GetEventCallbacks
)(THIS_ IDebugEventCallbacks
**callbacks
) PURE
;
977 STDMETHOD(SetEventCallbacks
)(THIS_ IDebugEventCallbacks
*callbacks
) PURE
;
978 STDMETHOD(FlushCallbacks
)(THIS
) PURE
;
980 STDMETHOD(WriteDumpFile2
)(THIS_
const char *dumpfile
, ULONG qualifier
, ULONG flags
, const char *comment
) PURE
;
981 STDMETHOD(AddDumpInformationFile
)(THIS_
const char *infofile
, ULONG type
) PURE
;
982 STDMETHOD(EndProcessServer
)(THIS_ ULONG64 server
) PURE
;
983 STDMETHOD(WaitForProcessServerEnd
)(THIS_ ULONG timeout
) PURE
;
984 STDMETHOD(IsKernelDebuggerEnabled
)(THIS
) PURE
;
985 STDMETHOD(TerminateCurrentProcess
)(THIS
) PURE
;
986 STDMETHOD(DetachCurrentProcess
)(THIS
) PURE
;
987 STDMETHOD(AbandonCurrentProcess
)(THIS
) PURE
;
989 STDMETHOD(GetRunningProcessSystemIdByExecutableNameWide
)(THIS_ ULONG64 server
, const WCHAR
*exename
, ULONG flags
, ULONG
*id
) PURE
;
990 STDMETHOD(GetRunningProcessDescriptionWide
)(THIS_ ULONG64 server
, ULONG id
, ULONG flags
, WCHAR
*exename
, ULONG size
,
991 ULONG
*actualsize
, WCHAR
*description
, ULONG desc_size
, ULONG
*actual_descr_size
) PURE
;
992 STDMETHOD(CreateProcessWide
)(THIS_ ULONG64 server
, WCHAR
*CommandLine
, ULONG flags
) PURE
;
993 STDMETHOD(CreateProcessAndAttachWide
)(THIS_ ULONG64 server
, WCHAR
*commandline
, ULONG flags
,
994 ULONG processid
,ULONG attachflags
) PURE
;
996 STDMETHOD(OpenDumpFileWide
)(THIS_
const WCHAR
*filename
, ULONG64 handle
) PURE
;
997 STDMETHOD(WriteDumpFileWide
)(THIS_
const WCHAR
*filename
, ULONG64 handle
, ULONG qualifier
, ULONG Flags
, const WCHAR
*comment
) PURE
;
998 STDMETHOD(AddDumpInformationFileWide
)(THIS_
const WCHAR
*filename
,ULONG64 handle
, ULONG type
) PURE
;
999 STDMETHOD(GetNumberDumpFiles
)(THIS_ ULONG
*count
) PURE
;
1000 STDMETHOD(GetDumpFile
)(THIS_ ULONG index
, char *buffer
, ULONG buf_size
, ULONG
*name_size
, ULONG64
*handle
, ULONG
*type
) PURE
;
1001 STDMETHOD(GetDumpFileWide
)(THIS_ ULONG index
, WCHAR
*buffer
, ULONG buf_size
, ULONG
*name_size
, ULONG64
*handle
,ULONG
*type
) PURE
;
1003 STDMETHOD(AttachKernelWide
)(THIS_ ULONG flags
, const WCHAR
*options
) PURE
;
1004 STDMETHOD(GetKernelConnectionOptionsWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1005 STDMETHOD(SetKernelConnectionOptionsWide
)(THIS_
const WCHAR
*options
) PURE
;
1006 STDMETHOD(StartProcessServerWide
)(THIS_ ULONG flags
, const WCHAR
*options
, void *reserved
) PURE
;
1007 STDMETHOD(ConnectProcessServerWide
)(THIS_
const WCHAR
*options
, ULONG64
*server
) PURE
;
1008 STDMETHOD(StartServerWide
)(THIS_
const WCHAR
*options
) PURE
;
1009 STDMETHOD(OutputServersWide
)(THIS_ ULONG control
, const WCHAR
*machine
, ULONG flags
) PURE
;
1010 STDMETHOD(GetOutputCallbacksWide
)(THIS_ IDebugOutputCallbacksWide
**callbacks
) PURE
;
1011 STDMETHOD(SetOutputCallbacksWide
)(THIS_ IDebugOutputCallbacksWide
*callbacks
) PURE
;
1012 STDMETHOD(GetOutputLinePrefixWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1013 STDMETHOD(SetOutputLinePrefixWide
)(THIS_
const WCHAR
*prefix
) PURE
;
1014 STDMETHOD(GetIdentityWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*identity
) PURE
;
1015 STDMETHOD(OutputIdentityWide
)(THIS_ ULONG control
, ULONG flags
, const WCHAR
*format
) PURE
;
1016 STDMETHOD(GetEventCallbacksWide
)(THIS_ IDebugEventCallbacksWide
**callbacks
) PURE
;
1017 STDMETHOD(SetEventCallbacksWide
)(THIS_ IDebugEventCallbacksWide
*callbacks
) PURE
;
1018 STDMETHOD(CreateProcess2
)(THIS_ ULONG64 server
, char *command
, void *options
, ULONG buf_size
,
1019 const char *initial
, const char *environment
) PURE
;
1020 STDMETHOD(CreateProcess2Wide
)(THIS_ ULONG64 server
, WCHAR
*command
, void *options
, ULONG size
,
1021 const WCHAR
*initial
, const WCHAR
*environment
) PURE
;
1022 STDMETHOD(CreateProcessAndAttach2
)(THIS_ ULONG64 server
, char *command
, void *options
, ULONG buf_size
,
1023 const char *initial
, const char *environment
, ULONG processid
, ULONG flags
) PURE
;
1024 STDMETHOD(CreateProcessAndAttach2Wide
)(THIS_ ULONG64 server
, WCHAR
*command
, void *buffer
, ULONG buf_size
,
1025 const WCHAR
*initial
, const WCHAR
*environment
, ULONG processid
, ULONG flags
) PURE
;
1026 STDMETHOD(PushOutputLinePrefix
)(THIS_
const char *prefix
, ULONG64
*handle
) PURE
;
1027 STDMETHOD(PushOutputLinePrefixWide
)(THIS_
const WCHAR
*prefix
, ULONG64
*handle
) PURE
;
1028 STDMETHOD(PopOutputLinePrefix
)(THIS_ ULONG64 handle
) PURE
;
1029 STDMETHOD(GetNumberInputCallbacks
)(THIS_ ULONG
*count
) PURE
;
1030 STDMETHOD(GetNumberOutputCallbacks
)(THIS_ ULONG
*count
) PURE
;
1031 STDMETHOD(GetNumberEventCallbacks
)(THIS_ ULONG flags
, ULONG
*count
) PURE
;
1032 STDMETHOD(GetQuitLockString
)(THIS_
char *buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1033 STDMETHOD(SetQuitLockString
)(THIS_
char *string
) PURE
;
1034 STDMETHOD(GetQuitLockStringWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1035 STDMETHOD(SetQuitLockStringWide
)(THIS_
const WCHAR
*string
) PURE
;
1039 #define INTERFACE IDebugClient6
1040 DECLARE_INTERFACE_(IDebugClient6
, IUnknown
)
1043 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1044 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1045 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1047 STDMETHOD(AttachKernel
)(THIS_ ULONG flags
, const char *options
) PURE
;
1048 STDMETHOD(GetKernelConnectionOptions
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*options_size
) PURE
;
1049 STDMETHOD(SetKernelConnectionOptions
)(THIS_
const char *options
) PURE
;
1050 STDMETHOD(StartProcessServer
)(THIS_ ULONG flags
, const char *options
, void *reserved
) PURE
;
1051 STDMETHOD(ConnectProcessServer
)(THIS_
const char *remote_options
, ULONG64
*server
) PURE
;
1052 STDMETHOD(DisconnectProcessServer
)(THIS_ ULONG64 server
) PURE
;
1053 STDMETHOD(GetRunningProcessSystemIds
)(THIS_ ULONG64 server
, ULONG
*ids
, ULONG count
, ULONG
*actual_count
) PURE
;
1054 STDMETHOD(GetRunningProcessSystemIdByExecutableName
)(THIS_ ULONG64 server
, const char *exe_name
,
1055 ULONG flags
, ULONG
*id
) PURE
;
1056 STDMETHOD(GetRunningProcessDescription
)(THIS_ ULONG64 server
, ULONG systemid
, ULONG flags
, char *exe_name
,
1057 ULONG exe_name_size
, ULONG
*actual_exe_name_size
, char *description
, ULONG description_size
,
1058 ULONG
*actual_description_size
) PURE
;
1059 STDMETHOD(AttachProcess
)(THIS_ ULONG64 server
, ULONG pid
, ULONG flags
) PURE
;
1060 STDMETHOD(CreateProcess
)(THIS_ ULONG64 server
, char *cmdline
, ULONG flags
) PURE
;
1061 STDMETHOD(CreateProcessAndAttach
)(THIS_ ULONG64 server
, char *cmdline
, ULONG create_flags
,
1062 ULONG pid
, ULONG attach_flags
) PURE
;
1063 STDMETHOD(GetProcessOptions
)(THIS_ ULONG
*options
) PURE
;
1064 STDMETHOD(AddProcessOptions
)(THIS_ ULONG options
) PURE
;
1065 STDMETHOD(RemoveProcessOptions
)(THIS_ ULONG options
) PURE
;
1066 STDMETHOD(SetProcessOptions
)(THIS_ ULONG options
) PURE
;
1067 STDMETHOD(OpenDumpFile
)(THIS_
const char *filename
) PURE
;
1068 STDMETHOD(WriteDumpFile
)(THIS_
const char *filename
, ULONG qualifier
) PURE
;
1069 STDMETHOD(ConnectSession
)(THIS_ ULONG flags
, ULONG history_limit
) PURE
;
1070 STDMETHOD(StartServer
)(THIS_
const char *options
) PURE
;
1071 STDMETHOD(OutputServers
)(THIS_ ULONG output_control
, const char *machine
, ULONG flags
) PURE
;
1072 STDMETHOD(TerminateProcesses
)(THIS
) PURE
;
1073 STDMETHOD(DetachProcesses
)(THIS
) PURE
;
1074 STDMETHOD(EndSession
)(THIS_ ULONG flags
) PURE
;
1075 STDMETHOD(GetExitCode
)(THIS_ ULONG
*code
) PURE
;
1076 STDMETHOD(DispatchCallbacks
)(THIS_ ULONG timeout
) PURE
;
1077 STDMETHOD(ExitDispatch
)(THIS_ IDebugClient
*client
) PURE
;
1078 STDMETHOD(CreateClient
)(THIS_ IDebugClient
**client
) PURE
;
1079 STDMETHOD(GetInputCallbacks
)(THIS_ IDebugInputCallbacks
**callbacks
) PURE
;
1080 STDMETHOD(SetInputCallbacks
)(THIS_ IDebugInputCallbacks
*callbacks
) PURE
;
1081 STDMETHOD(GetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
**callbacks
) PURE
;
1082 STDMETHOD(SetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
*callbacks
) PURE
;
1083 STDMETHOD(GetOutputMask
)(THIS_ ULONG
*mask
) PURE
;
1084 STDMETHOD(SetOutputMask
)(THIS_ ULONG mask
) PURE
;
1085 STDMETHOD(GetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG
*mask
) PURE
;
1086 STDMETHOD(SetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG mask
) PURE
;
1087 STDMETHOD(GetOutputWidth
)(THIS_ ULONG
*columns
) PURE
;
1088 STDMETHOD(SetOutputWidth
)(THIS_ ULONG columns
) PURE
;
1089 STDMETHOD(GetOutputLinePrefix
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*prefix_size
) PURE
;
1090 STDMETHOD(SetOutputLinePrefix
)(THIS_
const char *prefix
) PURE
;
1091 STDMETHOD(GetIdentity
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*identity_size
) PURE
;
1092 STDMETHOD(OutputIdentity
)(THIS_ ULONG output_control
, ULONG flags
, const char *format
) PURE
;
1093 STDMETHOD(GetEventCallbacks
)(THIS_ IDebugEventCallbacks
**callbacks
) PURE
;
1094 STDMETHOD(SetEventCallbacks
)(THIS_ IDebugEventCallbacks
*callbacks
) PURE
;
1095 STDMETHOD(FlushCallbacks
)(THIS
) PURE
;
1097 STDMETHOD(WriteDumpFile2
)(THIS_
const char *dumpfile
, ULONG qualifier
, ULONG flags
, const char *comment
) PURE
;
1098 STDMETHOD(AddDumpInformationFile
)(THIS_
const char *infofile
, ULONG type
) PURE
;
1099 STDMETHOD(EndProcessServer
)(THIS_ ULONG64 server
) PURE
;
1100 STDMETHOD(WaitForProcessServerEnd
)(THIS_ ULONG timeout
) PURE
;
1101 STDMETHOD(IsKernelDebuggerEnabled
)(THIS
) PURE
;
1102 STDMETHOD(TerminateCurrentProcess
)(THIS
) PURE
;
1103 STDMETHOD(DetachCurrentProcess
)(THIS
) PURE
;
1104 STDMETHOD(AbandonCurrentProcess
)(THIS
) PURE
;
1106 STDMETHOD(GetRunningProcessSystemIdByExecutableNameWide
)(THIS_ ULONG64 server
, const WCHAR
*exename
, ULONG flags
, ULONG
*id
) PURE
;
1107 STDMETHOD(GetRunningProcessDescriptionWide
)(THIS_ ULONG64 server
, ULONG id
, ULONG flags
, WCHAR
*exename
, ULONG size
,
1108 ULONG
*actualsize
, WCHAR
*description
, ULONG desc_size
, ULONG
*actual_descr_size
) PURE
;
1109 STDMETHOD(CreateProcessWide
)(THIS_ ULONG64 server
, WCHAR
*CommandLine
, ULONG flags
) PURE
;
1110 STDMETHOD(CreateProcessAndAttachWide
)(THIS_ ULONG64 server
, WCHAR
*commandline
, ULONG flags
,
1111 ULONG processid
,ULONG attachflags
) PURE
;
1113 STDMETHOD(OpenDumpFileWide
)(THIS_
const WCHAR
*filename
, ULONG64 handle
) PURE
;
1114 STDMETHOD(WriteDumpFileWide
)(THIS_
const WCHAR
*filename
, ULONG64 handle
, ULONG qualifier
, ULONG Flags
, const WCHAR
*comment
) PURE
;
1115 STDMETHOD(AddDumpInformationFileWide
)(THIS_
const WCHAR
*filename
,ULONG64 handle
, ULONG type
) PURE
;
1116 STDMETHOD(GetNumberDumpFiles
)(THIS_ ULONG
*count
) PURE
;
1117 STDMETHOD(GetDumpFile
)(THIS_ ULONG index
, char *buffer
, ULONG buf_size
, ULONG
*name_size
, ULONG64
*handle
, ULONG
*type
) PURE
;
1118 STDMETHOD(GetDumpFileWide
)(THIS_ ULONG index
, WCHAR
*buffer
, ULONG buf_size
, ULONG
*name_size
, ULONG64
*handle
,ULONG
*type
) PURE
;
1120 STDMETHOD(AttachKernelWide
)(THIS_ ULONG flags
, const WCHAR
*options
) PURE
;
1121 STDMETHOD(GetKernelConnectionOptionsWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1122 STDMETHOD(SetKernelConnectionOptionsWide
)(THIS_
const WCHAR
*options
) PURE
;
1123 STDMETHOD(StartProcessServerWide
)(THIS_ ULONG flags
, const WCHAR
*options
, void *reserved
) PURE
;
1124 STDMETHOD(ConnectProcessServerWide
)(THIS_
const WCHAR
*options
, ULONG64
*server
) PURE
;
1125 STDMETHOD(StartServerWide
)(THIS_
const WCHAR
*options
) PURE
;
1126 STDMETHOD(OutputServersWide
)(THIS_ ULONG control
, const WCHAR
*machine
, ULONG flags
) PURE
;
1127 STDMETHOD(GetOutputCallbacksWide
)(THIS_ IDebugOutputCallbacksWide
**callbacks
) PURE
;
1128 STDMETHOD(SetOutputCallbacksWide
)(THIS_ IDebugOutputCallbacksWide
*callbacks
) PURE
;
1129 STDMETHOD(GetOutputLinePrefixWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1130 STDMETHOD(SetOutputLinePrefixWide
)(THIS_
const WCHAR
*prefix
) PURE
;
1131 STDMETHOD(GetIdentityWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*identity
) PURE
;
1132 STDMETHOD(OutputIdentityWide
)(THIS_ ULONG control
, ULONG flags
, const WCHAR
*format
) PURE
;
1133 STDMETHOD(GetEventCallbacksWide
)(THIS_ IDebugEventCallbacksWide
**callbacks
) PURE
;
1134 STDMETHOD(SetEventCallbacksWide
)(THIS_ IDebugEventCallbacksWide
*callbacks
) PURE
;
1135 STDMETHOD(CreateProcess2
)(THIS_ ULONG64 server
, char *command
, void *options
, ULONG buf_size
,
1136 const char *initial
, const char *environment
) PURE
;
1137 STDMETHOD(CreateProcess2Wide
)(THIS_ ULONG64 server
, WCHAR
*command
, void *options
, ULONG size
,
1138 const WCHAR
*initial
, const WCHAR
*environment
) PURE
;
1139 STDMETHOD(CreateProcessAndAttach2
)(THIS_ ULONG64 server
, char *command
, void *options
, ULONG buf_size
,
1140 const char *initial
, const char *environment
, ULONG processid
, ULONG flags
) PURE
;
1141 STDMETHOD(CreateProcessAndAttach2Wide
)(THIS_ ULONG64 server
, WCHAR
*command
, void *buffer
, ULONG buf_size
,
1142 const WCHAR
*initial
, const WCHAR
*environment
, ULONG processid
, ULONG flags
) PURE
;
1143 STDMETHOD(PushOutputLinePrefix
)(THIS_
const char *prefix
, ULONG64
*handle
) PURE
;
1144 STDMETHOD(PushOutputLinePrefixWide
)(THIS_
const WCHAR
*prefix
, ULONG64
*handle
) PURE
;
1145 STDMETHOD(PopOutputLinePrefix
)(THIS_ ULONG64 handle
) PURE
;
1146 STDMETHOD(GetNumberInputCallbacks
)(THIS_ ULONG
*count
) PURE
;
1147 STDMETHOD(GetNumberOutputCallbacks
)(THIS_ ULONG
*count
) PURE
;
1148 STDMETHOD(GetNumberEventCallbacks
)(THIS_ ULONG flags
, ULONG
*count
) PURE
;
1149 STDMETHOD(GetQuitLockString
)(THIS_
char *buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1150 STDMETHOD(SetQuitLockString
)(THIS_
char *string
) PURE
;
1151 STDMETHOD(GetQuitLockStringWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1152 STDMETHOD(SetQuitLockStringWide
)(THIS_
const WCHAR
*string
) PURE
;
1154 STDMETHOD(SetEventContextCallbacks
)(THIS_ IDebugEventContextCallbacks
*callbacks
) PURE
;
1158 #define INTERFACE IDebugClient7
1159 DECLARE_INTERFACE_(IDebugClient7
, IUnknown
)
1162 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1163 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1164 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1166 STDMETHOD(AttachKernel
)(THIS_ ULONG flags
, const char *options
) PURE
;
1167 STDMETHOD(GetKernelConnectionOptions
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*options_size
) PURE
;
1168 STDMETHOD(SetKernelConnectionOptions
)(THIS_
const char *options
) PURE
;
1169 STDMETHOD(StartProcessServer
)(THIS_ ULONG flags
, const char *options
, void *reserved
) PURE
;
1170 STDMETHOD(ConnectProcessServer
)(THIS_
const char *remote_options
, ULONG64
*server
) PURE
;
1171 STDMETHOD(DisconnectProcessServer
)(THIS_ ULONG64 server
) PURE
;
1172 STDMETHOD(GetRunningProcessSystemIds
)(THIS_ ULONG64 server
, ULONG
*ids
, ULONG count
, ULONG
*actual_count
) PURE
;
1173 STDMETHOD(GetRunningProcessSystemIdByExecutableName
)(THIS_ ULONG64 server
, const char *exe_name
,
1174 ULONG flags
, ULONG
*id
) PURE
;
1175 STDMETHOD(GetRunningProcessDescription
)(THIS_ ULONG64 server
, ULONG systemid
, ULONG flags
, char *exe_name
,
1176 ULONG exe_name_size
, ULONG
*actual_exe_name_size
, char *description
, ULONG description_size
,
1177 ULONG
*actual_description_size
) PURE
;
1178 STDMETHOD(AttachProcess
)(THIS_ ULONG64 server
, ULONG pid
, ULONG flags
) PURE
;
1179 STDMETHOD(CreateProcess
)(THIS_ ULONG64 server
, char *cmdline
, ULONG flags
) PURE
;
1180 STDMETHOD(CreateProcessAndAttach
)(THIS_ ULONG64 server
, char *cmdline
, ULONG create_flags
,
1181 ULONG pid
, ULONG attach_flags
) PURE
;
1182 STDMETHOD(GetProcessOptions
)(THIS_ ULONG
*options
) PURE
;
1183 STDMETHOD(AddProcessOptions
)(THIS_ ULONG options
) PURE
;
1184 STDMETHOD(RemoveProcessOptions
)(THIS_ ULONG options
) PURE
;
1185 STDMETHOD(SetProcessOptions
)(THIS_ ULONG options
) PURE
;
1186 STDMETHOD(OpenDumpFile
)(THIS_
const char *filename
) PURE
;
1187 STDMETHOD(WriteDumpFile
)(THIS_
const char *filename
, ULONG qualifier
) PURE
;
1188 STDMETHOD(ConnectSession
)(THIS_ ULONG flags
, ULONG history_limit
) PURE
;
1189 STDMETHOD(StartServer
)(THIS_
const char *options
) PURE
;
1190 STDMETHOD(OutputServers
)(THIS_ ULONG output_control
, const char *machine
, ULONG flags
) PURE
;
1191 STDMETHOD(TerminateProcesses
)(THIS
) PURE
;
1192 STDMETHOD(DetachProcesses
)(THIS
) PURE
;
1193 STDMETHOD(EndSession
)(THIS_ ULONG flags
) PURE
;
1194 STDMETHOD(GetExitCode
)(THIS_ ULONG
*code
) PURE
;
1195 STDMETHOD(DispatchCallbacks
)(THIS_ ULONG timeout
) PURE
;
1196 STDMETHOD(ExitDispatch
)(THIS_ IDebugClient
*client
) PURE
;
1197 STDMETHOD(CreateClient
)(THIS_ IDebugClient
**client
) PURE
;
1198 STDMETHOD(GetInputCallbacks
)(THIS_ IDebugInputCallbacks
**callbacks
) PURE
;
1199 STDMETHOD(SetInputCallbacks
)(THIS_ IDebugInputCallbacks
*callbacks
) PURE
;
1200 STDMETHOD(GetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
**callbacks
) PURE
;
1201 STDMETHOD(SetOutputCallbacks
)(THIS_ IDebugOutputCallbacks
*callbacks
) PURE
;
1202 STDMETHOD(GetOutputMask
)(THIS_ ULONG
*mask
) PURE
;
1203 STDMETHOD(SetOutputMask
)(THIS_ ULONG mask
) PURE
;
1204 STDMETHOD(GetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG
*mask
) PURE
;
1205 STDMETHOD(SetOtherOutputMask
)(THIS_ IDebugClient
*client
, ULONG mask
) PURE
;
1206 STDMETHOD(GetOutputWidth
)(THIS_ ULONG
*columns
) PURE
;
1207 STDMETHOD(SetOutputWidth
)(THIS_ ULONG columns
) PURE
;
1208 STDMETHOD(GetOutputLinePrefix
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*prefix_size
) PURE
;
1209 STDMETHOD(SetOutputLinePrefix
)(THIS_
const char *prefix
) PURE
;
1210 STDMETHOD(GetIdentity
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*identity_size
) PURE
;
1211 STDMETHOD(OutputIdentity
)(THIS_ ULONG output_control
, ULONG flags
, const char *format
) PURE
;
1212 STDMETHOD(GetEventCallbacks
)(THIS_ IDebugEventCallbacks
**callbacks
) PURE
;
1213 STDMETHOD(SetEventCallbacks
)(THIS_ IDebugEventCallbacks
*callbacks
) PURE
;
1214 STDMETHOD(FlushCallbacks
)(THIS
) PURE
;
1216 STDMETHOD(WriteDumpFile2
)(THIS_
const char *dumpfile
, ULONG qualifier
, ULONG flags
, const char *comment
) PURE
;
1217 STDMETHOD(AddDumpInformationFile
)(THIS_
const char *infofile
, ULONG type
) PURE
;
1218 STDMETHOD(EndProcessServer
)(THIS_ ULONG64 server
) PURE
;
1219 STDMETHOD(WaitForProcessServerEnd
)(THIS_ ULONG timeout
) PURE
;
1220 STDMETHOD(IsKernelDebuggerEnabled
)(THIS
) PURE
;
1221 STDMETHOD(TerminateCurrentProcess
)(THIS
) PURE
;
1222 STDMETHOD(DetachCurrentProcess
)(THIS
) PURE
;
1223 STDMETHOD(AbandonCurrentProcess
)(THIS
) PURE
;
1225 STDMETHOD(GetRunningProcessSystemIdByExecutableNameWide
)(THIS_ ULONG64 server
, const WCHAR
*exename
, ULONG flags
, ULONG
*id
) PURE
;
1226 STDMETHOD(GetRunningProcessDescriptionWide
)(THIS_ ULONG64 server
, ULONG id
, ULONG flags
, WCHAR
*exename
, ULONG size
,
1227 ULONG
*actualsize
, WCHAR
*description
, ULONG desc_size
, ULONG
*actual_descr_size
) PURE
;
1228 STDMETHOD(CreateProcessWide
)(THIS_ ULONG64 server
, WCHAR
*CommandLine
, ULONG flags
) PURE
;
1229 STDMETHOD(CreateProcessAndAttachWide
)(THIS_ ULONG64 server
, WCHAR
*commandline
, ULONG flags
,
1230 ULONG processid
,ULONG attachflags
) PURE
;
1232 STDMETHOD(OpenDumpFileWide
)(THIS_
const WCHAR
*filename
, ULONG64 handle
) PURE
;
1233 STDMETHOD(WriteDumpFileWide
)(THIS_
const WCHAR
*filename
, ULONG64 handle
, ULONG qualifier
, ULONG Flags
, const WCHAR
*comment
) PURE
;
1234 STDMETHOD(AddDumpInformationFileWide
)(THIS_
const WCHAR
*filename
,ULONG64 handle
, ULONG type
) PURE
;
1235 STDMETHOD(GetNumberDumpFiles
)(THIS_ ULONG
*count
) PURE
;
1236 STDMETHOD(GetDumpFile
)(THIS_ ULONG index
, char *buffer
, ULONG buf_size
, ULONG
*name_size
, ULONG64
*handle
, ULONG
*type
) PURE
;
1237 STDMETHOD(GetDumpFileWide
)(THIS_ ULONG index
, WCHAR
*buffer
, ULONG buf_size
, ULONG
*name_size
, ULONG64
*handle
,ULONG
*type
) PURE
;
1239 STDMETHOD(AttachKernelWide
)(THIS_ ULONG flags
, const WCHAR
*options
) PURE
;
1240 STDMETHOD(GetKernelConnectionOptionsWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1241 STDMETHOD(SetKernelConnectionOptionsWide
)(THIS_
const WCHAR
*options
) PURE
;
1242 STDMETHOD(StartProcessServerWide
)(THIS_ ULONG flags
, const WCHAR
*options
, void *reserved
) PURE
;
1243 STDMETHOD(ConnectProcessServerWide
)(THIS_
const WCHAR
*options
, ULONG64
*server
) PURE
;
1244 STDMETHOD(StartServerWide
)(THIS_
const WCHAR
*options
) PURE
;
1245 STDMETHOD(OutputServersWide
)(THIS_ ULONG control
, const WCHAR
*machine
, ULONG flags
) PURE
;
1246 STDMETHOD(GetOutputCallbacksWide
)(THIS_ IDebugOutputCallbacksWide
**callbacks
) PURE
;
1247 STDMETHOD(SetOutputCallbacksWide
)(THIS_ IDebugOutputCallbacksWide
*callbacks
) PURE
;
1248 STDMETHOD(GetOutputLinePrefixWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1249 STDMETHOD(SetOutputLinePrefixWide
)(THIS_
const WCHAR
*prefix
) PURE
;
1250 STDMETHOD(GetIdentityWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*identity
) PURE
;
1251 STDMETHOD(OutputIdentityWide
)(THIS_ ULONG control
, ULONG flags
, const WCHAR
*format
) PURE
;
1252 STDMETHOD(GetEventCallbacksWide
)(THIS_ IDebugEventCallbacksWide
**callbacks
) PURE
;
1253 STDMETHOD(SetEventCallbacksWide
)(THIS_ IDebugEventCallbacksWide
*callbacks
) PURE
;
1254 STDMETHOD(CreateProcess2
)(THIS_ ULONG64 server
, char *command
, void *options
, ULONG buf_size
,
1255 const char *initial
, const char *environment
) PURE
;
1256 STDMETHOD(CreateProcess2Wide
)(THIS_ ULONG64 server
, WCHAR
*command
, void *options
, ULONG size
,
1257 const WCHAR
*initial
, const WCHAR
*environment
) PURE
;
1258 STDMETHOD(CreateProcessAndAttach2
)(THIS_ ULONG64 server
, char *command
, void *options
, ULONG buf_size
,
1259 const char *initial
, const char *environment
, ULONG processid
, ULONG flags
) PURE
;
1260 STDMETHOD(CreateProcessAndAttach2Wide
)(THIS_ ULONG64 server
, WCHAR
*command
, void *buffer
, ULONG buf_size
,
1261 const WCHAR
*initial
, const WCHAR
*environment
, ULONG processid
, ULONG flags
) PURE
;
1262 STDMETHOD(PushOutputLinePrefix
)(THIS_
const char *prefix
, ULONG64
*handle
) PURE
;
1263 STDMETHOD(PushOutputLinePrefixWide
)(THIS_
const WCHAR
*prefix
, ULONG64
*handle
) PURE
;
1264 STDMETHOD(PopOutputLinePrefix
)(THIS_ ULONG64 handle
) PURE
;
1265 STDMETHOD(GetNumberInputCallbacks
)(THIS_ ULONG
*count
) PURE
;
1266 STDMETHOD(GetNumberOutputCallbacks
)(THIS_ ULONG
*count
) PURE
;
1267 STDMETHOD(GetNumberEventCallbacks
)(THIS_ ULONG flags
, ULONG
*count
) PURE
;
1268 STDMETHOD(GetQuitLockString
)(THIS_
char *buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1269 STDMETHOD(SetQuitLockString
)(THIS_
char *string
) PURE
;
1270 STDMETHOD(GetQuitLockStringWide
)(THIS_ WCHAR
*buffer
, ULONG buf_size
, ULONG
*size
) PURE
;
1271 STDMETHOD(SetQuitLockStringWide
)(THIS_
const WCHAR
*string
) PURE
;
1273 STDMETHOD(SetEventContextCallbacks
)(THIS_ IDebugEventContextCallbacks
*callbacks
) PURE
;
1275 STDMETHOD(SetClientContext
)(THIS_
void *context
, ULONG size
) PURE
;
1279 #define INTERFACE IDebugDataSpaces
1280 DECLARE_INTERFACE_(IDebugDataSpaces
, IUnknown
)
1283 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1284 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1285 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1286 /* IDebugDataSpaces */
1287 STDMETHOD(ReadVirtual
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*read_len
) PURE
;
1288 STDMETHOD(WriteVirtual
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*written
) PURE
;
1289 STDMETHOD(SearchVirtual
)(THIS_ ULONG64 offset
, ULONG64 length
, void *pattern
, ULONG pattern_size
,
1290 ULONG pattern_granularity
, ULONG64
*ret_offset
) PURE
;
1291 STDMETHOD(ReadVirtualUncached
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*read_len
) PURE
;
1292 STDMETHOD(WriteVirtualUncached
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*written
) PURE
;
1293 STDMETHOD(ReadPointersVirtual
)(THIS_ ULONG count
, ULONG64 offset
, ULONG64
*pointers
) PURE
;
1294 STDMETHOD(WritePointersVirtual
)(THIS_ ULONG count
, ULONG64 offset
, ULONG64
*pointers
) PURE
;
1295 STDMETHOD(ReadPhysical
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*read_len
) PURE
;
1296 STDMETHOD(WritePhysical
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*written
) PURE
;
1297 STDMETHOD(ReadControl
)(THIS_ ULONG processor
, ULONG64 offset
, void *buffer
, ULONG buffer_size
,
1298 ULONG
*read_len
) PURE
;
1299 STDMETHOD(WriteControl
)(THIS_ ULONG processor
, ULONG64 offset
, void *buffer
, ULONG buffer_size
,
1300 ULONG
*written
) PURE
;
1301 STDMETHOD(ReadIo
)(THIS_ ULONG type
, ULONG bus_number
, ULONG address_space
, ULONG64 offset
, void *buffer
,
1302 ULONG buffer_size
, ULONG
*read_len
) PURE
;
1303 STDMETHOD(WriteIo
)(THIS_ ULONG type
, ULONG bus_number
, ULONG address_space
, ULONG64 offset
, void *buffer
,
1304 ULONG buffer_size
, ULONG
*written
) PURE
;
1305 STDMETHOD(ReadMsr
)(THIS_ ULONG msr
, ULONG64
*value
) PURE
;
1306 STDMETHOD(WriteMsr
)(THIS_ ULONG msr
, ULONG64 value
) PURE
;
1307 STDMETHOD(ReadBusData
)(THIS_ ULONG data_type
, ULONG bus_number
, ULONG slot_number
, ULONG offset
, void *buffer
,
1308 ULONG buffer_size
, ULONG
*read_len
) PURE
;
1309 STDMETHOD(WriteBusData
)(THIS_ ULONG data_type
, ULONG bus_number
, ULONG slot_number
, ULONG offset
, void *buffer
,
1310 ULONG buffer_size
, ULONG
*written
) PURE
;
1311 STDMETHOD(CheckLowMemory
)(THIS
) PURE
;
1312 STDMETHOD(ReadDebuggerData
)(THIS_ ULONG index
, void *buffer
, ULONG buffer_size
, ULONG
*data_size
) PURE
;
1313 STDMETHOD(ReadProcessorSystemData
)(THIS_ ULONG processor
, ULONG index
, void *buffer
, ULONG buffer_size
,
1314 ULONG
*data_size
) PURE
;
1318 #define INTERFACE IDebugDataSpaces2
1319 DECLARE_INTERFACE_(IDebugDataSpaces2
, IUnknown
)
1322 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1323 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1324 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1325 /* IDebugDataSpaces */
1326 STDMETHOD(ReadVirtual
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*read_len
) PURE
;
1327 STDMETHOD(WriteVirtual
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*written
) PURE
;
1328 STDMETHOD(SearchVirtual
)(THIS_ ULONG64 offset
, ULONG64 length
, void *pattern
, ULONG pattern_size
,
1329 ULONG pattern_granularity
, ULONG64
*ret_offset
) PURE
;
1330 STDMETHOD(ReadVirtualUncached
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*read_len
) PURE
;
1331 STDMETHOD(WriteVirtualUncached
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*written
) PURE
;
1332 STDMETHOD(ReadPointersVirtual
)(THIS_ ULONG count
, ULONG64 offset
, ULONG64
*pointers
) PURE
;
1333 STDMETHOD(WritePointersVirtual
)(THIS_ ULONG count
, ULONG64 offset
, ULONG64
*pointers
) PURE
;
1334 STDMETHOD(ReadPhysical
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*read_len
) PURE
;
1335 STDMETHOD(WritePhysical
)(THIS_ ULONG64 offset
, void *buffer
, ULONG buffer_size
, ULONG
*written
) PURE
;
1336 STDMETHOD(ReadControl
)(THIS_ ULONG processor
, ULONG64 offset
, void *buffer
, ULONG buffer_size
,
1337 ULONG
*read_len
) PURE
;
1338 STDMETHOD(WriteControl
)(THIS_ ULONG processor
, ULONG64 offset
, void *buffer
, ULONG buffer_size
,
1339 ULONG
*written
) PURE
;
1340 STDMETHOD(ReadIo
)(THIS_ ULONG type
, ULONG bus_number
, ULONG address_space
, ULONG64 offset
, void *buffer
,
1341 ULONG buffer_size
, ULONG
*read_len
) PURE
;
1342 STDMETHOD(WriteIo
)(THIS_ ULONG type
, ULONG bus_number
, ULONG address_space
, ULONG64 offset
, void *buffer
,
1343 ULONG buffer_size
, ULONG
*written
) PURE
;
1344 STDMETHOD(ReadMsr
)(THIS_ ULONG msr
, ULONG64
*value
) PURE
;
1345 STDMETHOD(WriteMsr
)(THIS_ ULONG msr
, ULONG64 value
) PURE
;
1346 STDMETHOD(ReadBusData
)(THIS_ ULONG data_type
, ULONG bus_number
, ULONG slot_number
, ULONG offset
, void *buffer
,
1347 ULONG buffer_size
, ULONG
*read_len
) PURE
;
1348 STDMETHOD(WriteBusData
)(THIS_ ULONG data_type
, ULONG bus_number
, ULONG slot_number
, ULONG offset
, void *buffer
,
1349 ULONG buffer_size
, ULONG
*written
) PURE
;
1350 STDMETHOD(CheckLowMemory
)(THIS
) PURE
;
1351 STDMETHOD(ReadDebuggerData
)(THIS_ ULONG index
, void *buffer
, ULONG buffer_size
, ULONG
*data_size
) PURE
;
1352 STDMETHOD(ReadProcessorSystemData
)(THIS_ ULONG processor
, ULONG index
, void *buffer
, ULONG buffer_size
,
1353 ULONG
*data_size
) PURE
;
1354 /* IDebugDataSpaces2 */
1355 STDMETHOD(VirtualToPhysical
)(THIS_ ULONG64 virt
, ULONG64
*physical
) PURE
;
1356 STDMETHOD(GetVirtualTranslationPhysicalOffsets
)(THIS_ ULONG64 virt
, ULONG64
*offsets
, ULONG offsets_size
,
1357 ULONG
*levels
) PURE
;
1358 STDMETHOD(ReadHandleData
)(THIS_ ULONG64 handle
, ULONG datatype
, void *buffer
, ULONG buffer_size
,
1359 ULONG
*data_size
) PURE
;
1360 STDMETHOD(FillVirtual
)(THIS_ ULONG64 start
, ULONG size
, void *pattern
, ULONG pattern_size
, ULONG
*filled
) PURE
;
1361 STDMETHOD(FillPhysical
)(THIS_ ULONG64 start
, ULONG size
, void *pattern
, ULONG pattern_size
, ULONG
*filled
) PURE
;
1362 STDMETHOD(QueryVirtual
)(THIS_ ULONG64 offset
, PMEMORY_BASIC_INFORMATION64 info
) PURE
;
1366 #define INTERFACE IDebugSymbols
1367 DECLARE_INTERFACE_(IDebugSymbols
, IUnknown
)
1370 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1371 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1372 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1374 STDMETHOD(GetSymbolOptions
)(THIS_ ULONG
*options
) PURE
;
1375 STDMETHOD(AddSymbolOptions
)(THIS_ ULONG options
) PURE
;
1376 STDMETHOD(RemoveSymbolOptions
)(THIS_ ULONG options
) PURE
;
1377 STDMETHOD(SetSymbolOptions
)(THIS_ ULONG options
) PURE
;
1378 STDMETHOD(GetNameByOffset
)(THIS_ ULONG64 offset
, char *buffer
, ULONG buffer_size
, ULONG
*name_size
,
1379 ULONG64
*displacement
) PURE
;
1380 STDMETHOD(GetOffsetByName
)(THIS_
const char *symbol
, ULONG64
*offset
) PURE
;
1381 STDMETHOD(GetNearNameByOffset
)(THIS_ ULONG64 offset
, LONG delta
, char *buffer
, ULONG buffer_size
,ULONG
*name_size
,
1382 ULONG64
*displacement
) PURE
;
1383 STDMETHOD(GetLineByOffset
)(THIS_ ULONG64 offset
, ULONG
*line
, char *buffer
, ULONG buffer_size
, ULONG
*file_size
,
1384 ULONG64
*displacement
) PURE
;
1385 STDMETHOD(GetOffsetByLine
)(THIS_ ULONG line
, const char *file
, ULONG64
*offset
) PURE
;
1386 STDMETHOD(GetNumberModules
)(THIS_ ULONG
*loaded
, ULONG
*unloaded
) PURE
;
1387 STDMETHOD(GetModuleByIndex
)(THIS_ ULONG index
, ULONG64
*base
) PURE
;
1388 STDMETHOD(GetModuleByModuleName
)(THIS_
const char *name
, ULONG start_index
, ULONG
*index
, ULONG64
*base
) PURE
;
1389 STDMETHOD(GetModuleByOffset
)(THIS_ ULONG64 offset
, ULONG start_index
, ULONG
*index
, ULONG64
*base
) PURE
;
1390 STDMETHOD(GetModuleNames
)(THIS_ ULONG index
, ULONG64 base
, char *image_name
, ULONG image_name_buffer_size
,
1391 ULONG
*image_name_size
, char *module_name
, ULONG module_name_buffer_size
, ULONG
*module_name_size
,
1392 char *loaded_image_name
, ULONG loaded_image_name_buffer_size
, ULONG
*loaded_image_size
) PURE
;
1393 STDMETHOD(GetModuleParameters
)(THIS_ ULONG count
, ULONG64
*bases
, ULONG start
,
1394 DEBUG_MODULE_PARAMETERS
*parameters
) PURE
;
1395 STDMETHOD(GetSymbolModule
)(THIS_
const char *symbol
, ULONG64
*base
) PURE
;
1396 STDMETHOD(GetTypeName
)(THIS_ ULONG64 base
, ULONG type_id
, char *buffer
, ULONG buffer_size
, ULONG
*name_size
) PURE
;
1397 STDMETHOD(GetTypeId
)(THIS_ ULONG64 module
, const char *name
, ULONG
*type_id
) PURE
;
1398 STDMETHOD(GetTypeSize
)(THIS_ ULONG64 module
, ULONG type_id
, ULONG
*size
) PURE
;
1399 STDMETHOD(GetFieldOffset
)(THIS_ ULONG64 base
, ULONG type_id
, const char *field
, ULONG
*offset
) PURE
;
1400 STDMETHOD(GetSymbolTypeId
)(THIS_
const char *symbol
, ULONG
*type_id
, ULONG64
*base
) PURE
;
1401 STDMETHOD(GetOffsetTypeId
)(THIS_ ULONG64 offset
, ULONG
*type_id
, ULONG64
*base
) PURE
;
1402 STDMETHOD(ReadTypedDataVirtual
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1403 ULONG buffer_size
, ULONG
*read_len
) PURE
;
1404 STDMETHOD(WriteTypedDataVirtual
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1405 ULONG buffer_size
, ULONG
*written
) PURE
;
1406 STDMETHOD(OutputTypedDataVirtual
)(THIS_ ULONG output_control
, ULONG64 offset
, ULONG64 base
, ULONG type_id
,
1408 STDMETHOD(ReadTypedDataPhysical
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1409 ULONG buffer_size
, ULONG
*read_len
) PURE
;
1410 STDMETHOD(WriteTypedDataPhysical
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1411 ULONG buffer_size
, ULONG
*written
) PURE
;
1412 STDMETHOD(OutputTypedDataPhysical
)(THIS_ ULONG output_control
, ULONG64 offset
, ULONG64 base
, ULONG type_id
,
1414 STDMETHOD(GetScope
)(THIS_ ULONG64
*instr_offset
, DEBUG_STACK_FRAME
*frame
, void *scope_context
,
1415 ULONG scope_context_size
) PURE
;
1416 STDMETHOD(SetScope
)(THIS_ ULONG64 instr_offset
, DEBUG_STACK_FRAME
*frame
, void *scope_context
,
1417 ULONG scope_context_size
) PURE
;
1418 STDMETHOD(ResetScope
)(THIS
) PURE
;
1419 STDMETHOD(GetScopeSymbolGroup
)(THIS_ ULONG flags
, IDebugSymbolGroup
*update
, IDebugSymbolGroup
**symbols
) PURE
;
1420 STDMETHOD(CreateSymbolGroup
)(THIS_ IDebugSymbolGroup
**group
) PURE
;
1421 STDMETHOD(StartSymbolMatch
)(THIS_
const char *pattern
, ULONG64
*handle
) PURE
;
1422 STDMETHOD(GetNextSymbolMatch
)(THIS_ ULONG64 handle
, char *buffer
, ULONG buffer_size
, ULONG
*match_size
,
1423 ULONG64
*offset
) PURE
;
1424 STDMETHOD(EndSymbolMatch
)(THIS_ ULONG64 handle
) PURE
;
1425 STDMETHOD(Reload
)(THIS_
const char *path
) PURE
;
1426 STDMETHOD(GetSymbolPath
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1427 STDMETHOD(SetSymbolPath
)(THIS_
const char *path
) PURE
;
1428 STDMETHOD(AppendSymbolPath
)(THIS_
const char *path
) PURE
;
1429 STDMETHOD(GetImagePath
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1430 STDMETHOD(SetImagePath
)(THIS_
const char *path
) PURE
;
1431 STDMETHOD(AppendImagePath
)(THIS_
const char *path
) PURE
;
1432 STDMETHOD(GetSourcePath
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1433 STDMETHOD(GetSourcePathElement
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
, ULONG
*element_size
) PURE
;
1434 STDMETHOD(SetSourcePath
)(THIS_
const char *path
) PURE
;
1435 STDMETHOD(AppendSourcePath
)(THIS_
const char *path
) PURE
;
1436 STDMETHOD(FindSourceFile
)(THIS_ ULONG start
, const char *file
, ULONG flags
, ULONG
*found_element
, char *buffer
,
1437 ULONG buffer_size
, ULONG
*found_size
) PURE
;
1438 STDMETHOD(GetSourceFileLineOffsets
)(THIS_
const char *file
, ULONG64
*buffer
, ULONG buffer_lines
,
1439 ULONG
*file_lines
) PURE
;
1443 #define INTERFACE IDebugSymbols2
1444 DECLARE_INTERFACE_(IDebugSymbols2
, IUnknown
)
1447 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1448 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1449 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1451 STDMETHOD(GetSymbolOptions
)(THIS_ ULONG
*options
) PURE
;
1452 STDMETHOD(AddSymbolOptions
)(THIS_ ULONG options
) PURE
;
1453 STDMETHOD(RemoveSymbolOptions
)(THIS_ ULONG options
) PURE
;
1454 STDMETHOD(SetSymbolOptions
)(THIS_ ULONG options
) PURE
;
1455 STDMETHOD(GetNameByOffset
)(THIS_ ULONG64 offset
, char *buffer
, ULONG buffer_size
, ULONG
*name_size
,
1456 ULONG64
*displacement
) PURE
;
1457 STDMETHOD(GetOffsetByName
)(THIS_
const char *symbol
, ULONG64
*offset
) PURE
;
1458 STDMETHOD(GetNearNameByOffset
)(THIS_ ULONG64 offset
, LONG delta
, char *buffer
, ULONG buffer_size
,ULONG
*name_size
,
1459 ULONG64
*displacement
) PURE
;
1460 STDMETHOD(GetLineByOffset
)(THIS_ ULONG64 offset
, ULONG
*line
, char *buffer
, ULONG buffer_size
, ULONG
*file_size
,
1461 ULONG64
*displacement
) PURE
;
1462 STDMETHOD(GetOffsetByLine
)(THIS_ ULONG line
, const char *file
, ULONG64
*offset
) PURE
;
1463 STDMETHOD(GetNumberModules
)(THIS_ ULONG
*loaded
, ULONG
*unloaded
) PURE
;
1464 STDMETHOD(GetModuleByIndex
)(THIS_ ULONG index
, ULONG64
*base
) PURE
;
1465 STDMETHOD(GetModuleByModuleName
)(THIS_
const char *name
, ULONG start_index
, ULONG
*index
, ULONG64
*base
) PURE
;
1466 STDMETHOD(GetModuleByOffset
)(THIS_ ULONG64 offset
, ULONG start_index
, ULONG
*index
, ULONG64
*base
) PURE
;
1467 STDMETHOD(GetModuleNames
)(THIS_ ULONG index
, ULONG64 base
, char *image_name
, ULONG image_name_buffer_size
,
1468 ULONG
*image_name_size
, char *module_name
, ULONG module_name_buffer_size
, ULONG
*module_name_size
,
1469 char *loaded_image_name
, ULONG loaded_image_name_buffer_size
, ULONG
*loaded_image_size
) PURE
;
1470 STDMETHOD(GetModuleParameters
)(THIS_ ULONG count
, ULONG64
*bases
, ULONG start
,
1471 DEBUG_MODULE_PARAMETERS
*parameters
) PURE
;
1472 STDMETHOD(GetSymbolModule
)(THIS_
const char *symbol
, ULONG64
*base
) PURE
;
1473 STDMETHOD(GetTypeName
)(THIS_ ULONG64 base
, ULONG type_id
, char *buffer
, ULONG buffer_size
, ULONG
*name_size
) PURE
;
1474 STDMETHOD(GetTypeId
)(THIS_ ULONG64 module
, const char *name
, ULONG
*type_id
) PURE
;
1475 STDMETHOD(GetTypeSize
)(THIS_ ULONG64 module
, ULONG type_id
, ULONG
*size
) PURE
;
1476 STDMETHOD(GetFieldOffset
)(THIS_ ULONG64 base
, ULONG type_id
, const char *field
, ULONG
*offset
) PURE
;
1477 STDMETHOD(GetSymbolTypeId
)(THIS_
const char *symbol
, ULONG
*type_id
, ULONG64
*base
) PURE
;
1478 STDMETHOD(GetOffsetTypeId
)(THIS_ ULONG64 offset
, ULONG
*type_id
, ULONG64
*base
) PURE
;
1479 STDMETHOD(ReadTypedDataVirtual
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1480 ULONG buffer_size
, ULONG
*read_len
) PURE
;
1481 STDMETHOD(WriteTypedDataVirtual
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1482 ULONG buffer_size
, ULONG
*written
) PURE
;
1483 STDMETHOD(OutputTypedDataVirtual
)(THIS_ ULONG output_control
, ULONG64 offset
, ULONG64 base
, ULONG type_id
,
1485 STDMETHOD(ReadTypedDataPhysical
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1486 ULONG buffer_size
, ULONG
*read_len
) PURE
;
1487 STDMETHOD(WriteTypedDataPhysical
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1488 ULONG buffer_size
, ULONG
*written
) PURE
;
1489 STDMETHOD(OutputTypedDataPhysical
)(THIS_ ULONG output_control
, ULONG64 offset
, ULONG64 base
, ULONG type_id
,
1491 STDMETHOD(GetScope
)(THIS_ ULONG64
*instr_offset
, DEBUG_STACK_FRAME
*frame
, void *scope_context
,
1492 ULONG scope_context_size
) PURE
;
1493 STDMETHOD(SetScope
)(THIS_ ULONG64 instr_offset
, DEBUG_STACK_FRAME
*frame
, void *scope_context
,
1494 ULONG scope_context_size
) PURE
;
1495 STDMETHOD(ResetScope
)(THIS
) PURE
;
1496 STDMETHOD(GetScopeSymbolGroup
)(THIS_ ULONG flags
, IDebugSymbolGroup
*update
, IDebugSymbolGroup
**symbols
) PURE
;
1497 STDMETHOD(CreateSymbolGroup
)(THIS_ IDebugSymbolGroup
**group
) PURE
;
1498 STDMETHOD(StartSymbolMatch
)(THIS_
const char *pattern
, ULONG64
*handle
) PURE
;
1499 STDMETHOD(GetNextSymbolMatch
)(THIS_ ULONG64 handle
, char *buffer
, ULONG buffer_size
, ULONG
*match_size
,
1500 ULONG64
*offset
) PURE
;
1501 STDMETHOD(EndSymbolMatch
)(THIS_ ULONG64 handle
) PURE
;
1502 STDMETHOD(Reload
)(THIS_
const char *path
) PURE
;
1503 STDMETHOD(GetSymbolPath
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1504 STDMETHOD(SetSymbolPath
)(THIS_
const char *path
) PURE
;
1505 STDMETHOD(AppendSymbolPath
)(THIS_
const char *path
) PURE
;
1506 STDMETHOD(GetImagePath
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1507 STDMETHOD(SetImagePath
)(THIS_
const char *path
) PURE
;
1508 STDMETHOD(AppendImagePath
)(THIS_
const char *path
) PURE
;
1509 STDMETHOD(GetSourcePath
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1510 STDMETHOD(GetSourcePathElement
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
, ULONG
*element_size
) PURE
;
1511 STDMETHOD(SetSourcePath
)(THIS_
const char *path
) PURE
;
1512 STDMETHOD(AppendSourcePath
)(THIS_
const char *path
) PURE
;
1513 STDMETHOD(FindSourceFile
)(THIS_ ULONG start
, const char *file
, ULONG flags
, ULONG
*found_element
, char *buffer
,
1514 ULONG buffer_size
, ULONG
*found_size
) PURE
;
1515 STDMETHOD(GetSourceFileLineOffsets
)(THIS_
const char *file
, ULONG64
*buffer
, ULONG buffer_lines
,
1516 ULONG
*file_lines
) PURE
;
1517 /* IDebugSymbols2 */
1518 STDMETHOD(GetModuleVersionInformation
)(THIS_ ULONG index
, ULONG64 base
, const char *item
, void *buffer
,
1519 ULONG buffer_size
, ULONG
*info_size
) PURE
;
1520 STDMETHOD(GetModuleNameString
)(THIS_ ULONG which
, ULONG index
, ULONG64 base
, char *buffer
, ULONG buffer_size
,
1521 ULONG
*name_size
) PURE
;
1522 STDMETHOD(GetConstantName
)(THIS_ ULONG64 module
, ULONG type_id
, ULONG64 value
, char *buffer
, ULONG buffer_size
,
1523 ULONG
*name_size
) PURE
;
1524 STDMETHOD(GetFieldName
)(THIS_ ULONG64 module
, ULONG type_id
, ULONG field_index
, char *buffer
, ULONG buffer_size
,
1525 ULONG
*name_size
) PURE
;
1526 STDMETHOD(GetTypeOptions
)(THIS_ ULONG
*options
) PURE
;
1527 STDMETHOD(AddTypeOptions
)(THIS_ ULONG options
) PURE
;
1528 STDMETHOD(RemoveTypeOptions
)(THIS_ ULONG options
) PURE
;
1529 STDMETHOD(SetTypeOptions
)(THIS_ ULONG options
) PURE
;
1533 #define INTERFACE IDebugSymbols3
1534 DECLARE_INTERFACE_(IDebugSymbols3
, IUnknown
)
1537 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1538 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1539 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1541 STDMETHOD(GetSymbolOptions
)(THIS_ ULONG
*options
) PURE
;
1542 STDMETHOD(AddSymbolOptions
)(THIS_ ULONG options
) PURE
;
1543 STDMETHOD(RemoveSymbolOptions
)(THIS_ ULONG options
) PURE
;
1544 STDMETHOD(SetSymbolOptions
)(THIS_ ULONG options
) PURE
;
1545 STDMETHOD(GetNameByOffset
)(THIS_ ULONG64 offset
, char *buffer
, ULONG buffer_size
, ULONG
*name_size
,
1546 ULONG64
*displacement
) PURE
;
1547 STDMETHOD(GetOffsetByName
)(THIS_
const char *symbol
, ULONG64
*offset
) PURE
;
1548 STDMETHOD(GetNearNameByOffset
)(THIS_ ULONG64 offset
, LONG delta
, char *buffer
, ULONG buffer_size
,ULONG
*name_size
,
1549 ULONG64
*displacement
) PURE
;
1550 STDMETHOD(GetLineByOffset
)(THIS_ ULONG64 offset
, ULONG
*line
, char *buffer
, ULONG buffer_size
, ULONG
*file_size
,
1551 ULONG64
*displacement
) PURE
;
1552 STDMETHOD(GetOffsetByLine
)(THIS_ ULONG line
, const char *file
, ULONG64
*offset
) PURE
;
1553 STDMETHOD(GetNumberModules
)(THIS_ ULONG
*loaded
, ULONG
*unloaded
) PURE
;
1554 STDMETHOD(GetModuleByIndex
)(THIS_ ULONG index
, ULONG64
*base
) PURE
;
1555 STDMETHOD(GetModuleByModuleName
)(THIS_
const char *name
, ULONG start_index
, ULONG
*index
, ULONG64
*base
) PURE
;
1556 STDMETHOD(GetModuleByOffset
)(THIS_ ULONG64 offset
, ULONG start_index
, ULONG
*index
, ULONG64
*base
) PURE
;
1557 STDMETHOD(GetModuleNames
)(THIS_ ULONG index
, ULONG64 base
, char *image_name
, ULONG image_name_buffer_size
,
1558 ULONG
*image_name_size
, char *module_name
, ULONG module_name_buffer_size
, ULONG
*module_name_size
,
1559 char *loaded_image_name
, ULONG loaded_image_name_buffer_size
, ULONG
*loaded_image_size
) PURE
;
1560 STDMETHOD(GetModuleParameters
)(THIS_ ULONG count
, ULONG64
*bases
, ULONG start
,
1561 DEBUG_MODULE_PARAMETERS
*parameters
) PURE
;
1562 STDMETHOD(GetSymbolModule
)(THIS_
const char *symbol
, ULONG64
*base
) PURE
;
1563 STDMETHOD(GetTypeName
)(THIS_ ULONG64 base
, ULONG type_id
, char *buffer
, ULONG buffer_size
, ULONG
*name_size
) PURE
;
1564 STDMETHOD(GetTypeId
)(THIS_ ULONG64 module
, const char *name
, ULONG
*type_id
) PURE
;
1565 STDMETHOD(GetTypeSize
)(THIS_ ULONG64 module
, ULONG type_id
, ULONG
*size
) PURE
;
1566 STDMETHOD(GetFieldOffset
)(THIS_ ULONG64 base
, ULONG type_id
, const char *field
, ULONG
*offset
) PURE
;
1567 STDMETHOD(GetSymbolTypeId
)(THIS_
const char *symbol
, ULONG
*type_id
, ULONG64
*base
) PURE
;
1568 STDMETHOD(GetOffsetTypeId
)(THIS_ ULONG64 offset
, ULONG
*type_id
, ULONG64
*base
) PURE
;
1569 STDMETHOD(ReadTypedDataVirtual
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1570 ULONG buffer_size
, ULONG
*read_len
) PURE
;
1571 STDMETHOD(WriteTypedDataVirtual
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1572 ULONG buffer_size
, ULONG
*written
) PURE
;
1573 STDMETHOD(OutputTypedDataVirtual
)(THIS_ ULONG output_control
, ULONG64 offset
, ULONG64 base
, ULONG type_id
,
1575 STDMETHOD(ReadTypedDataPhysical
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1576 ULONG buffer_size
, ULONG
*read_len
) PURE
;
1577 STDMETHOD(WriteTypedDataPhysical
)(THIS_ ULONG64 offset
, ULONG64 base
, ULONG type_id
, void *buffer
,
1578 ULONG buffer_size
, ULONG
*written
) PURE
;
1579 STDMETHOD(OutputTypedDataPhysical
)(THIS_ ULONG output_control
, ULONG64 offset
, ULONG64 base
, ULONG type_id
,
1581 STDMETHOD(GetScope
)(THIS_ ULONG64
*instr_offset
, DEBUG_STACK_FRAME
*frame
, void *scope_context
,
1582 ULONG scope_context_size
) PURE
;
1583 STDMETHOD(SetScope
)(THIS_ ULONG64 instr_offset
, DEBUG_STACK_FRAME
*frame
, void *scope_context
,
1584 ULONG scope_context_size
) PURE
;
1585 STDMETHOD(ResetScope
)(THIS
) PURE
;
1586 STDMETHOD(GetScopeSymbolGroup
)(THIS_ ULONG flags
, IDebugSymbolGroup
*update
, IDebugSymbolGroup
**symbols
) PURE
;
1587 STDMETHOD(CreateSymbolGroup
)(THIS_ IDebugSymbolGroup
**group
) PURE
;
1588 STDMETHOD(StartSymbolMatch
)(THIS_
const char *pattern
, ULONG64
*handle
) PURE
;
1589 STDMETHOD(GetNextSymbolMatch
)(THIS_ ULONG64 handle
, char *buffer
, ULONG buffer_size
, ULONG
*match_size
,
1590 ULONG64
*offset
) PURE
;
1591 STDMETHOD(EndSymbolMatch
)(THIS_ ULONG64 handle
) PURE
;
1592 STDMETHOD(Reload
)(THIS_
const char *path
) PURE
;
1593 STDMETHOD(GetSymbolPath
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1594 STDMETHOD(SetSymbolPath
)(THIS_
const char *path
) PURE
;
1595 STDMETHOD(AppendSymbolPath
)(THIS_
const char *path
) PURE
;
1596 STDMETHOD(GetImagePath
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1597 STDMETHOD(SetImagePath
)(THIS_
const char *path
) PURE
;
1598 STDMETHOD(AppendImagePath
)(THIS_
const char *path
) PURE
;
1599 STDMETHOD(GetSourcePath
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1600 STDMETHOD(GetSourcePathElement
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
, ULONG
*element_size
) PURE
;
1601 STDMETHOD(SetSourcePath
)(THIS_
const char *path
) PURE
;
1602 STDMETHOD(AppendSourcePath
)(THIS_
const char *path
) PURE
;
1603 STDMETHOD(FindSourceFile
)(THIS_ ULONG start
, const char *file
, ULONG flags
, ULONG
*found_element
, char *buffer
,
1604 ULONG buffer_size
, ULONG
*found_size
) PURE
;
1605 STDMETHOD(GetSourceFileLineOffsets
)(THIS_
const char *file
, ULONG64
*buffer
, ULONG buffer_lines
,
1606 ULONG
*file_lines
) PURE
;
1607 /* IDebugSymbols2 */
1608 STDMETHOD(GetModuleVersionInformation
)(THIS_ ULONG index
, ULONG64 base
, const char *item
, void *buffer
,
1609 ULONG buffer_size
, ULONG
*info_size
) PURE
;
1610 STDMETHOD(GetModuleNameString
)(THIS_ ULONG which
, ULONG index
, ULONG64 base
, char *buffer
, ULONG buffer_size
,
1611 ULONG
*name_size
) PURE
;
1612 STDMETHOD(GetConstantName
)(THIS_ ULONG64 module
, ULONG type_id
, ULONG64 value
, char *buffer
, ULONG buffer_size
,
1613 ULONG
*name_size
) PURE
;
1614 STDMETHOD(GetFieldName
)(THIS_ ULONG64 module
, ULONG type_id
, ULONG field_index
, char *buffer
, ULONG buffer_size
,
1615 ULONG
*name_size
) PURE
;
1616 STDMETHOD(GetTypeOptions
)(THIS_ ULONG
*options
) PURE
;
1617 STDMETHOD(AddTypeOptions
)(THIS_ ULONG options
) PURE
;
1618 STDMETHOD(RemoveTypeOptions
)(THIS_ ULONG options
) PURE
;
1619 STDMETHOD(SetTypeOptions
)(THIS_ ULONG options
) PURE
;
1620 /* IDebugSymbols3 */
1621 STDMETHOD(GetNameByOffsetWide
)(THIS_ ULONG64 offset
, WCHAR
*buffer
, ULONG buffer_size
, ULONG
*name_size
,
1622 ULONG64
*displacement
) PURE
;
1623 STDMETHOD(GetOffsetByNameWide
)(THIS_
const WCHAR
*symbol
, ULONG64
*offset
) PURE
;
1624 STDMETHOD(GetNearNameByOffsetWide
)(THIS_ ULONG64 offset
, LONG delta
, WCHAR
*buffer
, ULONG buffer_size
,
1625 ULONG
*name_size
, ULONG64
*displacement
) PURE
;
1626 STDMETHOD(GetLineByOffsetWide
)(THIS_ ULONG64 offset
, ULONG
*line
, WCHAR
*buffer
, ULONG buffer_size
,
1627 ULONG
*file_size
, ULONG64
*displacement
) PURE
;
1628 STDMETHOD(GetOffsetByLineWide
)(THIS_ ULONG line
, const WCHAR
*file
, ULONG64
*offset
) PURE
;
1629 STDMETHOD(GetModuleByModuleNameWide
)(THIS_
const WCHAR
*name
, ULONG start_index
, ULONG
*index
, ULONG64
*base
) PURE
;
1630 STDMETHOD(GetSymbolModuleWide
)(THIS_
const WCHAR
*symbol
, ULONG64
*base
) PURE
;
1631 STDMETHOD(GetTypeNameWide
)(THIS_ ULONG64 module
, ULONG type_id
, WCHAR
*buffer
, ULONG buffer_size
,
1632 ULONG
*name_size
) PURE
;
1633 STDMETHOD(GetTypeIdWide
)(THIS_ ULONG64 module
, const WCHAR
*name
, ULONG
*type_id
) PURE
;
1634 STDMETHOD(GetFieldOffsetWide
)(THIS_ ULONG64 module
, ULONG type_id
, const WCHAR
*field
, ULONG
*offset
) PURE
;
1635 STDMETHOD(GetSymbolTypeIdWide
)(THIS_
const WCHAR
*symbol
, ULONG
*type_id
, ULONG64
*module
) PURE
;
1636 STDMETHOD(GetScopeSymbolGroup2
)(THIS_ ULONG flags
, PDEBUG_SYMBOL_GROUP2 update
,
1637 PDEBUG_SYMBOL_GROUP2
*symbols
) PURE
;
1638 STDMETHOD(CreateSymbolGroup2
)(THIS_ PDEBUG_SYMBOL_GROUP2
*group
) PURE
;
1639 STDMETHOD(StartSymbolMatchWide
)(THIS_
const WCHAR
*pattern
, ULONG64
*handle
) PURE
;
1640 STDMETHOD(GetNextSymbolMatchWide
)(THIS_ ULONG64 handle
, WCHAR
*buffer
, ULONG buffer_size
, ULONG
*match_size
,
1641 ULONG64
*offset
) PURE
;
1642 STDMETHOD(ReloadWide
)(THIS_
const WCHAR
*module
) PURE
;
1643 STDMETHOD(GetSymbolPathWide
)(THIS_ WCHAR
*buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1644 STDMETHOD(SetSymbolPathWide
)(THIS_
const WCHAR
*path
) PURE
;
1645 STDMETHOD(AppendSymbolPathWide
)(THIS_
const WCHAR
*addition
) PURE
;
1646 STDMETHOD(GetImagePathWide
)(THIS_ WCHAR
*buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1647 STDMETHOD(SetImagePathWide
)(THIS_
const WCHAR
*path
) PURE
;
1648 STDMETHOD(AppendImagePathWide
)(THIS_
const WCHAR
*addition
) PURE
;
1649 STDMETHOD(GetSourcePathWide
)(THIS_ WCHAR
*buffer
, ULONG buffer_size
, ULONG
*path_size
) PURE
;
1650 STDMETHOD(GetSourcePathElementWide
)(THIS_ ULONG index
, WCHAR
*buffer
, ULONG buffer_size
, ULONG
*element_size
) PURE
;
1651 STDMETHOD(SetSourcePathWide
)(THIS_
const WCHAR
*path
) PURE
;
1652 STDMETHOD(AppendSourcePathWide
)(THIS_
const WCHAR
*addition
) PURE
;
1653 STDMETHOD(FindSourceFileWide
)(THIS_ ULONG start_element
, const WCHAR
*file
, ULONG flags
, ULONG
*found_element
,
1654 WCHAR
*buffer
, ULONG buffer_size
, ULONG
*found_size
) PURE
;
1655 STDMETHOD(GetSourceFileLineOffsetsWide
)(THIS_
const WCHAR
*file
, ULONG64
*buffer
, ULONG buffer_lines
,
1656 ULONG
*file_lines
) PURE
;
1657 STDMETHOD(GetModuleVersionInformationWide
)(THIS_ ULONG index
, ULONG64 base
, const WCHAR
*item
, void *buffer
,
1658 ULONG buffer_size
, ULONG
*version_info_size
) PURE
;
1659 STDMETHOD(GetModuleNameStringWide
)(THIS_ ULONG which
, ULONG index
, ULONG64 base
, WCHAR
*buffer
, ULONG buffer_size
,
1660 ULONG
*name_size
) PURE
;
1661 STDMETHOD(GetConstantNameWide
)(THIS_ ULONG64 module
, ULONG type_id
, ULONG64 value
, WCHAR
*buffer
,
1662 ULONG buffer_size
, ULONG
*name_size
) PURE
;
1663 STDMETHOD(GetFieldNameWide
)(THIS_ ULONG64 module
, ULONG type_id
, ULONG field_index
, WCHAR
*buffer
,
1664 ULONG buffer_size
, ULONG
*name_size
) PURE
;
1665 STDMETHOD(IsManagedModule
)(THIS_ ULONG index
, ULONG64 base
) PURE
;
1666 STDMETHOD(GetModuleByModuleName2
)(THIS_
const char *name
, ULONG start_index
, ULONG flags
, ULONG
*index
,
1667 ULONG64
*base
) PURE
;
1668 STDMETHOD(GetModuleByModuleName2Wide
)(THIS_
const WCHAR
*name
, ULONG start_index
, ULONG flags
, ULONG
*index
,
1669 ULONG64
*base
) PURE
;
1670 STDMETHOD(GetModuleByOffset2
)(THIS_ ULONG64 offset
, ULONG start_index
, ULONG flags
, ULONG
*index
,
1671 ULONG64
*base
) PURE
;
1672 STDMETHOD(AddSyntheticModule
)(THIS_ ULONG64 base
, ULONG size
, const char *image_path
, const char *module_name
,
1674 STDMETHOD(AddSyntheticModuleWide
)(THIS_ ULONG64 base
, ULONG size
, const WCHAR
*image_path
,
1675 const WCHAR
*module_name
, ULONG flags
) PURE
;
1676 STDMETHOD(RemoveSyntheticModule
)(THIS_ ULONG64 base
) PURE
;
1677 STDMETHOD(GetCurrentScopeFrameIndex
)(THIS_ ULONG
*index
) PURE
;
1678 STDMETHOD(SetScopeFrameByIndex
)(THIS_ ULONG index
) PURE
;
1679 STDMETHOD(SetScopeFromJitDebugInfo
)(THIS_ ULONG output_control
, ULONG64 info_offset
) PURE
;
1680 STDMETHOD(SetScopeFromStoredEvent
)(THIS
) PURE
;
1681 STDMETHOD(OutputSymbolByOffset
)(THIS_ ULONG output_control
, ULONG flags
, ULONG64 offset
) PURE
;
1682 STDMETHOD(GetFunctionEntryByOffset
)(THIS_ ULONG64 offset
, ULONG flags
, void *buffer
, ULONG buffer_size
,
1683 ULONG
*needed_size
) PURE
;
1684 STDMETHOD(GetFieldTypeAndOffset
)(THIS_ ULONG64 module
, ULONG container_type_id
, const char *field
,
1685 ULONG
*field_type_id
, ULONG
*offset
) PURE
;
1686 STDMETHOD(GetFieldTypeAndOffsetWide
)(THIS_ ULONG64 module
, ULONG container_type_id
, const WCHAR
*field
,
1687 ULONG
*field_type_id
, ULONG
*offset
) PURE
;
1688 STDMETHOD(AddSyntheticSymbol
)(THIS_ ULONG64 offset
, ULONG size
, const char *name
, ULONG flags
,
1689 DEBUG_MODULE_AND_ID
*id
) PURE
;
1690 STDMETHOD(AddSyntheticSymbolWide
)(THIS_ ULONG64 offset
, ULONG size
, const WCHAR
*name
, ULONG flags
,
1691 DEBUG_MODULE_AND_ID
*id
) PURE
;
1692 STDMETHOD(RemoveSyntheticSymbol
)(THIS_ DEBUG_MODULE_AND_ID
*id
) PURE
;
1693 STDMETHOD(GetSymbolEntriesByOffset
)(THIS_ ULONG64 offset
, ULONG flags
, DEBUG_MODULE_AND_ID
*ids
,
1694 LONG64
*displacements
, ULONG count
, ULONG
*entries
) PURE
;
1695 STDMETHOD(GetSymbolEntriesByName
)(THIS_
const char *symbol
, ULONG flags
, DEBUG_MODULE_AND_ID
*ids
, ULONG count
,
1696 ULONG
*entries
) PURE
;
1697 STDMETHOD(GetSymbolEntriesByNameWide
)(THIS_
const WCHAR
*symbol
, ULONG flags
, DEBUG_MODULE_AND_ID
*ids
,
1698 ULONG count
, ULONG
*entries
) PURE
;
1699 STDMETHOD(GetSymbolEntryByToken
)(THIS_ ULONG64 base
, ULONG token
, DEBUG_MODULE_AND_ID
*id
) PURE
;
1700 STDMETHOD(GetSymbolEntryInformation
)(THIS_ DEBUG_MODULE_AND_ID
*id
, DEBUG_SYMBOL_ENTRY
*info
) PURE
;
1701 STDMETHOD(GetSymbolEntryString
)(THIS_ DEBUG_MODULE_AND_ID
*id
, ULONG which
, char *buffer
, ULONG buffer_size
,
1702 ULONG
*string_size
) PURE
;
1703 STDMETHOD(GetSymbolEntryStringWide
)(THIS_ DEBUG_MODULE_AND_ID
*id
, ULONG which
, WCHAR
*buffer
, ULONG buffer_size
,
1704 ULONG
*string_size
) PURE
;
1705 STDMETHOD(GetSymbolEntryOffsetRegions
)(THIS_ DEBUG_MODULE_AND_ID
*id
, ULONG flags
, DEBUG_OFFSET_REGION
*regions
,
1706 ULONG regions_count
, ULONG
*regions_avail
) PURE
;
1707 STDMETHOD(GetSymbolEntryBySymbolEntry
)(THIS_ DEBUG_MODULE_AND_ID
*from_id
, ULONG flags
,
1708 DEBUG_MODULE_AND_ID
*to_id
) PURE
;
1709 STDMETHOD(GetSourceEntriesByOffset
)(THIS_ ULONG64 offset
, ULONG flags
, DEBUG_SYMBOL_SOURCE_ENTRY
*entries
,
1710 ULONG count
, ULONG
*entries_avail
) PURE
;
1711 STDMETHOD(GetSourceEntriesByLine
)(THIS_ ULONG line
, const char *file
, ULONG flags
,
1712 DEBUG_SYMBOL_SOURCE_ENTRY
*entries
, ULONG count
, ULONG
*entries_avail
) PURE
;
1713 STDMETHOD(GetSourceEntriesByLineWide
)(THIS_ ULONG line
, const WCHAR
*file
, ULONG flags
,
1714 DEBUG_SYMBOL_SOURCE_ENTRY
*entries
, ULONG count
, ULONG
*entries_avail
) PURE
;
1715 STDMETHOD(GetSourceEntryString
)(THIS_ DEBUG_SYMBOL_SOURCE_ENTRY
*entry
, ULONG which
, char *buffer
,
1716 ULONG buffer_size
, ULONG
*string_size
) PURE
;
1717 STDMETHOD(GetSourceEntryStringWide
)(THIS_ DEBUG_SYMBOL_SOURCE_ENTRY
*entry
, ULONG which
, WCHAR
*buffer
,
1718 ULONG buffer_size
, ULONG
*string_size
) PURE
;
1719 STDMETHOD(GetSourceEntryOffsetRegions
)(THIS_ DEBUG_SYMBOL_SOURCE_ENTRY
*entry
, ULONG flags
,
1720 DEBUG_OFFSET_REGION
*regions
, ULONG count
, ULONG
*regions_avail
) PURE
;
1721 STDMETHOD(GetSourceEntryBySourceEntry
)(THIS_ DEBUG_SYMBOL_SOURCE_ENTRY
*from_entry
, ULONG flags
,
1722 DEBUG_SYMBOL_SOURCE_ENTRY
*to_entry
) PURE
;
1726 #define INTERFACE IDebugControl
1727 DECLARE_INTERFACE_(IDebugControl
, IUnknown
)
1730 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1731 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1732 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1734 STDMETHOD(GetInterrupt
)(THIS
) PURE
;
1735 STDMETHOD(SetInterrupt
)(THIS_ ULONG flags
) PURE
;
1736 STDMETHOD(GetInterruptTimeout
)(THIS_ ULONG
*timeout
) PURE
;
1737 STDMETHOD(SetInterruptTimeout
)(THIS_ ULONG timeout
) PURE
;
1738 STDMETHOD(GetLogFile
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*file_size
, BOOL
*append
) PURE
;
1739 STDMETHOD(OpenLogFile
)(THIS_
const char *file
, BOOL append
) PURE
;
1740 STDMETHOD(CloseLogFile
)(THIS
) PURE
;
1741 STDMETHOD(GetLogMask
)(THIS_ ULONG
*mask
) PURE
;
1742 STDMETHOD(SetLogMask
)(THIS_ ULONG mask
) PURE
;
1743 STDMETHOD(Input
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*input_size
) PURE
;
1744 STDMETHOD(ReturnInput
)(THIS_
const char *buffer
) PURE
;
1745 STDMETHODV(Output
)(THIS_ ULONG mask
, const char *format
, ...) PURE
;
1746 STDMETHOD(OutputVaList
)(THIS_ ULONG mask
, const char *format
, __ms_va_list args
) PURE
;
1747 STDMETHODV(ControlledOutput
)(THIS_ ULONG output_control
, ULONG mask
, const char *format
, ...) PURE
;
1748 STDMETHOD(ControlledOutputVaList
)(THIS_ ULONG output_control
, ULONG mask
, const char *format
,
1749 __ms_va_list args
) PURE
;
1750 STDMETHODV(OutputPrompt
)(THIS_ ULONG output_control
, const char *format
, ...) PURE
;
1751 STDMETHOD(OutputPromptVaList
)(THIS_ ULONG output_control
, const char *format
, __ms_va_list args
) PURE
;
1752 STDMETHOD(GetPromptText
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*text_size
) PURE
;
1753 STDMETHOD(OutputCurrentState
)(THIS_ ULONG output_control
, ULONG flags
) PURE
;
1754 STDMETHOD(OutputVersionInformation
)(THIS_ ULONG output_control
) PURE
;
1755 STDMETHOD(GetNotifyEventHandle
)(THIS_ ULONG64
*handle
) PURE
;
1756 STDMETHOD(SetNotifyEventHandle
)(THIS_ ULONG64 handle
) PURE
;
1757 STDMETHOD(Assemble
)(THIS_ ULONG64 offset
, const char *code
, ULONG64
*end_offset
) PURE
;
1758 STDMETHOD(Disassemble
)(THIS_ ULONG64 offset
, ULONG flags
, char *buffer
, ULONG buffer_size
, ULONG
*disassm_size
,
1759 ULONG64
*end_offset
) PURE
;
1760 STDMETHOD(GetDisassembleEffectiveOffset
)(THIS_ ULONG64
*offset
) PURE
;
1761 STDMETHOD(OutputDisassembly
)(THIS_ ULONG output_control
, ULONG64 offset
, ULONG flags
, ULONG64
*end_offset
) PURE
;
1762 STDMETHOD(OutputDisassemblyLines
)(THIS_ ULONG output_control
, ULONG prev_lines
, ULONG total_lines
, ULONG64 offset
,
1763 ULONG flags
, ULONG
*offset_line
, ULONG64
*start_offset
, ULONG64
*end_offset
, ULONG64
*line_offsets
) PURE
;
1764 STDMETHOD(GetNearInstruction
)(THIS_ ULONG64 offset
, LONG delta
, ULONG64
*instr_offset
) PURE
;
1765 STDMETHOD(GetStackTrace
)(THIS_ ULONG64 frame_offset
, ULONG64 stack_offset
, ULONG64 instr_offset
,
1766 DEBUG_STACK_FRAME
*frames
, ULONG frames_size
, ULONG
*frames_filled
) PURE
;
1767 STDMETHOD(GetReturnOffset
)(THIS_ ULONG64
*offset
) PURE
;
1768 STDMETHOD(OutputStackTrace
)(THIS_ ULONG output_control
, DEBUG_STACK_FRAME
*frames
, ULONG frames_size
,
1770 STDMETHOD(GetDebuggeeType
)(THIS_ ULONG
*_class
, ULONG
*qualifier
) PURE
;
1771 STDMETHOD(GetActualProcessorType
)(THIS_ ULONG
*type
) PURE
;
1772 STDMETHOD(GetExecutingProcessorType
)(THIS_ ULONG
*type
) PURE
;
1773 STDMETHOD(GetNumberPossibleExecutingProcessorTypes
)(THIS_ ULONG
*count
) PURE
;
1774 STDMETHOD(GetPossibleExecutingProcessorTypes
)(THIS_ ULONG start
, ULONG count
, ULONG
*types
) PURE
;
1775 STDMETHOD(GetNumberProcessors
)(THIS_ ULONG
*count
) PURE
;
1776 STDMETHOD(GetSystemVersion
)(THIS_ ULONG
*platform_id
, ULONG
*major
, ULONG
*minor
, char *sp_string
,
1777 ULONG sp_string_size
, ULONG
*sp_string_used
, ULONG
*sp_number
, char *build_string
, ULONG build_string_size
,
1778 ULONG
*build_string_used
) PURE
;
1779 STDMETHOD(GetPageSize
)(THIS_ ULONG
*size
) PURE
;
1780 STDMETHOD(IsPointer64Bit
)(THIS
) PURE
;
1781 STDMETHOD(ReadBugCheckData
)(THIS_ ULONG
*code
, ULONG64
*arg1
, ULONG64
*arg2
, ULONG64
*arg3
, ULONG64
*arg4
) PURE
;
1782 STDMETHOD(GetNumberSupportedProcessorTypes
)(THIS_ ULONG
*count
) PURE
;
1783 STDMETHOD(GetSupportedProcessorTypes
)(THIS_ ULONG start
, ULONG count
, ULONG
*types
) PURE
;
1784 STDMETHOD(GetProcessorTypeNames
)(THIS_ ULONG type
, char *full_name
, ULONG full_name_buffer_size
,
1785 ULONG
*full_name_size
, char *abbrev_name
, ULONG abbrev_name_buffer_size
, ULONG
*abbrev_name_size
) PURE
;
1786 STDMETHOD(GetEffectiveProcessorType
)(THIS_ ULONG
*type
) PURE
;
1787 STDMETHOD(SetEffectiveProcessorType
)(THIS_ ULONG type
) PURE
;
1788 STDMETHOD(GetExecutionStatus
)(THIS_ ULONG
*status
) PURE
;
1789 STDMETHOD(SetExecutionStatus
)(THIS_ ULONG status
) PURE
;
1790 STDMETHOD(GetCodeLevel
)(THIS_ ULONG
*level
) PURE
;
1791 STDMETHOD(SetCodeLevel
)(THIS_ ULONG level
) PURE
;
1792 STDMETHOD(GetEngineOptions
)(THIS_ ULONG
*options
) PURE
;
1793 STDMETHOD(AddEngineOptions
)(THIS_ ULONG options
) PURE
;
1794 STDMETHOD(RemoveEngineOptions
)(THIS_ ULONG options
) PURE
;
1795 STDMETHOD(SetEngineOptions
)(THIS_ ULONG options
) PURE
;
1796 STDMETHOD(GetSystemErrorControl
)(THIS_ ULONG
*output_level
, ULONG
*break_level
) PURE
;
1797 STDMETHOD(SetSystemErrorControl
)(THIS_ ULONG output_level
, ULONG break_level
) PURE
;
1798 STDMETHOD(GetTextMacro
)(THIS_ ULONG slot
, char *buffer
, ULONG buffer_size
, ULONG
*macro_size
) PURE
;
1799 STDMETHOD(SetTextMacro
)(THIS_ ULONG slot
, const char *macro
) PURE
;
1800 STDMETHOD(GetRadix
)(THIS_ ULONG
*radix
) PURE
;
1801 STDMETHOD(SetRadix
)(THIS_ ULONG radix
) PURE
;
1802 STDMETHOD(Evaluate
)(THIS_
const char *expression
, ULONG desired_type
, DEBUG_VALUE
*value
,
1803 ULONG
*remainder_index
) PURE
;
1804 STDMETHOD(CoerceValue
)(THIS_ DEBUG_VALUE input
, ULONG output_type
, DEBUG_VALUE
*output
) PURE
;
1805 STDMETHOD(CoerceValues
)(THIS_ ULONG count
, DEBUG_VALUE
*input
, ULONG
*output_types
, DEBUG_VALUE
*output
) PURE
;
1806 STDMETHOD(Execute
)(THIS_ ULONG output_control
, const char *command
, ULONG flags
) PURE
;
1807 STDMETHOD(ExecuteCommandFile
)(THIS_ ULONG output_control
, const char *command_file
, ULONG flags
) PURE
;
1808 STDMETHOD(GetNumberBreakpoints
)(THIS_ ULONG
*count
) PURE
;
1809 STDMETHOD(GetBreakpointByIndex
)(THIS_ ULONG index
, IDebugBreakpoint
**bp
) PURE
;
1810 STDMETHOD(GetBreakpointById
)(THIS_ ULONG id
, IDebugBreakpoint
**bp
) PURE
;
1811 STDMETHOD(GetBreakpointParameters
)(THIS_ ULONG count
, ULONG
*ids
, ULONG start
,
1812 DEBUG_BREAKPOINT_PARAMETERS
*parameters
) PURE
;
1813 STDMETHOD(AddBreakpoint
)(THIS_ ULONG type
, ULONG desired_id
, IDebugBreakpoint
**bp
) PURE
;
1814 STDMETHOD(RemoveBreakpoint
)(THIS_ IDebugBreakpoint
*bp
) PURE
;
1815 STDMETHOD(AddExtension
)(THIS_
const char *path
, ULONG flags
, ULONG64
*handle
) PURE
;
1816 STDMETHOD(RemoveExtension
)(THIS_ ULONG64 handle
) PURE
;
1817 STDMETHOD(GetExtensionByPath
)(THIS_
const char *path
, ULONG64
*handle
) PURE
;
1818 STDMETHOD(CallExtension
)(THIS_ ULONG64 handle
, const char *function
, const char *args
) PURE
;
1819 STDMETHOD(GetExtensionFunction
)(THIS_ ULONG64 handle
, const char *name
, void *function
) PURE
;
1820 STDMETHOD(GetWindbgExtensionApis32
)(THIS_ PWINDBG_EXTENSION_APIS32 api
) PURE
;
1821 STDMETHOD(GetWindbgExtensionApis64
)(THIS_ PWINDBG_EXTENSION_APIS64 api
) PURE
;
1822 STDMETHOD(GetNumberEventFilters
)(THIS_ ULONG
*specific_events
, ULONG
*specific_exceptions
,
1823 ULONG
*arbitrary_exceptions
) PURE
;
1824 STDMETHOD(GetEventFilterText
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
, ULONG
*text_size
) PURE
;
1825 STDMETHOD(GetEventFilterCommand
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
, ULONG
*command_size
) PURE
;
1826 STDMETHOD(SetEventFilterCommand
)(THIS_ ULONG index
, const char *command
) PURE
;
1827 STDMETHOD(GetSpecificFilterParameters
)(THIS_ ULONG start
, ULONG count
,
1828 DEBUG_SPECIFIC_FILTER_PARAMETERS
*parameters
) PURE
;
1829 STDMETHOD(SetSpecificFilterParameters
)(THIS_ ULONG start
, ULONG count
,
1830 DEBUG_SPECIFIC_FILTER_PARAMETERS
*parameters
) PURE
;
1831 STDMETHOD(GetSpecificFilterArgument
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
,
1832 ULONG
*argument_size
) PURE
;
1833 STDMETHOD(SetSpecificFilterArgument
)(THIS_ ULONG index
, const char *argument
) PURE
;
1834 STDMETHOD(GetExceptionFilterParameters
)(THIS_ ULONG count
, ULONG
*codes
, ULONG start
,
1835 DEBUG_EXCEPTION_FILTER_PARAMETERS
*parameters
) PURE
;
1836 STDMETHOD(SetExceptionFilterParameters
)(THIS_ ULONG count
, DEBUG_EXCEPTION_FILTER_PARAMETERS
*parameters
) PURE
;
1837 STDMETHOD(GetExceptionFilterSecondCommand
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
,
1838 ULONG
*command_size
) PURE
;
1839 STDMETHOD(SetExceptionFilterSecondCommand
)(THIS_ ULONG index
, const char *command
) PURE
;
1840 STDMETHOD(WaitForEvent
)(THIS_ ULONG flags
, ULONG timeout
) PURE
;
1841 STDMETHOD(GetLastEventInformation
)(THIS_ ULONG
*type
, ULONG
*pid
, ULONG
*tid
, void *extra_info
,
1842 ULONG extra_info_size
, ULONG
*extra_info_used
, char *description
, ULONG desc_size
, ULONG
*desc_used
) PURE
;
1846 #define INTERFACE IDebugControl2
1847 DECLARE_INTERFACE_(IDebugControl2
, IUnknown
)
1850 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1851 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1852 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1854 STDMETHOD(GetInterrupt
)(THIS
) PURE
;
1855 STDMETHOD(SetInterrupt
)(THIS_ ULONG flags
) PURE
;
1856 STDMETHOD(GetInterruptTimeout
)(THIS_ ULONG
*timeout
) PURE
;
1857 STDMETHOD(SetInterruptTimeout
)(THIS_ ULONG timeout
) PURE
;
1858 STDMETHOD(GetLogFile
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*file_size
, BOOL
*append
) PURE
;
1859 STDMETHOD(OpenLogFile
)(THIS_
const char *file
, BOOL append
) PURE
;
1860 STDMETHOD(CloseLogFile
)(THIS
) PURE
;
1861 STDMETHOD(GetLogMask
)(THIS_ ULONG
*mask
) PURE
;
1862 STDMETHOD(SetLogMask
)(THIS_ ULONG mask
) PURE
;
1863 STDMETHOD(Input
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*input_size
) PURE
;
1864 STDMETHOD(ReturnInput
)(THIS_
const char *buffer
) PURE
;
1865 STDMETHODV(Output
)(THIS_ ULONG mask
, const char *format
, ...) PURE
;
1866 STDMETHOD(OutputVaList
)(THIS_ ULONG mask
, const char *format
, __ms_va_list args
) PURE
;
1867 STDMETHODV(ControlledOutput
)(THIS_ ULONG output_control
, ULONG mask
, const char *format
, ...) PURE
;
1868 STDMETHOD(ControlledOutputVaList
)(THIS_ ULONG output_control
, ULONG mask
, const char *format
,
1869 __ms_va_list args
) PURE
;
1870 STDMETHODV(OutputPrompt
)(THIS_ ULONG output_control
, const char *format
, ...) PURE
;
1871 STDMETHOD(OutputPromptVaList
)(THIS_ ULONG output_control
, const char *format
, __ms_va_list args
) PURE
;
1872 STDMETHOD(GetPromptText
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*text_size
) PURE
;
1873 STDMETHOD(OutputCurrentState
)(THIS_ ULONG output_control
, ULONG flags
) PURE
;
1874 STDMETHOD(OutputVersionInformation
)(THIS_ ULONG output_control
) PURE
;
1875 STDMETHOD(GetNotifyEventHandle
)(THIS_ ULONG64
*handle
) PURE
;
1876 STDMETHOD(SetNotifyEventHandle
)(THIS_ ULONG64 handle
) PURE
;
1877 STDMETHOD(Assemble
)(THIS_ ULONG64 offset
, const char *code
, ULONG64
*end_offset
) PURE
;
1878 STDMETHOD(Disassemble
)(THIS_ ULONG64 offset
, ULONG flags
, char *buffer
, ULONG buffer_size
, ULONG
*disassm_size
,
1879 ULONG64
*end_offset
) PURE
;
1880 STDMETHOD(GetDisassembleEffectiveOffset
)(THIS_ ULONG64
*offset
) PURE
;
1881 STDMETHOD(OutputDisassembly
)(THIS_ ULONG output_control
, ULONG64 offset
, ULONG flags
, ULONG64
*end_offset
) PURE
;
1882 STDMETHOD(OutputDisassemblyLines
)(THIS_ ULONG output_control
, ULONG prev_lines
, ULONG total_lines
, ULONG64 offset
,
1883 ULONG flags
, ULONG
*offset_line
, ULONG64
*start_offset
, ULONG64
*end_offset
, ULONG64
*line_offsets
) PURE
;
1884 STDMETHOD(GetNearInstruction
)(THIS_ ULONG64 offset
, LONG delta
, ULONG64
*instr_offset
) PURE
;
1885 STDMETHOD(GetStackTrace
)(THIS_ ULONG64 frame_offset
, ULONG64 stack_offset
, ULONG64 instr_offset
,
1886 DEBUG_STACK_FRAME
*frames
, ULONG frames_size
, ULONG
*frames_filled
) PURE
;
1887 STDMETHOD(GetReturnOffset
)(THIS_ ULONG64
*offset
) PURE
;
1888 STDMETHOD(OutputStackTrace
)(THIS_ ULONG output_control
, DEBUG_STACK_FRAME
*frames
, ULONG frames_size
,
1890 STDMETHOD(GetDebuggeeType
)(THIS_ ULONG
*_class
, ULONG
*qualifier
) PURE
;
1891 STDMETHOD(GetActualProcessorType
)(THIS_ ULONG
*type
) PURE
;
1892 STDMETHOD(GetExecutingProcessorType
)(THIS_ ULONG
*type
) PURE
;
1893 STDMETHOD(GetNumberPossibleExecutingProcessorTypes
)(THIS_ ULONG
*count
) PURE
;
1894 STDMETHOD(GetPossibleExecutingProcessorTypes
)(THIS_ ULONG start
, ULONG count
, ULONG
*types
) PURE
;
1895 STDMETHOD(GetNumberProcessors
)(THIS_ ULONG
*count
) PURE
;
1896 STDMETHOD(GetSystemVersion
)(THIS_ ULONG
*platform_id
, ULONG
*major
, ULONG
*minor
, char *sp_string
,
1897 ULONG sp_string_size
, ULONG
*sp_string_used
, ULONG
*sp_number
, char *build_string
, ULONG build_string_size
,
1898 ULONG
*build_string_used
) PURE
;
1899 STDMETHOD(GetPageSize
)(THIS_ ULONG
*size
) PURE
;
1900 STDMETHOD(IsPointer64Bit
)(THIS
) PURE
;
1901 STDMETHOD(ReadBugCheckData
)(THIS_ ULONG
*code
, ULONG64
*arg1
, ULONG64
*arg2
, ULONG64
*arg3
, ULONG64
*arg4
) PURE
;
1902 STDMETHOD(GetNumberSupportedProcessorTypes
)(THIS_ ULONG
*count
) PURE
;
1903 STDMETHOD(GetSupportedProcessorTypes
)(THIS_ ULONG start
, ULONG count
, ULONG
*types
) PURE
;
1904 STDMETHOD(GetProcessorTypeNames
)(THIS_ ULONG type
, char *full_name
, ULONG full_name_buffer_size
,
1905 ULONG
*full_name_size
, char *abbrev_name
, ULONG abbrev_name_buffer_size
, ULONG
*abbrev_name_size
) PURE
;
1906 STDMETHOD(GetEffectiveProcessorType
)(THIS_ ULONG
*type
) PURE
;
1907 STDMETHOD(SetEffectiveProcessorType
)(THIS_ ULONG type
) PURE
;
1908 STDMETHOD(GetExecutionStatus
)(THIS_ ULONG
*status
) PURE
;
1909 STDMETHOD(SetExecutionStatus
)(THIS_ ULONG status
) PURE
;
1910 STDMETHOD(GetCodeLevel
)(THIS_ ULONG
*level
) PURE
;
1911 STDMETHOD(SetCodeLevel
)(THIS_ ULONG level
) PURE
;
1912 STDMETHOD(GetEngineOptions
)(THIS_ ULONG
*options
) PURE
;
1913 STDMETHOD(AddEngineOptions
)(THIS_ ULONG options
) PURE
;
1914 STDMETHOD(RemoveEngineOptions
)(THIS_ ULONG options
) PURE
;
1915 STDMETHOD(SetEngineOptions
)(THIS_ ULONG options
) PURE
;
1916 STDMETHOD(GetSystemErrorControl
)(THIS_ ULONG
*output_level
, ULONG
*break_level
) PURE
;
1917 STDMETHOD(SetSystemErrorControl
)(THIS_ ULONG output_level
, ULONG break_level
) PURE
;
1918 STDMETHOD(GetTextMacro
)(THIS_ ULONG slot
, char *buffer
, ULONG buffer_size
, ULONG
*macro_size
) PURE
;
1919 STDMETHOD(SetTextMacro
)(THIS_ ULONG slot
, const char *macro
) PURE
;
1920 STDMETHOD(GetRadix
)(THIS_ ULONG
*radix
) PURE
;
1921 STDMETHOD(SetRadix
)(THIS_ ULONG radix
) PURE
;
1922 STDMETHOD(Evaluate
)(THIS_
const char *expression
, ULONG desired_type
, DEBUG_VALUE
*value
,
1923 ULONG
*remainder_index
) PURE
;
1924 STDMETHOD(CoerceValue
)(THIS_ DEBUG_VALUE input
, ULONG output_type
, DEBUG_VALUE
*output
) PURE
;
1925 STDMETHOD(CoerceValues
)(THIS_ ULONG count
, DEBUG_VALUE
*input
, ULONG
*output_types
, DEBUG_VALUE
*output
) PURE
;
1926 STDMETHOD(Execute
)(THIS_ ULONG output_control
, const char *command
, ULONG flags
) PURE
;
1927 STDMETHOD(ExecuteCommandFile
)(THIS_ ULONG output_control
, const char *command_file
, ULONG flags
) PURE
;
1928 STDMETHOD(GetNumberBreakpoints
)(THIS_ ULONG
*count
) PURE
;
1929 STDMETHOD(GetBreakpointByIndex
)(THIS_ ULONG index
, IDebugBreakpoint
**bp
) PURE
;
1930 STDMETHOD(GetBreakpointById
)(THIS_ ULONG id
, IDebugBreakpoint
**bp
) PURE
;
1931 STDMETHOD(GetBreakpointParameters
)(THIS_ ULONG count
, ULONG
*ids
, ULONG start
,
1932 DEBUG_BREAKPOINT_PARAMETERS
*parameters
) PURE
;
1933 STDMETHOD(AddBreakpoint
)(THIS_ ULONG type
, ULONG desired_id
, IDebugBreakpoint
**bp
) PURE
;
1934 STDMETHOD(RemoveBreakpoint
)(THIS_ IDebugBreakpoint
*bp
) PURE
;
1935 STDMETHOD(AddExtension
)(THIS_
const char *path
, ULONG flags
, ULONG64
*handle
) PURE
;
1936 STDMETHOD(RemoveExtension
)(THIS_ ULONG64 handle
) PURE
;
1937 STDMETHOD(GetExtensionByPath
)(THIS_
const char *path
, ULONG64
*handle
) PURE
;
1938 STDMETHOD(CallExtension
)(THIS_ ULONG64 handle
, const char *function
, const char *args
) PURE
;
1939 STDMETHOD(GetExtensionFunction
)(THIS_ ULONG64 handle
, const char *name
, void *function
) PURE
;
1940 STDMETHOD(GetWindbgExtensionApis32
)(THIS_ PWINDBG_EXTENSION_APIS32 api
) PURE
;
1941 STDMETHOD(GetWindbgExtensionApis64
)(THIS_ PWINDBG_EXTENSION_APIS64 api
) PURE
;
1942 STDMETHOD(GetNumberEventFilters
)(THIS_ ULONG
*specific_events
, ULONG
*specific_exceptions
,
1943 ULONG
*arbitrary_exceptions
) PURE
;
1944 STDMETHOD(GetEventFilterText
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
, ULONG
*text_size
) PURE
;
1945 STDMETHOD(GetEventFilterCommand
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
, ULONG
*command_size
) PURE
;
1946 STDMETHOD(SetEventFilterCommand
)(THIS_ ULONG index
, const char *command
) PURE
;
1947 STDMETHOD(GetSpecificFilterParameters
)(THIS_ ULONG start
, ULONG count
,
1948 DEBUG_SPECIFIC_FILTER_PARAMETERS
*parameters
) PURE
;
1949 STDMETHOD(SetSpecificFilterParameters
)(THIS_ ULONG start
, ULONG count
,
1950 DEBUG_SPECIFIC_FILTER_PARAMETERS
*parameters
) PURE
;
1951 STDMETHOD(GetSpecificFilterArgument
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
,
1952 ULONG
*argument_size
) PURE
;
1953 STDMETHOD(SetSpecificFilterArgument
)(THIS_ ULONG index
, const char *argument
) PURE
;
1954 STDMETHOD(GetExceptionFilterParameters
)(THIS_ ULONG count
, ULONG
*codes
, ULONG start
,
1955 DEBUG_EXCEPTION_FILTER_PARAMETERS
*parameters
) PURE
;
1956 STDMETHOD(SetExceptionFilterParameters
)(THIS_ ULONG count
, DEBUG_EXCEPTION_FILTER_PARAMETERS
*parameters
) PURE
;
1957 STDMETHOD(GetExceptionFilterSecondCommand
)(THIS_ ULONG index
, char *buffer
, ULONG buffer_size
,
1958 ULONG
*command_size
) PURE
;
1959 STDMETHOD(SetExceptionFilterSecondCommand
)(THIS_ ULONG index
, const char *command
) PURE
;
1960 STDMETHOD(WaitForEvent
)(THIS_ ULONG flags
, ULONG timeout
) PURE
;
1961 STDMETHOD(GetLastEventInformation
)(THIS_ ULONG
*type
, ULONG
*pid
, ULONG
*tid
, void *extra_info
,
1962 ULONG extra_info_size
, ULONG
*extra_info_used
, char *description
, ULONG desc_size
, ULONG
*desc_used
) PURE
;
1963 /* IDebugControl2 */
1964 STDMETHOD(GetCurrentTimeDate
)(THIS_ ULONG timedate
) PURE
;
1965 STDMETHOD(GetCurrentSystemUpTime
)(THIS_ ULONG uptime
) PURE
;
1966 STDMETHOD(GetDumpFormatFlags
)(THIS_ ULONG
*flags
) PURE
;
1967 STDMETHOD(GetNumberTextPlacements
)(THIS_ ULONG
*count
) PURE
;
1968 STDMETHOD(GetNumberTextReplacement
)(THIS_
const char *src_text
, ULONG index
, char *src_buffer
,
1969 ULONG src_buffer_size
, ULONG
*src_size
, char *dst_buffer
, ULONG dst_buffer_size
, ULONG
*dst_size
) PURE
;
1970 STDMETHOD(SetTextReplacement
)(THIS_
const char *src_text
, const char *dst_text
) PURE
;
1971 STDMETHOD(RemoveTextReplacements
)(THIS
) PURE
;
1972 STDMETHOD(OutputTextReplacements
)(THIS_ ULONG output_control
, ULONG flags
) PURE
;
1976 #define INTERFACE IDebugAdvanced
1977 DECLARE_INTERFACE_(IDebugAdvanced
, IUnknown
)
1980 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1981 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1982 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1983 /* IDebugAdvanced */
1984 STDMETHOD(GetThreadContext
)(THIS_
void *context
, ULONG context_size
) PURE
;
1985 STDMETHOD(SetThreadContext
)(THIS_
void *context
, ULONG context_size
) PURE
;
1989 #define INTERFACE IDebugSystemObjects
1990 DECLARE_INTERFACE_(IDebugSystemObjects
, IUnknown
)
1993 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
1994 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
1995 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
1996 /* IDebugSystemObjects */
1997 STDMETHOD(GetEventThread
)(THIS_ ULONG
*id
) PURE
;
1998 STDMETHOD(GetEventProcess
)(THIS_ ULONG
*id
) PURE
;
1999 STDMETHOD(GetCurrentThreadId
)(THIS_ ULONG
*id
) PURE
;
2000 STDMETHOD(SetCurrentThreadId
)(THIS_ ULONG id
) PURE
;
2001 STDMETHOD(SetCurrentProcessId
)(THIS_ ULONG id
) PURE
;
2002 STDMETHOD(GetNumberThreads
)(THIS_ ULONG
*number
) PURE
;
2003 STDMETHOD(GetTotalNumberThreads
)(THIS_ ULONG
*total
, ULONG
*largest_process
) PURE
;
2004 STDMETHOD(GetThreadIdsByIndex
)(THIS_ ULONG start
, ULONG count
, ULONG
*ids
, ULONG
*sysids
) PURE
;
2005 STDMETHOD(GetThreadIdByProcessor
)(THIS_ ULONG processor
, ULONG
*id
) PURE
;
2006 STDMETHOD(GetCurrentThreadDataOffset
)(THIS_ ULONG64
*offset
) PURE
;
2007 STDMETHOD(GetThreadIdByDataOffset
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2008 STDMETHOD(GetCurrentThreadTeb
)(THIS_ ULONG64
*offset
) PURE
;
2009 STDMETHOD(GetThreadIdByTeb
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2010 STDMETHOD(GetCurrentThreadSystemId
)(THIS_ ULONG
*sysid
) PURE
;
2011 STDMETHOD(GetThreadIdBySystemId
)(THIS_ ULONG sysid
, ULONG
*id
) PURE
;
2012 STDMETHOD(GetCurrentThreadHandle
)(THIS_ ULONG64
*handle
) PURE
;
2013 STDMETHOD(GetThreadIdByHandle
)(THIS_ ULONG64 handle
, ULONG
*id
) PURE
;
2014 STDMETHOD(GetNumberProcesses
)(THIS_ ULONG
*number
) PURE
;
2015 STDMETHOD(GetProcessIdsByIndex
)(THIS_ ULONG start
, ULONG count
, ULONG
*ids
, ULONG
*sysids
) PURE
;
2016 STDMETHOD(GetCurrentProcessDataOffset
)(THIS_ ULONG64
*offset
) PURE
;
2017 STDMETHOD(GetProcessIdByDataOffset
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2018 STDMETHOD(GetCurrentProcessPeb
)(THIS_ ULONG64
*offset
) PURE
;
2019 STDMETHOD(GetProcessIdByPeb
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2020 STDMETHOD(GetCurrentProcessSystemId
)(THIS_ ULONG
*sysid
) PURE
;
2021 STDMETHOD(GetProcessIdBySystemId
)(THIS_ ULONG sysid
, ULONG
*id
) PURE
;
2022 STDMETHOD(GetCurrentProcessHandle
)(THIS_ ULONG64
*handle
) PURE
;
2023 STDMETHOD(GetProcessIdByHandle
)(THIS_ ULONG64 handle
, ULONG
*id
) PURE
;
2024 STDMETHOD(GetCurrentProcessExecutableName
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*exe_size
) PURE
;
2028 #define INTERFACE IDebugSystemObjects2
2029 DECLARE_INTERFACE_(IDebugSystemObjects2
, IUnknown
)
2032 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
2033 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
2034 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
2035 /* IDebugSystemObjects */
2036 STDMETHOD(GetEventThread
)(THIS_ ULONG
*id
) PURE
;
2037 STDMETHOD(GetEventProcess
)(THIS_ ULONG
*id
) PURE
;
2038 STDMETHOD(GetCurrentThreadId
)(THIS_ ULONG
*id
) PURE
;
2039 STDMETHOD(SetCurrentThreadId
)(THIS_ ULONG id
) PURE
;
2040 STDMETHOD(SetCurrentProcessId
)(THIS_ ULONG id
) PURE
;
2041 STDMETHOD(GetNumberThreads
)(THIS_ ULONG
*number
) PURE
;
2042 STDMETHOD(GetTotalNumberThreads
)(THIS_ ULONG
*total
, ULONG
*largest_process
) PURE
;
2043 STDMETHOD(GetThreadIdsByIndex
)(THIS_ ULONG start
, ULONG count
, ULONG
*ids
, ULONG
*sysids
) PURE
;
2044 STDMETHOD(GetThreadIdByProcessor
)(THIS_ ULONG processor
, ULONG
*id
) PURE
;
2045 STDMETHOD(GetCurrentThreadDataOffset
)(THIS_ ULONG64
*offset
) PURE
;
2046 STDMETHOD(GetThreadIdByDataOffset
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2047 STDMETHOD(GetCurrentThreadTeb
)(THIS_ ULONG64
*offset
) PURE
;
2048 STDMETHOD(GetThreadIdByTeb
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2049 STDMETHOD(GetCurrentThreadSystemId
)(THIS_ ULONG
*sysid
) PURE
;
2050 STDMETHOD(GetThreadIdBySystemId
)(THIS_ ULONG sysid
, ULONG
*id
) PURE
;
2051 STDMETHOD(GetCurrentThreadHandle
)(THIS_ ULONG64
*handle
) PURE
;
2052 STDMETHOD(GetThreadIdByHandle
)(THIS_ ULONG64 handle
, ULONG
*id
) PURE
;
2053 STDMETHOD(GetNumberProcesses
)(THIS_ ULONG
*number
) PURE
;
2054 STDMETHOD(GetProcessIdsByIndex
)(THIS_ ULONG start
, ULONG count
, ULONG
*ids
, ULONG
*sysids
) PURE
;
2055 STDMETHOD(GetCurrentProcessDataOffset
)(THIS_ ULONG64
*offset
) PURE
;
2056 STDMETHOD(GetProcessIdByDataOffset
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2057 STDMETHOD(GetCurrentProcessPeb
)(THIS_ ULONG64
*offset
) PURE
;
2058 STDMETHOD(GetProcessIdByPeb
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2059 STDMETHOD(GetCurrentProcessSystemId
)(THIS_ ULONG
*sysid
) PURE
;
2060 STDMETHOD(GetProcessIdBySystemId
)(THIS_ ULONG sysid
, ULONG
*id
) PURE
;
2061 STDMETHOD(GetCurrentProcessHandle
)(THIS_ ULONG64
*handle
) PURE
;
2062 STDMETHOD(GetProcessIdByHandle
)(THIS_ ULONG64 handle
, ULONG
*id
) PURE
;
2063 STDMETHOD(GetCurrentProcessExecutableName
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*exe_size
) PURE
;
2064 /* IDebugSystemObjects2 */
2065 STDMETHOD(GetCurrentProcessUpTime
)(THIS_ ULONG
*uptime
) PURE
;
2066 STDMETHOD(GetImplicitThreadDataOffset
)(THIS_ ULONG64
*offset
) PURE
;
2067 STDMETHOD(SetImplicitThreadDataOffset
)(THIS_ ULONG64 offset
) PURE
;
2068 STDMETHOD(GetImplicitProcessDataOffset
)(THIS_ ULONG64
*offset
) PURE
;
2069 STDMETHOD(SetImplicitProcessDataOffset
)(THIS_ ULONG64 offset
) PURE
;
2073 #define INTERFACE IDebugSystemObjects3
2074 DECLARE_INTERFACE_(IDebugSystemObjects3
, IUnknown
)
2077 STDMETHOD(QueryInterface
)(THIS_ REFIID riid
, void **out
) PURE
;
2078 STDMETHOD_(ULONG
, AddRef
)(THIS
) PURE
;
2079 STDMETHOD_(ULONG
, Release
)(THIS
) PURE
;
2080 /* IDebugSystemObjects */
2081 STDMETHOD(GetEventThread
)(THIS_ ULONG
*id
) PURE
;
2082 STDMETHOD(GetEventProcess
)(THIS_ ULONG
*id
) PURE
;
2083 STDMETHOD(GetCurrentThreadId
)(THIS_ ULONG
*id
) PURE
;
2084 STDMETHOD(SetCurrentThreadId
)(THIS_ ULONG id
) PURE
;
2085 STDMETHOD(SetCurrentProcessId
)(THIS_ ULONG id
) PURE
;
2086 STDMETHOD(GetNumberThreads
)(THIS_ ULONG
*number
) PURE
;
2087 STDMETHOD(GetTotalNumberThreads
)(THIS_ ULONG
*total
, ULONG
*largest_process
) PURE
;
2088 STDMETHOD(GetThreadIdsByIndex
)(THIS_ ULONG start
, ULONG count
, ULONG
*ids
, ULONG
*sysids
) PURE
;
2089 STDMETHOD(GetThreadIdByProcessor
)(THIS_ ULONG processor
, ULONG
*id
) PURE
;
2090 STDMETHOD(GetCurrentThreadDataOffset
)(THIS_ ULONG64
*offset
) PURE
;
2091 STDMETHOD(GetThreadIdByDataOffset
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2092 STDMETHOD(GetCurrentThreadTeb
)(THIS_ ULONG64
*offset
) PURE
;
2093 STDMETHOD(GetThreadIdByTeb
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2094 STDMETHOD(GetCurrentThreadSystemId
)(THIS_ ULONG
*sysid
) PURE
;
2095 STDMETHOD(GetThreadIdBySystemId
)(THIS_ ULONG sysid
, ULONG
*id
) PURE
;
2096 STDMETHOD(GetCurrentThreadHandle
)(THIS_ ULONG64
*handle
) PURE
;
2097 STDMETHOD(GetThreadIdByHandle
)(THIS_ ULONG64 handle
, ULONG
*id
) PURE
;
2098 STDMETHOD(GetNumberProcesses
)(THIS_ ULONG
*number
) PURE
;
2099 STDMETHOD(GetProcessIdsByIndex
)(THIS_ ULONG start
, ULONG count
, ULONG
*ids
, ULONG
*sysids
) PURE
;
2100 STDMETHOD(GetCurrentProcessDataOffset
)(THIS_ ULONG64
*offset
) PURE
;
2101 STDMETHOD(GetProcessIdByDataOffset
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2102 STDMETHOD(GetCurrentProcessPeb
)(THIS_ ULONG64
*offset
) PURE
;
2103 STDMETHOD(GetProcessIdByPeb
)(THIS_ ULONG64 offset
, ULONG
*id
) PURE
;
2104 STDMETHOD(GetCurrentProcessSystemId
)(THIS_ ULONG
*sysid
) PURE
;
2105 STDMETHOD(GetProcessIdBySystemId
)(THIS_ ULONG sysid
, ULONG
*id
) PURE
;
2106 STDMETHOD(GetCurrentProcessHandle
)(THIS_ ULONG64
*handle
) PURE
;
2107 STDMETHOD(GetProcessIdByHandle
)(THIS_ ULONG64 handle
, ULONG
*id
) PURE
;
2108 STDMETHOD(GetCurrentProcessExecutableName
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*exe_size
) PURE
;
2109 /* IDebugSystemObjects2 */
2110 STDMETHOD(GetCurrentProcessUpTime
)(THIS_ ULONG
*uptime
) PURE
;
2111 STDMETHOD(GetImplicitThreadDataOffset
)(THIS_ ULONG64
*offset
) PURE
;
2112 STDMETHOD(SetImplicitThreadDataOffset
)(THIS_ ULONG64 offset
) PURE
;
2113 STDMETHOD(GetImplicitProcessDataOffset
)(THIS_ ULONG64
*offset
) PURE
;
2114 STDMETHOD(SetImplicitProcessDataOffset
)(THIS_ ULONG64 offset
) PURE
;
2115 /* IDebugSystemObjects3 */
2116 STDMETHOD(GetEventSystem
)(THIS_ ULONG
*id
) PURE
;
2117 STDMETHOD(GetCurrentSystemId
)(THIS_ ULONG
*id
) PURE
;
2118 STDMETHOD(SetCurrentSystemId
)(THIS_ ULONG id
) PURE
;
2119 STDMETHOD(GetNumberSystems
)(THIS_ ULONG
*number
) PURE
;
2120 STDMETHOD(GetSystemIdsByIndex
)(THIS_ ULONG start
, ULONG count
, ULONG
*ids
) PURE
;
2121 STDMETHOD(GetTotalNumberThreadsAndProcesses
)(THIS_ ULONG
*total_threads
, ULONG
*total_processes
,
2122 ULONG
*largest_process_threads
, ULONG
*largest_system_threads
, ULONG
*largest_system_processes
) PURE
;
2123 STDMETHOD(GetCurrentSystemServer
)(THIS_ ULONG64
*server
) PURE
;
2124 STDMETHOD(GetSystemByServer
)(THIS_ ULONG64 server
, ULONG
*id
) PURE
;
2125 STDMETHOD(GetCurrentSystemServerName
)(THIS_
char *buffer
, ULONG buffer_size
, ULONG
*name_size
) PURE
;
2129 HRESULT WINAPI
DebugCreate(REFIID riid
, void **out
);