ReactOS 0.4.17-dev-804-g023d8af
dbgeng.c
Go to the documentation of this file.
1/*
2 * Support for Microsoft Debugging Extension API
3 *
4 * Copyright (C) 2010 Volodymyr Shcherbyna
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#include <stdarg.h>
22
23#define COBJMACROS
24
25#include "windef.h"
26#include "winbase.h"
27#include "winternl.h"
28#include "psapi.h"
29
30#include "initguid.h"
31#include "dbgeng.h"
32
33#include "wine/debug.h"
34#include "wine/list.h"
35
37
38#ifdef __REACTOS__
41#define EnumProcessModulesEx(a, b, c, d, e) EnumProcessModules(a, b, c, d)
42
43#define LIST_MODULES_DEFAULT 0x00
44#define LIST_MODULES_32BIT 0x01
45#endif
46
48{
51};
52
54{
55 struct list entry;
56 unsigned int pid;
57 unsigned int attach_flags;
59 struct
60 {
62 unsigned int loaded;
63 unsigned int unloaded;
67};
68
70{
71 IDebugClient7 IDebugClient_iface;
72 IDebugDataSpaces IDebugDataSpaces_iface;
73 IDebugSymbols3 IDebugSymbols3_iface;
74 IDebugControl4 IDebugControl4_iface;
75 IDebugAdvanced3 IDebugAdvanced3_iface;
76 IDebugSystemObjects IDebugSystemObjects_iface;
79 struct list targets;
80 IDebugEventCallbacks *event_callbacks;
81};
82
84{
86 return NULL;
87
89}
90
91static HRESULT debug_target_return_string(const char *str, char *buffer, unsigned int buffer_size,
92 ULONG *size)
93{
94 unsigned int len = strlen(str), dst_len;
95
96 if (size)
97 *size = len + 1;
98
99 if (buffer && buffer_size)
100 {
101 dst_len = min(len, buffer_size - 1);
102 if (dst_len)
103 memcpy(buffer, str, dst_len);
104 buffer[dst_len] = 0;
105 }
106
107 return len < buffer_size ? S_OK : S_FALSE;
108}
109
111{
112 IMAGE_DOS_HEADER dos = { 0 };
113 WORD machine = 0;
114
115 ReadProcessMemory(target->handle, module, &dos, sizeof(dos), NULL);
117 {
118 ReadProcessMemory(target->handle, (const char *)module + dos.e_lfanew + 4 /* PE signature */, &machine,
119 sizeof(machine), NULL);
120 }
121
122 return machine;
123}
124
126{
127 IMAGE_DOS_HEADER dos = { 0 };
128 DWORD timestamp = 0;
129
130 ReadProcessMemory(target->handle, module, &dos, sizeof(dos), NULL);
132 {
133 ReadProcessMemory(target->handle, (const char *)module + dos.e_lfanew + 4 /* PE signature */ +
134 FIELD_OFFSET(IMAGE_FILE_HEADER, TimeDateStamp), &timestamp, sizeof(timestamp), NULL);
135 }
136
137 return timestamp;
138}
139
141{
142 unsigned int i, count;
145 DWORD needed;
146 BOOL wow64;
147 DWORD filter = LIST_MODULES_DEFAULT;
148#ifdef __REACTOS__
149 (DWORD)filter;
150 (BOOL)wow64;
151#endif
152
153 if (target->modules.initialized)
154 return S_OK;
155
156 if (!target->handle)
157 return E_UNEXPECTED;
158
159 if (sizeof(void*) > sizeof(int) &&
160 IsWow64Process(target->handle, &wow64) &&
161 wow64)
162 filter = LIST_MODULES_32BIT;
163
164 needed = 0;
165 EnumProcessModulesEx(target->handle, NULL, 0, &needed, filter);
166 if (!needed)
167 return E_FAIL;
168
169 count = needed / sizeof(HMODULE);
170
171 if (!(modules = calloc(count, sizeof(*modules))))
172 return E_OUTOFMEMORY;
173
174 if (!(target->modules.info = calloc(count, sizeof(*target->modules.info))))
175 {
176 free(modules);
177 return E_OUTOFMEMORY;
178 }
179
180 if (EnumProcessModulesEx(target->handle, modules, count * sizeof(*modules), &needed, filter))
181 {
182 for (i = 0; i < count; ++i)
183 {
184 if (!GetModuleInformation(target->handle, modules[i], &info, sizeof(info)))
185 {
186 WARN("Failed to get module information, error %ld.\n", GetLastError());
187 continue;
188 }
189
190 target->modules.info[i].params.Base = (ULONG_PTR)info.lpBaseOfDll;
191 target->modules.info[i].params.Size = info.SizeOfImage;
192 target->modules.info[i].params.TimeDateStamp = debug_target_get_module_timestamp(target, modules[i]);
193
194 GetModuleFileNameExA(target->handle, modules[i], target->modules.info[i].image_name,
195 ARRAY_SIZE(target->modules.info[i].image_name));
196 }
197 }
198
200
201 free(modules);
202
203 target->modules.loaded = count;
204 target->modules.unloaded = 0; /* FIXME */
205
206 target->modules.initialized = TRUE;
207
208 return S_OK;
209}
210
211static const struct module_info *debug_target_get_module_info(struct target_process *target, unsigned int i)
212{
214 return NULL;
215
216 if (i >= target->modules.loaded)
217 return NULL;
218
219 return &target->modules.info[i];
220}
221
223{
224 unsigned int i;
225
227 return NULL;
228
229 for (i = 0; i < target->modules.loaded; ++i)
230 {
231 if (target->modules.info[i].params.Base == base)
232 return &target->modules.info[i];
233 }
234
235 return NULL;
236}
237
239{
241
242 if (!target->handle)
243 return;
244
245 if (target->attach_flags & DEBUG_ATTACH_NONINVASIVE)
246 {
247 BOOL resume = !(target->attach_flags & DEBUG_ATTACH_NONINVASIVE_NO_SUSPEND);
248
249 if (resume)
250 {
251 if ((status = NtResumeProcess(target->handle)))
252 WARN("Failed to resume process, status %#lx.\n", status);
253 }
254 }
255
256 CloseHandle(target->handle);
257 target->handle = NULL;
258}
259
260static struct debug_client *impl_from_IDebugClient(IDebugClient7 *iface)
261{
263}
264
265static struct debug_client *impl_from_IDebugDataSpaces(IDebugDataSpaces *iface)
266{
268}
269
270static struct debug_client *impl_from_IDebugSymbols3(IDebugSymbols3 *iface)
271{
273}
274
275static struct debug_client *impl_from_IDebugControl4(IDebugControl4 *iface)
276{
278}
279
280static struct debug_client *impl_from_IDebugAdvanced3(IDebugAdvanced3 *iface)
281{
283}
284
285static struct debug_client *impl_from_IDebugSystemObjects(IDebugSystemObjects *iface)
286{
288}
289
291{
293
294 TRACE("%p, %s, %p.\n", iface, debugstr_guid(riid), obj);
295
296 if (IsEqualIID(riid, &IID_IDebugClient) ||
297 IsEqualIID(riid, &IID_IDebugClient2) ||
298 IsEqualIID(riid, &IID_IDebugClient3) ||
299 IsEqualIID(riid, &IID_IDebugClient4) ||
300 IsEqualIID(riid, &IID_IDebugClient5) ||
301 IsEqualIID(riid, &IID_IDebugClient6) ||
302 IsEqualIID(riid, &IID_IDebugClient7) ||
304 {
305 *obj = iface;
306 }
307 else if (IsEqualIID(riid, &IID_IDebugDataSpaces))
308 {
310 }
311 else if (IsEqualIID(riid, &IID_IDebugSymbols)
312 || IsEqualIID(riid, &IID_IDebugSymbols2)
313 || IsEqualIID(riid, &IID_IDebugSymbols3))
314 {
316 }
317 else if (IsEqualIID(riid, &IID_IDebugControl4)
318 || IsEqualIID(riid, &IID_IDebugControl3)
319 || IsEqualIID(riid, &IID_IDebugControl2)
320 || IsEqualIID(riid, &IID_IDebugControl))
321 {
323 }
324 else if (IsEqualIID(riid, &IID_IDebugAdvanced3)
325 || IsEqualIID(riid, &IID_IDebugAdvanced2)
326 || IsEqualIID(riid, &IID_IDebugAdvanced))
327 {
329 }
330 else if (IsEqualIID(riid, &IID_IDebugSystemObjects))
331 {
333 }
334 else
335 {
336 WARN("Unsupported interface %s.\n", debugstr_guid(riid));
337 *obj = NULL;
338 return E_NOINTERFACE;
339 }
340
341 IUnknown_AddRef((IUnknown *)*obj);
342 return S_OK;
343}
344
345static ULONG STDMETHODCALLTYPE debugclient_AddRef(IDebugClient7 *iface)
346{
349
350 TRACE("%p, refcount %lu.\n", iface, refcount);
351
352 return refcount;
353}
354
356{
357 free(target->modules.info);
358 free(target);
359}
360
361static ULONG STDMETHODCALLTYPE debugclient_Release(IDebugClient7 *iface)
362{
365 struct target_process *cur, *cur2;
366
367 TRACE("%p, refcount %lu.\n", debug_client, refcount);
368
369 if (!refcount)
370 {
372 {
374 list_remove(&cur->entry);
376 }
380 }
381
382 return refcount;
383}
384
385static HRESULT STDMETHODCALLTYPE debugclient_AttachKernel(IDebugClient7 *iface, ULONG flags, const char *options)
386{
387 FIXME("%p, %#lx, %s stub.\n", iface, flags, debugstr_a(options));
388
389 return E_NOTIMPL;
390}
391
393 ULONG buffer_size, ULONG *options_size)
394{
395 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, options_size);
396
397 return E_NOTIMPL;
398}
399
401{
402 FIXME("%p, %s stub.\n", iface, debugstr_a(options));
403
404 return E_NOTIMPL;
405}
406
408 void *reserved)
409{
410 FIXME("%p, %#lx, %s, %p stub.\n", iface, flags, debugstr_a(options), reserved);
411
412 return E_NOTIMPL;
413}
414
415static HRESULT STDMETHODCALLTYPE debugclient_ConnectProcessServer(IDebugClient7 *iface, const char *remote_options,
417{
418 FIXME("%p, %s, %p stub.\n", iface, debugstr_a(remote_options), server);
419
420 return E_NOTIMPL;
421}
422
424{
425 FIXME("%p, %s stub.\n", iface, wine_dbgstr_longlong(server));
426
427 return E_NOTIMPL;
428}
429
431 ULONG *ids, ULONG count, ULONG *actual_count)
432{
433 FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(server), ids, count, actual_count);
434
435 return E_NOTIMPL;
436}
437
439 ULONG64 server, const char *exe_name, ULONG flags, ULONG *id)
440{
441 FIXME("%p, %s, %s, %#lx, %p stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(exe_name), flags, id);
442
443 return E_NOTIMPL;
444}
445
447 ULONG systemid, ULONG flags, char *exe_name, ULONG exe_name_size, ULONG *actual_exe_name_size,
448 char *description, ULONG description_size, ULONG *actual_description_size)
449{
450 FIXME("%p, %s, %lu, %#lx, %p, %lu, %p, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(server), systemid, flags,
451 exe_name, exe_name_size, actual_exe_name_size, description, description_size, actual_description_size);
452
453 return E_NOTIMPL;
454}
455
457{
459 struct target_process *process;
460
461 TRACE("%p, %s, %lu, %#lx.\n", iface, wine_dbgstr_longlong(server), pid, flags);
462
463 if (server)
464 {
465 FIXME("Remote debugging is not supported.\n");
466 return E_NOTIMPL;
467 }
468
469 if (!(process = calloc(1, sizeof(*process))))
470 return E_OUTOFMEMORY;
471
472 process->pid = pid;
473 process->attach_flags = flags;
474
476
477 return S_OK;
478}
479
481 ULONG flags)
482{
483 FIXME("%p, %s, %s, %#lx stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(cmdline), flags);
484
485 return E_NOTIMPL;
486}
487
490{
491 FIXME("%p, %s, %s, %#lx, %lu, %#lx stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(cmdline), create_flags,
493
494 return E_NOTIMPL;
495}
496
498{
499 FIXME("%p, %p stub.\n", iface, options);
500
501 return E_NOTIMPL;
502}
503
505{
506 FIXME("%p, %#lx stub.\n", iface, options);
507
508 return E_NOTIMPL;
509}
510
512{
513 FIXME("%p, %#lx stub.\n", iface, options);
514
515 return E_NOTIMPL;
516}
517
519{
520 FIXME("%p, %#lx stub.\n", iface, options);
521
522 return E_NOTIMPL;
523}
524
525static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFile(IDebugClient7 *iface, const char *filename)
526{
527 FIXME("%p, %s stub.\n", iface, debugstr_a(filename));
528
529 return E_NOTIMPL;
530}
531
533{
534 FIXME("%p, %s, %lu stub.\n", iface, debugstr_a(filename), qualifier);
535
536 return E_NOTIMPL;
537}
538
539static HRESULT STDMETHODCALLTYPE debugclient_ConnectSession(IDebugClient7 *iface, ULONG flags, ULONG history_limit)
540{
541 FIXME("%p, %#lx, %lu stub.\n", iface, flags, history_limit);
542
543 return E_NOTIMPL;
544}
545
546static HRESULT STDMETHODCALLTYPE debugclient_StartServer(IDebugClient7 *iface, const char *options)
547{
548 FIXME("%p, %s stub.\n", iface, debugstr_a(options));
549
550 return E_NOTIMPL;
551}
552
553static HRESULT STDMETHODCALLTYPE debugclient_OutputServers(IDebugClient7 *iface, ULONG output_control,
554 const char *machine, ULONG flags)
555{
556 FIXME("%p, %lu, %s, %#lx stub.\n", iface, output_control, debugstr_a(machine), flags);
557
558 return E_NOTIMPL;
559}
560
562{
563 FIXME("%p stub.\n", iface);
564
565 return E_NOTIMPL;
566}
567
569{
571 struct target_process *target;
572
573 TRACE("%p.\n", iface);
574
576 {
578 }
579
580 return S_OK;
581}
582
584{
585 FIXME("%p, %#lx stub.\n", iface, flags);
586
587 return E_NOTIMPL;
588}
589
591{
592 FIXME("%p, %p stub.\n", iface, code);
593
594 return E_NOTIMPL;
595}
596
598{
599 FIXME("%p, %lu stub.\n", iface, timeout);
600
601 return E_NOTIMPL;
602}
603
605{
606 FIXME("%p, %p stub.\n", iface, client);
607
608 return E_NOTIMPL;
609}
610
612{
613 FIXME("%p, %p stub.\n", iface, client);
614
615 return E_NOTIMPL;
616}
617
618static HRESULT STDMETHODCALLTYPE debugclient_GetInputCallbacks(IDebugClient7 *iface, IDebugInputCallbacks **callbacks)
619{
620 FIXME("%p, %p stub.\n", iface, callbacks);
621
622 return E_NOTIMPL;
623}
624
625static HRESULT STDMETHODCALLTYPE debugclient_SetInputCallbacks(IDebugClient7 *iface, IDebugInputCallbacks *callbacks)
626{
627 FIXME("%p, %p stub.\n", iface, callbacks);
628
629 return E_NOTIMPL;
630}
631
632static HRESULT STDMETHODCALLTYPE debugclient_GetOutputCallbacks(IDebugClient7 *iface, IDebugOutputCallbacks **callbacks)
633{
634 FIXME("%p, %p stub.\n", iface, callbacks);
635
636 return E_NOTIMPL;
637}
638
639static HRESULT STDMETHODCALLTYPE debugclient_SetOutputCallbacks(IDebugClient7 *iface, IDebugOutputCallbacks *callbacks)
640{
641 FIXME("%p, %p stub.\n", iface, callbacks);
642
643 return E_NOTIMPL;
644}
645
647{
648 FIXME("%p, %p stub.\n", iface, mask);
649
650 return E_NOTIMPL;
651}
652
654{
655 FIXME("%p, %#lx stub.\n", iface, mask);
656
657 return E_NOTIMPL;
658}
659
661{
662 FIXME("%p, %p, %p stub.\n", iface, client, mask);
663
664 return E_NOTIMPL;
665}
666
668{
669 FIXME("%p, %p, %#lx stub.\n", iface, client, mask);
670
671 return E_NOTIMPL;
672}
673
674static HRESULT STDMETHODCALLTYPE debugclient_GetOutputWidth(IDebugClient7 *iface, ULONG *columns)
675{
676 FIXME("%p, %p stub.\n", iface, columns);
677
678 return E_NOTIMPL;
679}
680
681static HRESULT STDMETHODCALLTYPE debugclient_SetOutputWidth(IDebugClient7 *iface, ULONG columns)
682{
683 FIXME("%p, %lu stub.\n", iface, columns);
684
685 return E_NOTIMPL;
686}
687
689 ULONG *prefix_size)
690{
691 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, prefix_size);
692
693 return E_NOTIMPL;
694}
695
696static HRESULT STDMETHODCALLTYPE debugclient_SetOutputLinePrefix(IDebugClient7 *iface, const char *prefix)
697{
698 FIXME("%p, %s stub.\n", iface, debugstr_a(prefix));
699
700 return E_NOTIMPL;
701}
702
704 ULONG *identity_size)
705{
706 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, identity_size);
707
708 return E_NOTIMPL;
709}
710
711static HRESULT STDMETHODCALLTYPE debugclient_OutputIdentity(IDebugClient7 *iface, ULONG output_control, ULONG flags,
712 const char *format)
713{
714 FIXME("%p, %lu, %#lx, %s stub.\n", iface, output_control, flags, debugstr_a(format));
715
716 return E_NOTIMPL;
717}
718
719static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacks(IDebugClient7 *iface, IDebugEventCallbacks **callbacks)
720{
722
723 TRACE("%p, %p.\n", iface, callbacks);
724
726 {
727 *callbacks = debug_client->event_callbacks;
728 (*callbacks)->lpVtbl->AddRef(*callbacks);
729 }
730
731 return S_OK;
732}
733
734static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacks(IDebugClient7 *iface, IDebugEventCallbacks *callbacks)
735{
737
738 TRACE("%p, %p.\n", iface, callbacks);
739
742 if ((debug_client->event_callbacks = callbacks))
744
745 return S_OK;
746}
747
749{
750 FIXME("%p stub.\n", iface);
751
752 return E_NOTIMPL;
753}
754
755static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile2(IDebugClient7 *iface, const char *dumpfile, ULONG qualifier,
756 ULONG flags, const char *comment)
757{
758 FIXME("%p, %s, %lu, %#lx, %s.\n", iface, debugstr_a(dumpfile), qualifier, flags, debugstr_a(comment));
759 return E_NOTIMPL;
760}
761
762static HRESULT STDMETHODCALLTYPE debugclient_AddDumpInformationFile(IDebugClient7 *iface, const char *infofile, ULONG type)
763{
764 FIXME("%p, %s, %lu.\n", iface, debugstr_a(infofile), type);
765 return E_NOTIMPL;
766}
767
769{
770 FIXME("%p, %s.\n", iface, wine_dbgstr_longlong(server));
771 return E_NOTIMPL;
772}
773
775{
776 FIXME("%p, %lu.\n", iface, timeout);
777 return E_NOTIMPL;
778}
779
781{
782 FIXME("%p.\n", iface);
783 return E_NOTIMPL;
784}
785
787{
788 FIXME("%p.\n", iface);
789 return E_NOTIMPL;
790}
791
793{
794 FIXME("%p.\n", iface);
795 return E_NOTIMPL;
796}
797
799{
800 FIXME("%p.\n", iface);
801 return E_NOTIMPL;
802}
803
805 const WCHAR *exename, ULONG flags, ULONG *id)
806{
807 FIXME("%p, %s, %s, %#lx, %p.\n", iface, wine_dbgstr_longlong(server), debugstr_w(exename), flags, id);
808 return E_NOTIMPL;
809}
810
812 ULONG flags, WCHAR *exename, ULONG size, ULONG *actualsize, WCHAR *description, ULONG desc_size, ULONG *actual_desc_size)
813{
814 FIXME("%p, %s, %lu, %#lx, %s, %lu, %p, %s, %lu, %p.\n", iface, wine_dbgstr_longlong(server), id, flags, debugstr_w(exename), size,
815 actualsize, debugstr_w(description), desc_size, actual_desc_size );
816 return E_NOTIMPL;
817}
818
820{
821 FIXME("%p, %s, %s, %#lx.\n", iface, wine_dbgstr_longlong(server), debugstr_w(commandline), flags);
822 return E_NOTIMPL;
823}
824
826 ULONG flags, ULONG processid, ULONG attachflags)
827{
828 FIXME("%p, %s, %s, %#lx, %lu, %#lx.\n", iface, wine_dbgstr_longlong(server), debugstr_w(commandline), flags, processid, attachflags);
829 return E_NOTIMPL;
830}
831
833{
834 FIXME("%p, %s, %s.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle));
835 return E_NOTIMPL;
836}
837
840{
841 FIXME("%p, %s, %s, %lu, %#lx, %s.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle),
843 return E_NOTIMPL;
844}
845
848{
849 FIXME("%p, %s, %s, %lu.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle), type);
850 return E_NOTIMPL;
851}
852
854{
855 FIXME("%p, %p.\n", iface, count);
856 return E_NOTIMPL;
857}
858
859static HRESULT STDMETHODCALLTYPE debugclient_GetDumpFile(IDebugClient7 *iface, ULONG index, char *buffer, ULONG buf_size,
860 ULONG *name_size, ULONG64 *handle, ULONG *type)
861{
862 FIXME("%p, %lu, %p, %lu, %p, %p, %p.\n", iface, index, buffer, buf_size, name_size, handle, type);
863 return E_NOTIMPL;
864}
865
867 ULONG *name_size, ULONG64 *handle, ULONG *type)
868{
869 FIXME("%p, %lu, %p, %lu, %p, %p, %p.\n", iface, index, buffer, buf_size, name_size, handle, type);
870 return E_NOTIMPL;
871}
872
874{
875 FIXME("%p, %#lx, %s.\n", iface, flags, debugstr_w(options));
876 return E_NOTIMPL;
877}
878
880 ULONG buf_size, ULONG *size)
881{
882 FIXME("%p, %p, %lu, %p.\n", iface, buffer, buf_size, size);
883 return E_NOTIMPL;
884}
885
887{
888 FIXME("%p, %p.\n", iface, options);
889 return E_NOTIMPL;
890}
891
893{
894 FIXME("%p, %#lx, %s, %p.\n", iface, flags, debugstr_w(options), reserved);
895 return E_NOTIMPL;
896}
897
899{
900 FIXME("%p, %s, %p.\n", iface, debugstr_w(options), server);
901 return E_NOTIMPL;
902}
903
905{
906 FIXME("%p, %s.\n", iface, debugstr_w(options));
907 return E_NOTIMPL;
908}
909
911{
912 FIXME("%p, %lu, %s, %#lx.\n", iface, control, debugstr_w(machine), flags);
913 return E_NOTIMPL;
914}
915
916static HRESULT STDMETHODCALLTYPE debugclient_GetOutputCallbacksWide(IDebugClient7 *iface, IDebugOutputCallbacksWide **callbacks)
917{
918 FIXME("%p, %p.\n", iface, callbacks);
919 return E_NOTIMPL;
920}
921
922static HRESULT STDMETHODCALLTYPE debugclient_SetOutputCallbacksWide(IDebugClient7 *iface, IDebugOutputCallbacksWide *callbacks)
923{
924 FIXME("%p, %p.\n", iface, callbacks);
925 return E_NOTIMPL;
926}
927
929{
930 FIXME("%p, %p, %lu, %p.\n", iface, buffer, buf_size, size);
931 return E_NOTIMPL;
932}
933
935{
936 FIXME("%p, %s.\n", iface, debugstr_w(prefix));
937 return E_NOTIMPL;
938}
939
941{
942 FIXME("%p, %p, %lu, %p.\n", iface, buffer, buf_size, identity);
943 return E_NOTIMPL;
944}
945
947{
948 FIXME("%p, %ld, %#lx, %s.\n", iface, control, flags, debugstr_w(format));
949 return E_NOTIMPL;
950}
951
952static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacksWide(IDebugClient7 *iface, IDebugEventCallbacksWide **callbacks)
953{
954 FIXME("%p, %p .\n", iface, callbacks);
955 return E_NOTIMPL;
956}
957
958static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacksWide(IDebugClient7 *iface, IDebugEventCallbacksWide *callbacks)
959{
960 FIXME("%p .\n", iface);
961 return E_NOTIMPL;
962}
963
965 ULONG buf_size, const char *initial, const char *environment)
966{
967 FIXME("%p, %s, %s, %p, %ld, %s, %s.\n", iface, wine_dbgstr_longlong(server), debugstr_a(command), options,
968 buf_size, debugstr_a(initial), debugstr_a(environment));
969 return E_NOTIMPL;
970}
971
973 ULONG size, const WCHAR *initial, const WCHAR *environment)
974{
975 FIXME("%p, %s, %s, %p, %ld, %s, %s.\n", iface, wine_dbgstr_longlong(server), debugstr_w(command), options,
976 size, debugstr_w(initial), debugstr_w(environment));
977 return E_NOTIMPL;
978}
979
981 void *options, ULONG buf_size, const char *initial, const char *environment, ULONG processid, ULONG flags)
982{
983 FIXME("%p, %s, %s, %p, %ld, %s, %s, %ld, %#lx.\n", iface, wine_dbgstr_longlong(server), debugstr_a(command), options,
984 buf_size, debugstr_a(initial), debugstr_a(environment), processid, flags);
985 return E_NOTIMPL;
986}
987
989 void *buffer, ULONG buf_size, const WCHAR *initial, const WCHAR *environment, ULONG processid, ULONG flags)
990{
991 FIXME("%p %s, %s, %p, %ld, %s, %s, %ld, %#lx.\n", iface, wine_dbgstr_longlong(server), debugstr_w(command), buffer,
992 buf_size, debugstr_w(initial), debugstr_w(environment), processid, flags);
993 return E_NOTIMPL;
994}
995
997{
998 FIXME("%p, %p.\n", iface, handle);
999 return E_NOTIMPL;
1000}
1001
1003{
1004 FIXME("%p, %p.\n", iface, handle);
1005 return E_NOTIMPL;
1006}
1007
1009{
1010 FIXME("%p, %s.\n", iface, wine_dbgstr_longlong(handle));
1011 return E_NOTIMPL;
1012}
1013
1015{
1016 FIXME("%p, %p.\n", iface, count);
1017 return E_NOTIMPL;
1018}
1019
1021{
1022 FIXME("%p, %p.\n", iface, count);
1023 return E_NOTIMPL;
1024}
1025
1027{
1028 FIXME("%p, %#lx, %p.\n", iface, flags, count);
1029 return E_NOTIMPL;
1030}
1031
1032static HRESULT STDMETHODCALLTYPE debugclient_GetQuitLockString(IDebugClient7 *iface, char *buffer, ULONG buf_size, ULONG *size)
1033{
1034 FIXME("%p, %s, %ld, %p.\n", iface, debugstr_a(buffer), buf_size, size);
1035 return E_NOTIMPL;
1036}
1037
1038static HRESULT STDMETHODCALLTYPE debugclient_SetQuitLockString(IDebugClient7 *iface, char *string)
1039{
1040 FIXME("%p, %s.\n", iface, debugstr_a(string));
1041 return E_NOTIMPL;
1042}
1043
1045{
1046 FIXME("%p, %s, %ld, %p.\n", iface, debugstr_w(buffer), buf_size, size);
1047 return E_NOTIMPL;
1048}
1049
1050static HRESULT STDMETHODCALLTYPE debugclient_SetQuitLockStringWide(IDebugClient7 *iface, const WCHAR *string)
1051{
1052 FIXME("%p, %s.\n", iface, debugstr_w(string));
1053 return E_NOTIMPL;
1054}
1055
1056static HRESULT STDMETHODCALLTYPE debugclient_SetEventContextCallbacks(IDebugClient7 *iface, IDebugEventContextCallbacks *callbacks)
1057{
1058 FIXME("%p, %p.\n", iface, callbacks);
1059 return E_NOTIMPL;
1060}
1061
1063{
1064 FIXME("%p, %p, %ld.\n", iface, context, size);
1065 return E_NOTIMPL;
1066}
1067
1068static const IDebugClient7Vtbl debugclientvtbl =
1069{
1118 /* IDebugClient2 */
1127 /* IDebugClient3 */
1132 /* IDebugClient4 */
1139 /* IDebugClient5 */
1169 /* IDebugClient6 */
1171 /* IDebugClient7 */
1173};
1174
1176{
1178 return IUnknown_QueryInterface(&debug_client->IDebugClient_iface, riid, obj);
1179}
1180
1181static ULONG STDMETHODCALLTYPE debugdataspaces_AddRef(IDebugDataSpaces *iface)
1182{
1184 return IUnknown_AddRef(&debug_client->IDebugClient_iface);
1185}
1186
1187static ULONG STDMETHODCALLTYPE debugdataspaces_Release(IDebugDataSpaces *iface)
1188{
1190 return IUnknown_Release(&debug_client->IDebugClient_iface);
1191}
1192
1194 ULONG buffer_size, ULONG *read_len)
1195{
1197 static struct target_process *target;
1198 HRESULT hr = S_OK;
1199 SIZE_T length;
1200
1201 TRACE("%p, %s, %p, %lu, %p.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
1202
1204 return E_UNEXPECTED;
1205
1206 if (ReadProcessMemory(target->handle, (const void *)(ULONG_PTR)offset, buffer, buffer_size, &length))
1207 {
1208 if (read_len)
1209 *read_len = length;
1210 }
1211 else
1212 {
1214 WARN("Failed to read process memory %#lx.\n", hr);
1215 }
1216
1217 return hr;
1218}
1219
1221 ULONG buffer_size, ULONG *written)
1222{
1223 FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
1224
1225 return E_NOTIMPL;
1226}
1227
1229 void *pattern, ULONG pattern_size, ULONG pattern_granularity, ULONG64 *ret_offset)
1230{
1231 FIXME("%p, %s, %s, %p, %lu, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(length),
1232 pattern, pattern_size, pattern_granularity, ret_offset);
1233
1234 return E_NOTIMPL;
1235}
1236
1238 void *buffer, ULONG buffer_size, ULONG *read_len)
1239{
1240 FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
1241
1242 return E_NOTIMPL;
1243}
1244
1246 void *buffer, ULONG buffer_size, ULONG *written)
1247{
1248 FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
1249
1250 return E_NOTIMPL;
1251}
1252
1254 ULONG64 offset, ULONG64 *pointers)
1255{
1256 FIXME("%p, %lu, %s, %p stub.\n", iface, count, wine_dbgstr_longlong(offset), pointers);
1257
1258 return E_NOTIMPL;
1259}
1260
1262 ULONG64 offset, ULONG64 *pointers)
1263{
1264 FIXME("%p, %lu, %s, %p stub.\n", iface, count, wine_dbgstr_longlong(offset), pointers);
1265
1266 return E_NOTIMPL;
1267}
1268
1270 ULONG buffer_size, ULONG *read_len)
1271{
1272 FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
1273
1274 return E_NOTIMPL;
1275}
1276
1278 ULONG buffer_size, ULONG *written)
1279{
1280 FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
1281
1282 return E_NOTIMPL;
1283}
1284
1286 void *buffer, ULONG buffer_size, ULONG *read_len)
1287{
1288 FIXME("%p, %lu, %s, %p, %lu, %p stub.\n", iface, processor, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
1289
1290 return E_NOTIMPL;
1291}
1292
1294 void *buffer, ULONG buffer_size, ULONG *written)
1295{
1296 FIXME("%p, %lu, %s, %p, %lu, %p stub.\n", iface, processor, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
1297
1298 return E_NOTIMPL;
1299}
1300
1301static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadIo(IDebugDataSpaces *iface, ULONG type, ULONG bus_number,
1303{
1304 FIXME("%p, %lu, %lu, %lu, %s, %p, %lu, %p stub.\n", iface, type, bus_number, address_space, wine_dbgstr_longlong(offset),
1305 buffer, buffer_size, read_len);
1306
1307 return E_NOTIMPL;
1308}
1309
1310static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteIo(IDebugDataSpaces *iface, ULONG type, ULONG bus_number,
1312{
1313 FIXME("%p, %lu, %lu, %lu, %s, %p, %lu, %p stub.\n", iface, type, bus_number, address_space, wine_dbgstr_longlong(offset),
1314 buffer, buffer_size, written);
1315
1316 return E_NOTIMPL;
1317}
1318
1320{
1321 FIXME("%p, %lu, %p stub.\n", iface, msr, value);
1322
1323 return E_NOTIMPL;
1324}
1325
1327{
1328 FIXME("%p, %lu, %s stub.\n", iface, msr, wine_dbgstr_longlong(value));
1329
1330 return E_NOTIMPL;
1331}
1332
1333static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadBusData(IDebugDataSpaces *iface, ULONG data_type,
1334 ULONG bus_number, ULONG slot_number, ULONG offset, void *buffer, ULONG buffer_size, ULONG *read_len)
1335{
1336 FIXME("%p, %lu, %lu, %lu, %lu, %p, %lu, %p stub.\n", iface, data_type, bus_number, slot_number, offset, buffer,
1337 buffer_size, read_len);
1338
1339 return E_NOTIMPL;
1340}
1341
1342static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteBusData(IDebugDataSpaces *iface, ULONG data_type,
1343 ULONG bus_number, ULONG slot_number, ULONG offset, void *buffer, ULONG buffer_size, ULONG *written)
1344{
1345 FIXME("%p, %lu, %lu, %lu, %lu, %p, %lu, %p stub.\n", iface, data_type, bus_number, slot_number, offset, buffer,
1346 buffer_size, written);
1347
1348 return E_NOTIMPL;
1349}
1350
1352{
1353 FIXME("%p stub.\n", iface);
1354
1355 return E_NOTIMPL;
1356}
1357
1359 ULONG buffer_size, ULONG *data_size)
1360{
1361 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, data_size);
1362
1363 return E_NOTIMPL;
1364}
1365
1367 ULONG index, void *buffer, ULONG buffer_size, ULONG *data_size)
1368{
1369 FIXME("%p, %lu, %lu, %p, %lu, %p stub.\n", iface, processor, index, buffer, buffer_size, data_size);
1370
1371 return E_NOTIMPL;
1372}
1373
1374static const IDebugDataSpacesVtbl debugdataspacesvtbl =
1375{
1399};
1400
1402{
1404 return IUnknown_QueryInterface(&debug_client->IDebugClient_iface, riid, obj);
1405}
1406
1407static ULONG STDMETHODCALLTYPE debugsymbols_AddRef(IDebugSymbols3 *iface)
1408{
1410 return IUnknown_AddRef(&debug_client->IDebugClient_iface);
1411}
1412
1413static ULONG STDMETHODCALLTYPE debugsymbols_Release(IDebugSymbols3 *iface)
1414{
1416 return IUnknown_Release(&debug_client->IDebugClient_iface);
1417}
1418
1420{
1421 FIXME("%p, %p stub.\n", iface, options);
1422
1423 return E_NOTIMPL;
1424}
1425
1427{
1428 FIXME("%p, %#lx stub.\n", iface, options);
1429
1430 return E_NOTIMPL;
1431}
1432
1434{
1435 FIXME("%p, %#lx stub.\n", iface, options);
1436
1437 return E_NOTIMPL;
1438}
1439
1441{
1442 FIXME("%p, %#lx stub.\n", iface, options);
1443
1444 return E_NOTIMPL;
1445}
1446
1448 ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
1449{
1450 FIXME("%p, %s, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size,
1451 name_size, displacement);
1452
1453 return E_NOTIMPL;
1454}
1455
1456static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByName(IDebugSymbols3 *iface, const char *symbol,
1457 ULONG64 *offset)
1458{
1459 FIXME("%p, %s, %p stub.\n", iface, debugstr_a(symbol), offset);
1460
1461 return E_NOTIMPL;
1462}
1463
1465 char *buffer, ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
1466{
1467 FIXME("%p, %s, %ld, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), delta, buffer, buffer_size,
1468 name_size, displacement);
1469
1470 return E_NOTIMPL;
1471}
1472
1474 char *buffer, ULONG buffer_size, ULONG *file_size, ULONG64 *displacement)
1475{
1476 FIXME("%p, %s, %p, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), line, buffer, buffer_size,
1477 file_size, displacement);
1478
1479 return E_NOTIMPL;
1480}
1481
1482static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByLine(IDebugSymbols3 *iface, ULONG line, const char *file,
1483 ULONG64 *offset)
1484{
1485 FIXME("%p, %lu, %s, %p stub.\n", iface, line, debugstr_a(file), offset);
1486
1487 return E_NOTIMPL;
1488}
1489
1491{
1493 static struct target_process *target;
1494 HRESULT hr;
1495
1496 TRACE("%p, %p, %p.\n", iface, loaded, unloaded);
1497
1499 return E_UNEXPECTED;
1500
1502 return hr;
1503
1504 *loaded = target->modules.loaded;
1505 *unloaded = target->modules.unloaded;
1506
1507 return S_OK;
1508}
1509
1511{
1513 const struct module_info *info;
1514 struct target_process *target;
1515
1516 TRACE("%p, %lu, %p.\n", iface, index, base);
1517
1519 return E_UNEXPECTED;
1520
1522 return E_INVALIDARG;
1523
1524 *base = info->params.Base;
1525
1526 return S_OK;
1527}
1528
1529static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleName(IDebugSymbols3 *iface, const char *name,
1530 ULONG start_index, ULONG *index, ULONG64 *base)
1531{
1532 FIXME("%p, %s, %lu, %p, %p stub.\n", iface, debugstr_a(name), start_index, index, base);
1533
1534 return E_NOTIMPL;
1535}
1536
1538 ULONG start_index, ULONG *index, ULONG64 *base)
1539{
1541 static struct target_process *target;
1542 const struct module_info *info;
1543
1544 TRACE("%p, %s, %lu, %p, %p.\n", iface, wine_dbgstr_longlong(offset), start_index, index, base);
1545
1547 return E_UNEXPECTED;
1548
1549 while ((info = debug_target_get_module_info(target, start_index)))
1550 {
1551 if (offset >= info->params.Base && offset < info->params.Base + info->params.Size)
1552 {
1553 if (index)
1554 *index = start_index;
1555 if (base)
1556 *base = info->params.Base;
1557 return S_OK;
1558 }
1559
1560 start_index++;
1561 }
1562
1563 return E_INVALIDARG;
1564}
1565
1567 char *image_name, ULONG image_name_buffer_size, ULONG *image_name_size, char *module_name,
1568 ULONG module_name_buffer_size, ULONG *module_name_size, char *loaded_image_name,
1569 ULONG loaded_image_name_buffer_size, ULONG *loaded_image_size)
1570{
1571 FIXME("%p, %lu, %s, %p, %lu, %p, %p, %lu, %p, %p, %lu, %p stub.\n", iface, index, wine_dbgstr_longlong(base),
1572 image_name, image_name_buffer_size, image_name_size, module_name, module_name_buffer_size,
1573 module_name_size, loaded_image_name, loaded_image_name_buffer_size, loaded_image_size);
1574
1575 return E_NOTIMPL;
1576}
1577
1580{
1582 const struct module_info *info;
1583 struct target_process *target;
1584 unsigned int i;
1585
1586 TRACE("%p, %lu, %p, %lu, %p.\n", iface, count, bases, start, params);
1587
1589 return E_UNEXPECTED;
1590
1591 if (bases)
1592 {
1593 for (i = 0; i < count; ++i)
1594 {
1596 {
1597 params[i] = info->params;
1598 }
1599 else
1600 {
1601 memset(&params[i], 0, sizeof(*params));
1603 }
1604 }
1605 }
1606 else
1607 {
1608 for (i = start; i < start + count; ++i)
1609 {
1611 return E_INVALIDARG;
1612 params[i] = info->params;
1613 }
1614 }
1615
1616 return S_OK;
1617}
1618
1619static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolModule(IDebugSymbols3 *iface, const char *symbol, ULONG64 *base)
1620{
1621 FIXME("%p, %s, %p stub.\n", iface, debugstr_a(symbol), base);
1622
1623 return E_NOTIMPL;
1624}
1625
1627 char *buffer, ULONG buffer_size, ULONG *name_size)
1628{
1629 FIXME("%p, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(base), type_id, buffer,
1630 buffer_size, name_size);
1631
1632 return E_NOTIMPL;
1633}
1634
1635static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeId(IDebugSymbols3 *iface, ULONG64 base, const char *name,
1636 ULONG *type_id)
1637{
1638 FIXME("%p, %s, %s, %p stub.\n", iface, wine_dbgstr_longlong(base), debugstr_a(name), type_id);
1639
1640 return E_NOTIMPL;
1641}
1642
1644 ULONG *size)
1645{
1646 FIXME("%p, %s, %lu, %p stub.\n", iface, wine_dbgstr_longlong(base), type_id, size);
1647
1648 return E_NOTIMPL;
1649}
1650
1652 const char *field, ULONG *offset)
1653{
1654 FIXME("%p, %s, %lu, %s, %p stub.\n", iface, wine_dbgstr_longlong(base), type_id, debugstr_a(field), offset);
1655
1656 return E_NOTIMPL;
1657}
1658
1659static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolTypeId(IDebugSymbols3 *iface, const char *symbol, ULONG *type_id,
1660 ULONG64 *base)
1661{
1662 FIXME("%p, %s, %p, %p stub.\n", iface, debugstr_a(symbol), type_id, base);
1663
1664 return E_NOTIMPL;
1665}
1666
1668 ULONG64 *base)
1669{
1670 FIXME("%p, %s, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), type_id, base);
1671
1672 return E_NOTIMPL;
1673}
1674
1676 ULONG type_id, void *buffer, ULONG buffer_size, ULONG *read_len)
1677{
1678 FIXME("%p, %s, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
1679 type_id, buffer, buffer_size, read_len);
1680
1681 return E_NOTIMPL;
1682}
1683
1685 ULONG type_id, void *buffer, ULONG buffer_size, ULONG *written)
1686{
1687 FIXME("%p, %s, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
1688 type_id, buffer, buffer_size, written);
1689
1690 return E_NOTIMPL;
1691}
1692
1693static HRESULT STDMETHODCALLTYPE debugsymbols_OutputTypedDataVirtual(IDebugSymbols3 *iface, ULONG output_control,
1695{
1696 FIXME("%p, %#lx, %s, %s, %lu, %#lx stub.\n", iface, output_control, wine_dbgstr_longlong(offset),
1698
1699 return E_NOTIMPL;
1700}
1701
1703 ULONG type_id, void *buffer, ULONG buffer_size, ULONG *read_len)
1704{
1705 FIXME("%p, %s, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
1706 type_id, buffer, buffer_size, read_len);
1707
1708 return E_NOTIMPL;
1709}
1710
1713{
1714 FIXME("%p, %s, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
1715 type_id, buffer, buffer_size, written);
1716
1717 return E_NOTIMPL;
1718}
1719
1720static HRESULT STDMETHODCALLTYPE debugsymbols_OutputTypedDataPhysical(IDebugSymbols3 *iface, ULONG output_control,
1722{
1723 FIXME("%p, %#lx, %s, %s, %lu, %#lx stub.\n", iface, output_control, wine_dbgstr_longlong(offset),
1725
1726 return E_NOTIMPL;
1727}
1728
1729static HRESULT STDMETHODCALLTYPE debugsymbols_GetScope(IDebugSymbols3 *iface, ULONG64 *instr_offset,
1730 DEBUG_STACK_FRAME *frame, void *scope_context, ULONG scope_context_size)
1731{
1732 FIXME("%p, %p, %p, %p, %lu stub.\n", iface, instr_offset, frame, scope_context, scope_context_size);
1733
1734 return E_NOTIMPL;
1735}
1736
1737static HRESULT STDMETHODCALLTYPE debugsymbols_SetScope(IDebugSymbols3 *iface, ULONG64 instr_offset,
1738 DEBUG_STACK_FRAME *frame, void *scope_context, ULONG scope_context_size)
1739{
1740 FIXME("%p, %s, %p, %p, %lu stub.\n", iface, wine_dbgstr_longlong(instr_offset), frame, scope_context,
1741 scope_context_size);
1742
1743 return E_NOTIMPL;
1744}
1745
1747{
1748 FIXME("%p stub.\n", iface);
1749
1750 return E_NOTIMPL;
1751}
1752
1754 IDebugSymbolGroup *update, IDebugSymbolGroup **symbols)
1755{
1756 FIXME("%p, %#lx, %p, %p stub.\n", iface, flags, update, symbols);
1757
1758 return E_NOTIMPL;
1759}
1760
1761static HRESULT STDMETHODCALLTYPE debugsymbols_CreateSymbolGroup(IDebugSymbols3 *iface, IDebugSymbolGroup **group)
1762{
1763 FIXME("%p, %p stub.\n", iface, group);
1764
1765 return E_NOTIMPL;
1766}
1767
1768static HRESULT STDMETHODCALLTYPE debugsymbols_StartSymbolMatch(IDebugSymbols3 *iface, const char *pattern,
1769 ULONG64 *handle)
1770{
1771 FIXME("%p, %s, %p stub.\n", iface, pattern, handle);
1772
1773 return E_NOTIMPL;
1774}
1775
1777 ULONG buffer_size, ULONG *match_size, ULONG64 *offset)
1778{
1779 FIXME("%p, %s, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(handle), buffer, buffer_size, match_size, offset);
1780
1781 return E_NOTIMPL;
1782}
1783
1785{
1786 FIXME("%p, %s stub.\n", iface, wine_dbgstr_longlong(handle));
1787
1788 return E_NOTIMPL;
1789}
1790
1791static HRESULT STDMETHODCALLTYPE debugsymbols_Reload(IDebugSymbols3 *iface, const char *path)
1792{
1793 FIXME("%p, %s stub.\n", iface, debugstr_a(path));
1794
1795 return E_NOTIMPL;
1796}
1797
1799 ULONG *path_size)
1800{
1801 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
1802
1803 return E_NOTIMPL;
1804}
1805
1806static HRESULT STDMETHODCALLTYPE debugsymbols_SetSymbolPath(IDebugSymbols3 *iface, const char *path)
1807{
1808 FIXME("%p, %s stub.\n", iface, debugstr_a(path));
1809
1810 return E_NOTIMPL;
1811}
1812
1813static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSymbolPath(IDebugSymbols3 *iface, const char *path)
1814{
1815 FIXME("%p, %s stub.\n", iface, debugstr_a(path));
1816
1817 return E_NOTIMPL;
1818}
1819
1821 ULONG *path_size)
1822{
1823 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
1824
1825 return E_NOTIMPL;
1826}
1827
1828static HRESULT STDMETHODCALLTYPE debugsymbols_SetImagePath(IDebugSymbols3 *iface, const char *path)
1829{
1830 FIXME("%p, %s stub.\n", iface, debugstr_a(path));
1831
1832 return E_NOTIMPL;
1833}
1834
1835static HRESULT STDMETHODCALLTYPE debugsymbols_AppendImagePath(IDebugSymbols3 *iface, const char *path)
1836{
1837 FIXME("%p, %s stub.\n", iface, debugstr_a(path));
1838
1839 return E_NOTIMPL;
1840}
1841
1843 ULONG *path_size)
1844{
1845 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
1846
1847 return E_NOTIMPL;
1848}
1849
1852{
1853 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, element_size);
1854
1855 return E_NOTIMPL;
1856}
1857
1858static HRESULT STDMETHODCALLTYPE debugsymbols_SetSourcePath(IDebugSymbols3 *iface, const char *path)
1859{
1860 FIXME("%p, %s stub.\n", iface, debugstr_a(path));
1861
1862 return E_NOTIMPL;
1863}
1864
1865static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSourcePath(IDebugSymbols3 *iface, const char *path)
1866{
1867 FIXME("%p, %s stub.\n", iface, debugstr_a(path));
1868
1869 return E_NOTIMPL;
1870}
1871
1872static HRESULT STDMETHODCALLTYPE debugsymbols_FindSourceFile(IDebugSymbols3 *iface, ULONG start, const char *file,
1873 ULONG flags, ULONG *found_element, char *buffer, ULONG buffer_size, ULONG *found_size)
1874{
1875 FIXME("%p, %lu, %s, %#lx, %p, %p, %lu, %p stub.\n", iface, start, debugstr_a(file), flags, found_element, buffer,
1876 buffer_size, found_size);
1877
1878 return E_NOTIMPL;
1879}
1880
1882 ULONG64 *buffer, ULONG buffer_lines, ULONG *file_lines)
1883{
1884 FIXME("%p, %s, %p, %lu, %p stub.\n", iface, debugstr_a(file), buffer, buffer_lines, file_lines);
1885
1886 return E_NOTIMPL;
1887}
1888
1890 ULONG64 base, const char *item, void *buffer, ULONG buffer_size, ULONG *info_size)
1891{
1893 const struct module_info *info;
1894 struct target_process *target;
1895 void *version_info, *ptr;
1896 HRESULT hr = E_FAIL;
1897 DWORD handle;
1898 UINT size;
1899
1900 TRACE("%p, %lu, %s, %s, %p, %lu, %p.\n", iface, index, wine_dbgstr_longlong(base), debugstr_a(item), buffer,
1901 buffer_size, info_size);
1902
1904 return E_UNEXPECTED;
1905
1906 if (index == DEBUG_ANY_ID)
1908 else
1910
1911 if (!info)
1912 {
1913 WARN("Was unable to locate module.\n");
1914 return E_INVALIDARG;
1915 }
1916
1917 if (!(size = GetFileVersionInfoSizeA(info->image_name, &handle)))
1918 return E_FAIL;
1919
1920 if (!(version_info = malloc(size)))
1921 return E_OUTOFMEMORY;
1922
1923 if (GetFileVersionInfoA(info->image_name, handle, size, version_info))
1924 {
1926 {
1927 if (info_size)
1928 *info_size = size;
1929
1930 if (buffer && buffer_size)
1931 {
1932 unsigned int dst_len = min(size, buffer_size);
1933 if (dst_len)
1934 memcpy(buffer, ptr, dst_len);
1935 }
1936
1937 hr = buffer && buffer_size < size ? S_FALSE : S_OK;
1938 }
1939 }
1940
1942
1943 return hr;
1944}
1945
1947 ULONG64 base, char *buffer, ULONG buffer_size, ULONG *name_size)
1948{
1950 const struct module_info *info;
1951 struct target_process *target;
1952 HRESULT hr;
1953
1954 TRACE("%p, %lu, %lu, %s, %p, %lu, %p.\n", iface, which, index, wine_dbgstr_longlong(base), buffer, buffer_size,
1955 name_size);
1956
1958 return E_UNEXPECTED;
1959
1960 if (index == DEBUG_ANY_ID)
1962 else
1964
1965 if (!info)
1966 {
1967 WARN("Was unable to locate module.\n");
1968 return E_INVALIDARG;
1969 }
1970
1971 switch (which)
1972 {
1974 hr = debug_target_return_string(info->image_name, buffer, buffer_size, name_size);
1975 break;
1980 FIXME("Unsupported name info %ld.\n", which);
1981 return E_NOTIMPL;
1982 default:
1983 WARN("Unknown name info %ld.\n", which);
1984 return E_INVALIDARG;
1985 }
1986
1987 return hr;
1988}
1989
1991 ULONG64 value, char *buffer, ULONG buffer_size, ULONG *name_size)
1992{
1993 FIXME("%p, %s, %lu, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id,
1995
1996 return E_NOTIMPL;
1997}
1998
2000 ULONG field_index, char *buffer, ULONG buffer_size, ULONG *name_size)
2001{
2002 FIXME("%p, %s, %lu, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, field_index, buffer,
2003 buffer_size, name_size);
2004
2005 return E_NOTIMPL;
2006}
2007
2009{
2010 FIXME("%p, %p stub.\n", iface, options);
2011
2012 return E_NOTIMPL;
2013}
2014
2016{
2017 FIXME("%p, %#lx stub.\n", iface, options);
2018
2019 return E_NOTIMPL;
2020}
2021
2023{
2024 FIXME("%p, %#lx stub.\n", iface, options);
2025
2026 return E_NOTIMPL;
2027}
2028
2030{
2031 FIXME("%p, %#lx stub.\n", iface, options);
2032
2033 return E_NOTIMPL;
2034}
2035
2037 ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
2038{
2039 FIXME("%p, %s, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, name_size,
2040 displacement);
2041
2042 return E_NOTIMPL;
2043}
2044
2045static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByNameWide(IDebugSymbols3 *iface, const WCHAR *symbol,
2046 ULONG64 *offset)
2047{
2048 FIXME("%p, %s, %p stub.\n", iface, debugstr_w(symbol), offset);
2049
2050 return E_NOTIMPL;
2051}
2052
2054 LONG delta, WCHAR *buffer, ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
2055{
2056 FIXME("%p, %s, %ld, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), delta, buffer, buffer_size,
2057 name_size, displacement);
2058
2059 return E_NOTIMPL;
2060}
2061
2063 WCHAR *buffer, ULONG buffer_size, ULONG *file_size, ULONG64 *displacement)
2064{
2065 FIXME("%p, %s, %p, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), line, buffer, buffer_size,
2066 file_size, displacement);
2067
2068 return E_NOTIMPL;
2069}
2070
2072 ULONG64 *offset)
2073{
2074 FIXME("%p, %lu, %s, %p stub.\n", iface, line, debugstr_w(file), offset);
2075
2076 return E_NOTIMPL;
2077}
2078
2080 ULONG start_index, ULONG *index, ULONG64 *base)
2081{
2082 FIXME("%p, %s, %lu, %p, %p stub.\n", iface, debugstr_w(name), start_index, index, base);
2083
2084 return E_NOTIMPL;
2085}
2086
2087static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolModuleWide(IDebugSymbols3 *iface, const WCHAR *symbol,
2088 ULONG64 *base)
2089{
2090 FIXME("%p, %s, %p stub.\n", iface, debugstr_w(symbol), base);
2091
2092 return E_NOTIMPL;
2093}
2094
2096 WCHAR *buffer, ULONG buffer_size, ULONG *name_size)
2097{
2098 FIXME("%p, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, buffer, buffer_size,
2099 name_size);
2100
2101 return E_NOTIMPL;
2102}
2103
2105 ULONG *type_id)
2106{
2107 FIXME("%p, %s, %s, %p stub.\n", iface, wine_dbgstr_longlong(module), debugstr_w(name), type_id);
2108
2109 return E_NOTIMPL;
2110}
2111
2113 const WCHAR *field, ULONG *offset)
2114{
2115 FIXME("%p, %s, %lu, %s, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, debugstr_w(field), offset);
2116
2117 return E_NOTIMPL;
2118}
2119
2120static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolTypeIdWide(IDebugSymbols3 *iface, const WCHAR *symbol,
2122{
2123 FIXME("%p, %s, %p, %p stub.\n", iface, debugstr_w(symbol), type_id, module);
2124
2125 return E_NOTIMPL;
2126}
2127
2130{
2131 FIXME("%p, %#lx, %p, %p stub.\n", iface, flags, update, symbols);
2132
2133 return E_NOTIMPL;
2134}
2135
2137{
2138 FIXME("%p, %p stub.\n", iface, group);
2139
2140 return E_NOTIMPL;
2141}
2142
2144 ULONG64 *handle)
2145{
2146 FIXME("%p, %s, %p stub.\n", iface, debugstr_w(pattern), handle);
2147
2148 return E_NOTIMPL;
2149}
2150
2152 WCHAR *buffer, ULONG buffer_size, ULONG *match_size, ULONG64 *offset)
2153{
2154 FIXME("%p, %s, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(handle), buffer, buffer_size, match_size, offset);
2155
2156 return E_NOTIMPL;
2157}
2158
2159static HRESULT STDMETHODCALLTYPE debugsymbols_ReloadWide(IDebugSymbols3 *iface, const WCHAR *module)
2160{
2161 FIXME("%p, %s stub.\n", iface, debugstr_w(module));
2162
2163 return E_NOTIMPL;
2164}
2165
2167 ULONG *path_size)
2168{
2169 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
2170
2171 return E_NOTIMPL;
2172}
2173
2175{
2176 FIXME("%p, %s stub.\n", iface, debugstr_w(path));
2177
2178 return E_NOTIMPL;
2179}
2180
2181static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSymbolPathWide(IDebugSymbols3 *iface, const WCHAR *addition)
2182{
2183 FIXME("%p, %s stub.\n", iface, debugstr_w(addition));
2184
2185 return E_NOTIMPL;
2186}
2187
2189 ULONG *path_size)
2190{
2191 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
2192
2193 return E_NOTIMPL;
2194}
2195
2197{
2198 FIXME("%p, %s stub.\n", iface, debugstr_w(path));
2199
2200 return E_NOTIMPL;
2201}
2202
2203static HRESULT STDMETHODCALLTYPE debugsymbols_AppendImagePathWide(IDebugSymbols3 *iface, const WCHAR *addition)
2204{
2205 FIXME("%p, %s stub.\n", iface, debugstr_w(addition));
2206
2207 return E_NOTIMPL;
2208}
2209
2211 ULONG *path_size)
2212{
2213 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
2214
2215 return E_NOTIMPL;
2216}
2217
2220{
2221 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, element_size);
2222
2223 return E_NOTIMPL;
2224}
2225
2227{
2228 FIXME("%p, %s stub.\n", iface, debugstr_w(path));
2229
2230 return E_NOTIMPL;
2231}
2232
2233static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSourcePathWide(IDebugSymbols3 *iface, const WCHAR *addition)
2234{
2235 FIXME("%p, %s stub.\n", iface, debugstr_w(addition));
2236
2237 return E_NOTIMPL;
2238}
2239
2240static HRESULT STDMETHODCALLTYPE debugsymbols_FindSourceFileWide(IDebugSymbols3 *iface, ULONG start_element,
2241 const WCHAR *file, ULONG flags, ULONG *found_element, WCHAR *buffer, ULONG buffer_size, ULONG *found_size)
2242{
2243 FIXME("%p, %lu, %s, %#lx, %p, %p, %lu, %p stub.\n", iface, start_element, debugstr_w(file), flags, found_element,
2244 buffer, buffer_size, found_size);
2245
2246 return E_NOTIMPL;
2247}
2248
2250 ULONG64 *buffer, ULONG buffer_lines, ULONG *file_lines)
2251{
2252 FIXME("%p, %s, %p, %lu, %p stub.\n", iface, debugstr_w(file), buffer, buffer_lines, file_lines);
2253
2254 return E_NOTIMPL;
2255}
2256
2258 ULONG64 base, const WCHAR *item, void *buffer, ULONG buffer_size, ULONG *version_info_size)
2259{
2260 FIXME("%p, %lu, %s, %s, %p, %lu, %p stub.\n", iface, index, wine_dbgstr_longlong(base), debugstr_w(item), buffer,
2261 buffer_size, version_info_size);
2262
2263 return E_NOTIMPL;
2264}
2265
2268{
2269 FIXME("%p, %lu, %lu, %s, %p, %lu, %p stub.\n", iface, which, index, wine_dbgstr_longlong(base), buffer, buffer_size,
2270 name_size);
2271
2272 return E_NOTIMPL;
2273}
2274
2277{
2278 FIXME("%p, %s, %lu, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id,
2280
2281 return E_NOTIMPL;
2282}
2283
2285 ULONG field_index, WCHAR *buffer, ULONG buffer_size, ULONG *name_size)
2286{
2287 FIXME("%p, %s, %lu, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, field_index, buffer,
2288 buffer_size, name_size);
2289
2290 return E_NOTIMPL;
2291}
2292
2294{
2295 FIXME("%p, %lu, %s stub.\n", iface, index, wine_dbgstr_longlong(base));
2296
2297 return E_NOTIMPL;
2298}
2299
2300static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleName2(IDebugSymbols3 *iface, const char *name,
2301 ULONG start_index, ULONG flags, ULONG *index, ULONG64 *base)
2302{
2303 FIXME("%p, %s, %lu, %#lx, %p, %p stub.\n", iface, debugstr_a(name), start_index, flags, index, base);
2304
2305 return E_NOTIMPL;
2306}
2307
2309 ULONG start_index, ULONG flags, ULONG *index, ULONG64 *base)
2310{
2311 FIXME("%p, %s, %lu, %#lx, %p, %p stub.\n", iface, debugstr_w(name), start_index, flags, index, base);
2312
2313 return E_NOTIMPL;
2314}
2315
2317 ULONG start_index, ULONG flags, ULONG *index, ULONG64 *base)
2318{
2319 FIXME("%p, %s, %lu, %#lx, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), start_index, flags, index, base);
2320
2321 return E_NOTIMPL;
2322}
2323
2325 const char *image_path, const char *module_name, ULONG flags)
2326{
2327 FIXME("%p, %s, %lu, %s, %s, %#lx stub.\n", iface, wine_dbgstr_longlong(base), size, debugstr_a(image_path),
2329
2330 return E_NOTIMPL;
2331}
2332
2334 const WCHAR *image_path, const WCHAR *module_name, ULONG flags)
2335{
2336 FIXME("%p, %s, %lu, %s, %s, %#lx stub.\n", iface, wine_dbgstr_longlong(base), size, debugstr_w(image_path),
2338
2339 return E_NOTIMPL;
2340}
2341
2343{
2344 FIXME("%p, %s stub.\n", iface, wine_dbgstr_longlong(base));
2345
2346 return E_NOTIMPL;
2347}
2348
2350{
2351 FIXME("%p, %p stub.\n", iface, index);
2352
2353 return E_NOTIMPL;
2354}
2355
2357{
2358 FIXME("%p, %lu stub.\n", iface, index);
2359
2360 return E_NOTIMPL;
2361}
2362
2363static HRESULT STDMETHODCALLTYPE debugsymbols_SetScopeFromJitDebugInfo(IDebugSymbols3 *iface, ULONG output_control,
2364 ULONG64 info_offset)
2365{
2366 FIXME("%p, %lu, %s stub.\n", iface, output_control, wine_dbgstr_longlong(info_offset));
2367
2368 return E_NOTIMPL;
2369}
2370
2372{
2373 FIXME("%p stub.\n", iface);
2374
2375 return E_NOTIMPL;
2376}
2377
2378static HRESULT STDMETHODCALLTYPE debugsymbols_OutputSymbolByOffset(IDebugSymbols3 *iface, ULONG output_control,
2380{
2381 FIXME("%p, %lu, %#lx, %s stub.\n", iface, output_control, flags, wine_dbgstr_longlong(offset));
2382
2383 return E_NOTIMPL;
2384}
2385
2387 ULONG flags, void *buffer, ULONG buffer_size, ULONG *needed_size)
2388{
2389 FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, buffer, buffer_size,
2390 needed_size);
2391
2392 return E_NOTIMPL;
2393}
2394
2396 ULONG container_type_id, const char *field, ULONG *field_type_id, ULONG *offset)
2397{
2398 FIXME("%p, %s, %lu, %s, %p, %p stub.\n", iface, wine_dbgstr_longlong(module), container_type_id, debugstr_a(field),
2399 field_type_id, offset);
2400
2401 return E_NOTIMPL;
2402}
2403
2405 ULONG container_type_id, const WCHAR *field, ULONG *field_type_id, ULONG *offset)
2406{
2407 FIXME("%p, %s, %lu, %s, %p, %p stub.\n", iface, wine_dbgstr_longlong(module), container_type_id, debugstr_w(field),
2408 field_type_id, offset);
2409
2410 return E_NOTIMPL;
2411}
2412
2414 const char *name, ULONG flags, DEBUG_MODULE_AND_ID *id)
2415{
2416 FIXME("%p, %s, %lu, %s, %#lx, %p stub.\n", iface, wine_dbgstr_longlong(offset), size, debugstr_a(name), flags, id);
2417
2418 return E_NOTIMPL;
2419}
2420
2423{
2424 FIXME("%p, %s, %lu, %s, %#lx, %p stub.\n", iface, wine_dbgstr_longlong(offset), size, debugstr_w(name), flags, id);
2425
2426 return E_NOTIMPL;
2427}
2428
2430{
2431 FIXME("%p, %p stub.\n", iface, id);
2432
2433 return E_NOTIMPL;
2434}
2435
2437 ULONG flags, DEBUG_MODULE_AND_ID *ids, LONG64 *displacements, ULONG count, ULONG *entries)
2438{
2439 FIXME("%p, %s, %#lx, %p, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, ids, displacements, count,
2440 entries);
2441
2442 return E_NOTIMPL;
2443}
2444
2445static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntriesByName(IDebugSymbols3 *iface, const char *symbol,
2447{
2448 FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, debugstr_a(symbol), flags, ids, count, entries);
2449
2450 return E_NOTIMPL;
2451}
2452
2455{
2456 FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, debugstr_w(symbol), flags, ids, count, entries);
2457
2458 return E_NOTIMPL;
2459}
2460
2463{
2464 FIXME("%p, %s, %p stub.\n", iface, wine_dbgstr_longlong(base), id);
2465
2466 return E_NOTIMPL;
2467}
2468
2471{
2472 FIXME("%p, %p, %p stub.\n", iface, id, info);
2473
2474 return E_NOTIMPL;
2475}
2476
2478 ULONG which, char *buffer, ULONG buffer_size, ULONG *string_size)
2479{
2480 FIXME("%p, %p, %lu, %p, %lu, %p stub.\n", iface, id, which, buffer, buffer_size, string_size);
2481
2482 return E_NOTIMPL;
2483}
2484
2486 ULONG which, WCHAR *buffer, ULONG buffer_size, ULONG *string_size)
2487{
2488 FIXME("%p, %p, %lu, %p, %lu, %p stub.\n", iface, id, which, buffer, buffer_size, string_size);
2489
2490 return E_NOTIMPL;
2491}
2492
2494 ULONG flags, DEBUG_OFFSET_REGION *regions, ULONG regions_count, ULONG *regions_avail)
2495{
2496 FIXME("%p, %p, %#lx, %p, %lu, %p stub.\n", iface, id, flags, regions, regions_count, regions_avail);
2497
2498 return E_NOTIMPL;
2499}
2500
2503{
2504 FIXME("%p, %p, %#lx, %p stub.\n", iface, from_id, flags, to_id);
2505
2506 return E_NOTIMPL;
2507}
2508
2510 ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *entries, ULONG count, ULONG *entries_avail)
2511{
2512 FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, entries, count, entries_avail);
2513
2514 return E_NOTIMPL;
2515}
2516
2518 const char *file, ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *entries, ULONG count, ULONG *entries_avail)
2519{
2520 FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, debugstr_a(file), flags, entries, count, entries_avail);
2521
2522 return E_NOTIMPL;
2523}
2524
2526 const WCHAR *file, ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *entries, ULONG count, ULONG *entries_avail)
2527{
2528 FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, debugstr_w(file), flags, entries, count, entries_avail);
2529
2530 return E_NOTIMPL;
2531}
2532
2535{
2536 FIXME("%p, %p, %lu, %p, %lu, %p stub.\n", iface, entry, which, buffer, buffer_size, string_size);
2537
2538 return E_NOTIMPL;
2539}
2540
2543{
2544 FIXME("%p, %p, %lu, %p, %lu, %p stub.\n", iface, entry, which, buffer, buffer_size, string_size);
2545
2546 return E_NOTIMPL;
2547}
2548
2551{
2552 FIXME("%p, %p, %#lx, %p, %lu, %p stub.\n", iface, entry, flags, regions, count, regions_avail);
2553
2554 return E_NOTIMPL;
2555}
2556
2559{
2560 FIXME("%p, %p, %#lx, %p stub.\n", iface, from_entry, flags, to_entry);
2561
2562 return E_NOTIMPL;
2563}
2564
2565static const IDebugSymbols3Vtbl debugsymbolsvtbl =
2566{
2619 /* IDebugSymbols2 */
2628 /* IDebugSymbols3 */
2695};
2696
2698{
2700 return IUnknown_QueryInterface(&debug_client->IDebugClient_iface, riid, obj);
2701}
2702
2703static ULONG STDMETHODCALLTYPE debugcontrol_AddRef(IDebugControl4 *iface)
2704{
2706 return IUnknown_AddRef(&debug_client->IDebugClient_iface);
2707}
2708
2709static ULONG STDMETHODCALLTYPE debugcontrol_Release(IDebugControl4 *iface)
2710{
2712 return IUnknown_Release(&debug_client->IDebugClient_iface);
2713}
2714
2716{
2717 FIXME("%p stub.\n", iface);
2718
2719 return E_NOTIMPL;
2720}
2721
2723{
2724 FIXME("%p, %#lx stub.\n", iface, flags);
2725
2726 return E_NOTIMPL;
2727}
2728
2730{
2731 FIXME("%p, %p stub.\n", iface, timeout);
2732
2733 return E_NOTIMPL;
2734}
2735
2737{
2738 FIXME("%p, %lu stub.\n", iface, timeout);
2739
2740 return E_NOTIMPL;
2741}
2742
2745{
2746 FIXME("%p, %p, %lu, %p, %p stub.\n", iface, buffer, buffer_size, file_size, append);
2747
2748 return E_NOTIMPL;
2749}
2750
2751static HRESULT STDMETHODCALLTYPE debugcontrol_OpenLogFile(IDebugControl4 *iface, const char *file, BOOL append)
2752{
2753 FIXME("%p, %s, %d stub.\n", iface, debugstr_a(file), append);
2754
2755 return E_NOTIMPL;
2756}
2758{
2759 FIXME("%p stub.\n", iface);
2760
2761 return E_NOTIMPL;
2762}
2764{
2765 FIXME("%p, %p stub.\n", iface, mask);
2766
2767 return E_NOTIMPL;
2768}
2769
2771{
2772 FIXME("%p, %#lx stub.\n", iface, mask);
2773
2774 return E_NOTIMPL;
2775}
2776
2778 ULONG *input_size)
2779{
2780 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, input_size);
2781
2782 return E_NOTIMPL;
2783}
2784
2785static HRESULT STDMETHODCALLTYPE debugcontrol_ReturnInput(IDebugControl4 *iface, const char *buffer)
2786{
2787 FIXME("%p, %s stub.\n", iface, debugstr_a(buffer));
2788
2789 return E_NOTIMPL;
2790}
2791
2792static HRESULT STDMETHODVCALLTYPE debugcontrol_Output(IDebugControl4 *iface, ULONG mask, const char *format, ...)
2793{
2794 FIXME("%p, %#lx, %s stub.\n", iface, mask, debugstr_a(format));
2795
2796 return E_NOTIMPL;
2797}
2798
2799static HRESULT STDMETHODCALLTYPE debugcontrol_OutputVaList(IDebugControl4 *iface, ULONG mask, const char *format,
2800 va_list args)
2801{
2802 FIXME("%p, %#lx, %s stub.\n", iface, mask, debugstr_a(format));
2803
2804 return E_NOTIMPL;
2805}
2806
2807static HRESULT STDMETHODVCALLTYPE debugcontrol_ControlledOutput(IDebugControl4 *iface, ULONG output_control,
2808 ULONG mask, const char *format, ...)
2809{
2810 FIXME("%p, %lu, %#lx, %s stub.\n", iface, output_control, mask, debugstr_a(format));
2811
2812 return E_NOTIMPL;
2813}
2814
2815static HRESULT STDMETHODCALLTYPE debugcontrol_ControlledOutputVaList(IDebugControl4 *iface, ULONG output_control,
2816 ULONG mask, const char *format, va_list args)
2817{
2818 FIXME("%p, %lu, %#lx, %s stub.\n", iface, output_control, mask, debugstr_a(format));
2819
2820 return E_NOTIMPL;
2821}
2822
2823static HRESULT STDMETHODVCALLTYPE debugcontrol_OutputPrompt(IDebugControl4 *iface, ULONG output_control,
2824 const char *format, ...)
2825{
2826 FIXME("%p, %lu, %s stub.\n", iface, output_control, debugstr_a(format));
2827
2828 return E_NOTIMPL;
2829}
2830
2831static HRESULT STDMETHODCALLTYPE debugcontrol_OutputPromptVaList(IDebugControl4 *iface, ULONG output_control,
2832 const char *format, va_list args)
2833{
2834 FIXME("%p, %lu, %s stub.\n", iface, output_control, debugstr_a(format));
2835
2836 return E_NOTIMPL;
2837}
2838
2840 ULONG *text_size)
2841{
2842 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, text_size);
2843
2844 return E_NOTIMPL;
2845}
2846
2847static HRESULT STDMETHODCALLTYPE debugcontrol_OutputCurrentState(IDebugControl4 *iface, ULONG output_control,
2848 ULONG flags)
2849{
2850 FIXME("%p, %lu, %#lx stub.\n", iface, output_control, flags);
2851
2852 return E_NOTIMPL;
2853}
2854
2855static HRESULT STDMETHODCALLTYPE debugcontrol_OutputVersionInformation(IDebugControl4 *iface, ULONG output_control)
2856{
2857 FIXME("%p, %lu stub.\n", iface, output_control);
2858
2859 return E_NOTIMPL;
2860}
2861
2863{
2864 FIXME("%p, %p stub.\n", iface, handle);
2865
2866 return E_NOTIMPL;
2867}
2868
2870{
2871 FIXME("%p, %s stub.\n", iface, wine_dbgstr_longlong(handle));
2872
2873 return E_NOTIMPL;
2874}
2875
2876static HRESULT STDMETHODCALLTYPE debugcontrol_Assemble(IDebugControl4 *iface, ULONG64 offset, const char *code,
2877 ULONG64 *end_offset)
2878{
2879 FIXME("%p, %s, %s, %p stub.\n", iface, wine_dbgstr_longlong(offset), debugstr_a(code), end_offset);
2880
2881 return E_NOTIMPL;
2882}
2883
2885 char *buffer, ULONG buffer_size, ULONG *disassm_size, ULONG64 *end_offset)
2886{
2887 FIXME("%p, %s, %#lx, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, buffer, buffer_size,
2888 disassm_size, end_offset);
2889
2890 return E_NOTIMPL;
2891}
2892
2894{
2895 FIXME("%p, %p stub.\n", iface, offset);
2896
2897 return E_NOTIMPL;
2898}
2899
2900static HRESULT STDMETHODCALLTYPE debugcontrol_OutputDisassembly(IDebugControl4 *iface, ULONG output_control,
2901 ULONG64 offset, ULONG flags, ULONG64 *end_offset)
2902{
2903 FIXME("%p, %lu, %s, %#lx, %p stub.\n", iface, output_control, wine_dbgstr_longlong(offset), flags, end_offset);
2904
2905 return E_NOTIMPL;
2906}
2907
2908static HRESULT STDMETHODCALLTYPE debugcontrol_OutputDisassemblyLines(IDebugControl4 *iface, ULONG output_control,
2909 ULONG prev_lines, ULONG total_lines, ULONG64 offset, ULONG flags, ULONG *offset_line, ULONG64 *start_offset,
2910 ULONG64 *end_offset, ULONG64 *line_offsets)
2911{
2912 FIXME("%p, %lu, %lu, %lu, %s, %#lx, %p, %p, %p, %p stub.\n", iface, output_control, prev_lines, total_lines,
2913 wine_dbgstr_longlong(offset), flags, offset_line, start_offset, end_offset, line_offsets);
2914
2915 return E_NOTIMPL;
2916}
2917
2919 ULONG64 *instr_offset)
2920{
2921 FIXME("%p, %s, %ld, %p stub.\n", iface, wine_dbgstr_longlong(offset), delta, instr_offset);
2922
2923 return E_NOTIMPL;
2924}
2925
2927 ULONG64 stack_offset, ULONG64 instr_offset, DEBUG_STACK_FRAME *frames, ULONG frames_size, ULONG *frames_filled)
2928{
2929 FIXME("%p, %s, %s, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(frame_offset),
2930 wine_dbgstr_longlong(stack_offset), wine_dbgstr_longlong(instr_offset), frames, frames_size, frames_filled);
2931
2932 return E_NOTIMPL;
2933}
2934
2936{
2937 FIXME("%p, %p stub.\n", iface, offset);
2938
2939 return E_NOTIMPL;
2940}
2941
2942static HRESULT STDMETHODCALLTYPE debugcontrol_OutputStackTrace(IDebugControl4 *iface, ULONG output_control,
2943 DEBUG_STACK_FRAME *frames, ULONG frames_size, ULONG flags)
2944{
2945 FIXME("%p, %lu, %p, %lu, %#lx stub.\n", iface, output_control, frames, frames_size, flags);
2946
2947 return E_NOTIMPL;
2948}
2949
2950static HRESULT STDMETHODCALLTYPE debugcontrol_GetDebuggeeType(IDebugControl4 *iface, ULONG *debug_class,
2952{
2954 static struct target_process *target;
2955
2956 FIXME("%p, %p, %p stub.\n", iface, debug_class, qualifier);
2957
2958 *debug_class = DEBUG_CLASS_UNINITIALIZED;
2959 *qualifier = 0;
2960
2962 return E_UNEXPECTED;
2963
2964 *debug_class = DEBUG_CLASS_USER_WINDOWS;
2966
2967 return S_OK;
2968}
2969
2971{
2972 FIXME("%p, %p stub.\n", iface, type);
2973
2974 return E_NOTIMPL;
2975}
2976
2978{
2980 static struct target_process *target;
2981 HRESULT hr;
2982
2983 TRACE("%p, %p.\n", iface, type);
2984
2986 return E_UNEXPECTED;
2987
2989 return hr;
2990
2991 *type = target->cpu_type;
2992
2993 return S_OK;
2994}
2995
2997 ULONG *count)
2998{
2999 FIXME("%p, %p stub.\n", iface, count);
3000
3001 return E_NOTIMPL;
3002}
3003
3006{
3007 FIXME("%p, %lu, %lu, %p stub.\n", iface, start, count, types);
3008
3009 return E_NOTIMPL;
3010}
3011
3013{
3014 FIXME("%p, %p stub.\n", iface, count);
3015
3016 return E_NOTIMPL;
3017}
3018
3019static HRESULT STDMETHODCALLTYPE debugcontrol_GetSystemVersion(IDebugControl4 *iface, ULONG *platform_id, ULONG *major,
3020 ULONG *minor, char *sp_string, ULONG sp_string_size, ULONG *sp_string_used, ULONG *sp_number,
3021 char *build_string, ULONG build_string_size, ULONG *build_string_used)
3022{
3023 FIXME("%p, %p, %p, %p, %p, %lu, %p, %p, %p, %lu, %p stub.\n", iface, platform_id, major, minor, sp_string,
3024 sp_string_size, sp_string_used, sp_number, build_string, build_string_size, build_string_used);
3025
3026 return E_NOTIMPL;
3027}
3028
3030{
3031 FIXME("%p, %p stub.\n", iface, size);
3032
3033 return E_NOTIMPL;
3034}
3035
3037{
3039 static struct target_process *target;
3040 HRESULT hr;
3041
3042 TRACE("%p.\n", iface);
3043
3045 return E_UNEXPECTED;
3046
3048 return hr;
3049
3050 switch (target->cpu_type)
3051 {
3054 hr = S_FALSE;
3055 break;
3059 hr = S_OK;
3060 break;
3061 default:
3062 FIXME("Unexpected cpu type %#lx.\n", target->cpu_type);
3063 hr = E_UNEXPECTED;
3064 }
3065
3066 return hr;
3067}
3068
3070 ULONG64 *arg2, ULONG64 *arg3, ULONG64 *arg4)
3071{
3072 FIXME("%p, %p, %p, %p, %p, %p stub.\n", iface, code, arg1, arg2, arg3, arg4);
3073
3074 return E_NOTIMPL;
3075}
3076
3078{
3079 FIXME("%p, %p stub.\n", iface, count);
3080
3081 return E_NOTIMPL;
3082}
3083
3086{
3087 FIXME("%p, %lu, %lu, %p stub.\n", iface, start, count, types);
3088
3089 return E_NOTIMPL;
3090}
3091
3092static HRESULT STDMETHODCALLTYPE debugcontrol_GetProcessorTypeNames(IDebugControl4 *iface, ULONG type, char *full_name,
3093 ULONG full_name_buffer_size, ULONG *full_name_size, char *abbrev_name, ULONG abbrev_name_buffer_size,
3094 ULONG *abbrev_name_size)
3095{
3096 FIXME("%p, %lu, %p, %lu, %p, %p, %lu, %p stub.\n", iface, type, full_name, full_name_buffer_size, full_name_size,
3097 abbrev_name, abbrev_name_buffer_size, abbrev_name_size);
3098
3099 return E_NOTIMPL;
3100}
3101
3103{
3104 FIXME("%p, %p stub.\n", iface, type);
3105
3106 return E_NOTIMPL;
3107}
3108
3110{
3111 FIXME("%p, %lu stub.\n", iface, type);
3112
3113 return E_NOTIMPL;
3114}
3115
3117{
3118 FIXME("%p, %p stub.\n", iface, status);
3119
3120 return E_NOTIMPL;
3121}
3122
3124{
3125 FIXME("%p, %lu stub.\n", iface, status);
3126
3127 return E_NOTIMPL;
3128}
3129
3131{
3132 FIXME("%p, %p stub.\n", iface, level);
3133
3134 return E_NOTIMPL;
3135}
3136
3138{
3139 FIXME("%p, %lu stub.\n", iface, level);
3140
3141 return E_NOTIMPL;
3142}
3143
3145{
3147
3148 TRACE("%p, %p.\n", iface, options);
3149
3151
3152 return S_OK;
3153}
3154
3156{
3158
3159 TRACE("%p, %#lx.\n", iface, options);
3160
3162 return E_INVALIDARG;
3163
3165
3166 return S_OK;
3167}
3168
3170{
3172
3173 TRACE("%p, %#lx.\n", iface, options);
3174
3176
3177 return S_OK;
3178}
3179
3181{
3183
3184 TRACE("%p, %#lx.\n", iface, options);
3185
3187 return E_INVALIDARG;
3188
3190
3191 return S_OK;
3192}
3193
3194static HRESULT STDMETHODCALLTYPE debugcontrol_GetSystemErrorControl(IDebugControl4 *iface, ULONG *output_level,
3195 ULONG *break_level)
3196{
3197 FIXME("%p, %p, %p stub.\n", iface, output_level, break_level);
3198
3199 return E_NOTIMPL;
3200}
3201
3202static HRESULT STDMETHODCALLTYPE debugcontrol_SetSystemErrorControl(IDebugControl4 *iface, ULONG output_level,
3203 ULONG break_level)
3204{
3205 FIXME("%p, %lu, %lu stub.\n", iface, output_level, break_level);
3206
3207 return E_NOTIMPL;
3208}
3209
3211 ULONG buffer_size, ULONG *macro_size)
3212{
3213 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, slot, buffer, buffer_size, macro_size);
3214
3215 return E_NOTIMPL;
3216}
3217
3218static HRESULT STDMETHODCALLTYPE debugcontrol_SetTextMacro(IDebugControl4 *iface, ULONG slot, const char *macro)
3219{
3220 FIXME("%p, %lu, %s stub.\n", iface, slot, debugstr_a(macro));
3221
3222 return E_NOTIMPL;
3223}
3224
3226{
3227 FIXME("%p, %p stub.\n", iface, radix);
3228
3229 return E_NOTIMPL;
3230}
3231
3233{
3234 FIXME("%p, %lu stub.\n", iface, radix);
3235
3236 return E_NOTIMPL;
3237}
3238
3239static HRESULT STDMETHODCALLTYPE debugcontrol_Evaluate(IDebugControl4 *iface, const char *expression,
3240 ULONG desired_type, DEBUG_VALUE *value, ULONG *remainder_index)
3241{
3242 FIXME("%p, %s, %lu, %p, %p stub.\n", iface, debugstr_a(expression), desired_type, value, remainder_index);
3243
3244 return E_NOTIMPL;
3245}
3246
3248 DEBUG_VALUE *output)
3249{
3250 FIXME("%p, %lu, %p stub.\n", iface, output_type, output);
3251
3252 return E_NOTIMPL;
3253}
3254
3256 ULONG *output_types, DEBUG_VALUE *output)
3257{
3258 FIXME("%p, %lu, %p, %p, %p stub.\n", iface, count, input, output_types, output);
3259
3260 return E_NOTIMPL;
3261}
3262
3263static HRESULT STDMETHODCALLTYPE debugcontrol_Execute(IDebugControl4 *iface, ULONG output_control, const char *command,
3264 ULONG flags)
3265{
3266 FIXME("%p, %lu, %s, %#lx stub.\n", iface, output_control, debugstr_a(command), flags);
3267
3268 return E_NOTIMPL;
3269}
3270
3271static HRESULT STDMETHODCALLTYPE debugcontrol_ExecuteCommandFile(IDebugControl4 *iface, ULONG output_control,
3272 const char *command_file, ULONG flags)
3273{
3274 FIXME("%p, %lu, %s, %#lx stub.\n", iface, output_control, debugstr_a(command_file), flags);
3275
3276 return E_NOTIMPL;
3277}
3278
3280{
3281 FIXME("%p, %p stub.\n", iface, count);
3282
3283 return E_NOTIMPL;
3284}
3285
3287 IDebugBreakpoint **bp)
3288{
3289 FIXME("%p, %lu, %p stub.\n", iface, index, bp);
3290
3291 return E_NOTIMPL;
3292}
3293
3294static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointById(IDebugControl4 *iface, ULONG id, IDebugBreakpoint **bp)
3295{
3296 FIXME("%p, %lu, %p stub.\n", iface, id, bp);
3297
3298 return E_NOTIMPL;
3299}
3300
3303{
3304 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, count, ids, start, parameters);
3305
3306 return E_NOTIMPL;
3307}
3308
3309static HRESULT STDMETHODCALLTYPE debugcontrol_AddBreakpoint(IDebugControl4 *iface, ULONG type, ULONG desired_id,
3310 IDebugBreakpoint **bp)
3311{
3312 FIXME("%p, %lu, %lu, %p stub.\n", iface, type, desired_id, bp);
3313
3314 return E_NOTIMPL;
3315}
3316
3317static HRESULT STDMETHODCALLTYPE debugcontrol_RemoveBreakpoint(IDebugControl4 *iface, IDebugBreakpoint *bp)
3318{
3319 FIXME("%p, %p stub.\n", iface, bp);
3320
3321 return E_NOTIMPL;
3322}
3323
3324static HRESULT STDMETHODCALLTYPE debugcontrol_AddExtension(IDebugControl4 *iface, const char *path, ULONG flags,
3325 ULONG64 *handle)
3326{
3327 FIXME("%p, %s, %#lx, %p stub.\n", iface, debugstr_a(path), flags, handle);
3328
3329 return E_NOTIMPL;
3330}
3331
3333{
3334 FIXME("%p, %s stub.\n", iface, wine_dbgstr_longlong(handle));
3335
3336 return E_NOTIMPL;
3337}
3338
3339static HRESULT STDMETHODCALLTYPE debugcontrol_GetExtensionByPath(IDebugControl4 *iface, const char *path,
3340 ULONG64 *handle)
3341{
3342 FIXME("%p, %s, %p stub.\n", iface, debugstr_a(path), handle);
3343
3344 return E_NOTIMPL;
3345}
3346
3348 const char *function, const char *args)
3349{
3350 FIXME("%p, %s, %s, %s stub.\n", iface, wine_dbgstr_longlong(handle), debugstr_a(function), debugstr_a(args));
3351
3352 return E_NOTIMPL;
3353}
3354
3356 const char *name, void *function)
3357{
3358 FIXME("%p, %s, %s, %p stub.\n", iface, wine_dbgstr_longlong(handle), debugstr_a(name), function);
3359
3360 return E_NOTIMPL;
3361}
3362
3365{
3366 FIXME("%p, %p stub.\n", iface, api);
3367
3368 return E_NOTIMPL;
3369}
3370
3373{
3374 FIXME("%p, %p stub.\n", iface, api);
3375
3376 return E_NOTIMPL;
3377}
3378
3379static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberEventFilters(IDebugControl4 *iface, ULONG *specific_events,
3380 ULONG *specific_exceptions, ULONG *arbitrary_exceptions)
3381{
3382 FIXME("%p, %p, %p, %p stub.\n", iface, specific_events, specific_exceptions, arbitrary_exceptions);
3383
3384 return E_NOTIMPL;
3385}
3386
3388 ULONG buffer_size, ULONG *text_size)
3389{
3390 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, text_size);
3391
3392 return E_NOTIMPL;
3393}
3394
3396 ULONG buffer_size, ULONG *command_size)
3397{
3398 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, command_size);
3399
3400 return E_NOTIMPL;
3401}
3402
3404 const char *command)
3405{
3406 FIXME("%p, %lu, %s stub.\n", iface, index, debugstr_a(command));
3407
3408 return E_NOTIMPL;
3409}
3410
3413{
3414 FIXME("%p, %lu, %lu, %p stub.\n", iface, start, count, parameters);
3415
3416 return E_NOTIMPL;
3417}
3418
3421{
3422 FIXME("%p, %lu, %lu, %p stub.\n", iface, start, count, parameters);
3423
3424 return E_NOTIMPL;
3425}
3426
3428 char *buffer, ULONG buffer_size, ULONG *argument_size)
3429{
3430 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, argument_size);
3431
3432 return E_NOTIMPL;
3433}
3434
3436 const char *argument)
3437{
3438 FIXME("%p, %lu, %s stub.\n", iface, index, debugstr_a(argument));
3439
3440 return E_NOTIMPL;
3441}
3442
3445{
3446 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, count, codes, start, parameters);
3447
3448 return E_NOTIMPL;
3449}
3450
3453{
3454 FIXME("%p, %lu, %p stub.\n", iface, count, parameters);
3455
3456 return E_NOTIMPL;
3457}
3458
3460 char *buffer, ULONG buffer_size, ULONG *command_size)
3461{
3462 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, command_size);
3463
3464 return E_NOTIMPL;
3465}
3466
3468 const char *command)
3469{
3470 FIXME("%p, %lu, %s stub.\n", iface, index, debugstr_a(command));
3471
3472 return E_NOTIMPL;
3473}
3474
3476{
3478 struct target_process *target;
3479
3480 TRACE("%p, %#lx, %lu.\n", iface, flags, timeout);
3481
3482 /* FIXME: only one target is used currently */
3483
3485 return E_UNEXPECTED;
3486
3487 if (target->attach_flags & DEBUG_ATTACH_NONINVASIVE)
3488 {
3489 BOOL suspend = !(target->attach_flags & DEBUG_ATTACH_NONINVASIVE_NO_SUSPEND);
3492
3493 if (suspend)
3495
3496 target->handle = OpenProcess(access, FALSE, target->pid);
3497 if (!target->handle)
3498 {
3499 WARN("Failed to get process handle for pid %#x.\n", target->pid);
3500 return E_UNEXPECTED;
3501 }
3502
3503 if (suspend)
3504 {
3505 status = NtSuspendProcess(target->handle);
3506 if (status)
3507 WARN("Failed to suspend a process, status %#lx.\n", status);
3508 }
3509
3510 return S_OK;
3511 }
3512 else
3513 {
3514 FIXME("Unsupported attach flags %#x.\n", target->attach_flags);
3515 }
3516
3517 return E_NOTIMPL;
3518}
3519
3521 ULONG *tid, void *extra_info, ULONG extra_info_size, ULONG *extra_info_used, char *description,
3522 ULONG desc_size, ULONG *desc_used)
3523{
3524 FIXME("%p, %p, %p, %p, %p, %lu, %p, %p, %lu, %p stub.\n", iface, type, pid, tid, extra_info, extra_info_size,
3525 extra_info_used, description, desc_size, desc_used);
3526
3527 return E_NOTIMPL;
3528}
3529
3531{
3532 FIXME("%p, %lu stub.\n", iface, timedate);
3533
3534 return E_NOTIMPL;
3535}
3536
3538{
3539 FIXME("%p, %lu stub.\n", iface, uptime);
3540
3541 return E_NOTIMPL;
3542}
3543
3545{
3546 FIXME("%p, %p stub.\n", iface, flags);
3547
3548 return E_NOTIMPL;
3549}
3550
3552{
3553 FIXME("%p, %p stub.\n", iface, count);
3554
3555 return E_NOTIMPL;
3556}
3557
3558static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberTextReplacement(IDebugControl4 *iface, const char *src_text,
3559 ULONG index, char *src_buffer, ULONG src_buffer_size, ULONG *src_size, char *dst_buffer,
3560 ULONG dst_buffer_size, ULONG *dst_size)
3561{
3562 FIXME("%p, %s, %lu, %p, %lu, %p, %p, %lu, %p stub.\n", iface, debugstr_a(src_text), index, src_buffer,
3563 src_buffer_size, src_size, dst_buffer, dst_buffer_size, dst_size);
3564
3565 return E_NOTIMPL;
3566}
3567
3568static HRESULT STDMETHODCALLTYPE debugcontrol_SetTextReplacement(IDebugControl4 *iface, const char *src_text,
3569 const char *dst_text)
3570{
3571 FIXME("%p, %s, %s stub.\n", iface, debugstr_a(src_text), debugstr_a(dst_text));
3572
3573 return E_NOTIMPL;
3574}
3575
3577{
3578 FIXME("%p stub.\n", iface);
3579
3580 return E_NOTIMPL;
3581}
3582
3583static HRESULT STDMETHODCALLTYPE debugcontrol_OutputTextReplacements(IDebugControl4 *iface, ULONG output_control,
3584 ULONG flags)
3585{
3586 FIXME("%p, %lu, %#lx stub.\n", iface, output_control, flags);
3587
3588 return E_NOTIMPL;
3589}
3590
3592{
3593 FIXME("%p, %p stub.\n", iface, options);
3594
3595 return E_NOTIMPL;
3596}
3597
3599{
3600 FIXME("%p, %#lx stub.\n", iface, options);
3601
3602 return E_NOTIMPL;
3603}
3604
3606{
3607 FIXME("%p, %#lx stub.\n", iface, options);
3608
3609 return E_NOTIMPL;
3610}
3611
3613{
3614 FIXME("%p, %#lx stub.\n", iface, options);
3615
3616 return E_NOTIMPL;
3617}
3618
3620{
3621 FIXME("%p, %p stub.\n", iface, flags);
3622
3623 return E_NOTIMPL;
3624}
3625
3627{
3628 FIXME("%p, %#lx stub.\n", iface, flags);
3629
3630 return E_NOTIMPL;
3631}
3632
3634{
3635 FIXME("%p, %s stub.\n", iface, debugstr_a(name));
3636
3637 return E_NOTIMPL;
3638}
3639
3641{
3642 FIXME("%p, %p stub.\n", iface, number);
3643
3644 return E_NOTIMPL;
3645}
3646
3648 ULONG fullname_buffer_size, ULONG *fullname_size, char *abbrevname, ULONG abbrevname_buffer_size, ULONG *abbrevname_size)
3649{
3650 FIXME("%p, %lu, %p, %lu, %p, %p, %lu, %p stub.\n", iface, index, fullname, fullname_buffer_size, fullname_size, abbrevname,
3651 abbrevname_buffer_size, abbrevname_size);
3652
3653 return E_NOTIMPL;
3654}
3655
3657{
3658 FIXME("%p, %p stub.\n", iface, events);
3659
3660 return E_NOTIMPL;
3661}
3662
3664 char *buffer, ULONG buffer_size, ULONG *desc_size)
3665{
3666 FIXME("%p, %lu, %lu, %p, %lu, %p stub.\n", iface, index, which, buffer, buffer_size, desc_size);
3667
3668 return E_NOTIMPL;
3669}
3670
3672{
3673 FIXME("%p, %p stub.\n", iface, index);
3674
3675 return E_NOTIMPL;
3676}
3677
3679 ULONG *next_index)
3680{
3681 FIXME("%p, %lu, %lu, %p stub.\n", iface, relation, value, next_index);
3682
3683 return E_NOTIMPL;
3684}
3685
3688{
3689 FIXME("%p, %p, %lu, %p, %p stub.\n", iface, buffer, buffer_size, file_size, append);
3690
3691 return E_NOTIMPL;
3692}
3693
3695{
3696 FIXME("%p, %s, %d stub.\n", iface, debugstr_w(filename), append);
3697
3698 return E_NOTIMPL;
3699}
3700
3702 ULONG *input_size)
3703{
3704 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, input_size);
3705
3706 return E_NOTIMPL;
3707}
3708
3710{
3711 FIXME("%p, %p stub.\n", iface, buffer);
3712
3713 return E_NOTIMPL;
3714}
3715
3716static HRESULT STDMETHODVCALLTYPE debugcontrol_OutputWide(IDebugControl4 *iface, ULONG mask, const WCHAR *format, ...)
3717{
3718 FIXME("%p, %lx, %s stub.\n", iface, mask, debugstr_w(format));
3719
3720 return E_NOTIMPL;
3721}
3722
3724 va_list args)
3725{
3726 FIXME("%p, %lx, %s stub.\n", iface, mask, debugstr_w(format));
3727
3728 return E_NOTIMPL;
3729}
3730
3731static HRESULT STDMETHODVCALLTYPE debugcontrol_ControlledOutputWide(IDebugControl4 *iface, ULONG output_control, ULONG mask,
3732 const WCHAR *format, ...)
3733{
3734 FIXME("%p, %lx, %lx, %s stub.\n", iface, output_control, mask, debugstr_w(format));
3735
3736 return E_NOTIMPL;
3737}
3738
3739static HRESULT STDMETHODCALLTYPE debugcontrol_ControlledOutputVaListWide(IDebugControl4 *iface, ULONG output_control,
3740 ULONG mask, const WCHAR *format, va_list args)
3741{
3742 FIXME("%p, %lx, %lx, %s stub.\n", iface, output_control, mask, debugstr_w(format));
3743
3744 return E_NOTIMPL;
3745}
3746
3747static HRESULT STDMETHODVCALLTYPE debugcontrol_OutputPromptWide(IDebugControl4 *iface, ULONG output_control,
3748 const WCHAR *format, ...)
3749{
3750 FIXME("%p, %lx, %s stub.\n", iface, output_control, debugstr_w(format));
3751
3752 return E_NOTIMPL;
3753}
3754
3755static HRESULT STDMETHODCALLTYPE debugcontrol_OutputPromptVaListWide(IDebugControl4 *iface, ULONG output_control,
3756 const WCHAR *format, va_list args)
3757{
3758 FIXME("%p, %lx, %s stub.\n", iface, output_control, debugstr_w(format));
3759
3760 return E_NOTIMPL;
3761}
3762
3764 ULONG *text_size)
3765{
3766 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, text_size);
3767
3768 return E_NOTIMPL;
3769}
3770
3771static HRESULT STDMETHODCALLTYPE debugcontrol_AssembleWide(IDebugControl4 *iface, ULONG64 offset, const WCHAR *instr,
3772 ULONG64 *end_offset)
3773{
3774 FIXME("%p, %s, %s, %p stub.\n", iface, wine_dbgstr_longlong(offset), debugstr_w(instr), end_offset);
3775
3776 return E_NOTIMPL;
3777}
3778
3780 ULONG buffer_size, ULONG *size, ULONG64 *end_offset)
3781{
3782 FIXME("%p, %s, %#lx, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, buffer, buffer_size, size, end_offset);
3783
3784 return E_NOTIMPL;
3785}
3786
3788 ULONG fullname_buffer_size, ULONG *fullname_size, WCHAR *abbrevname, ULONG abbrevname_buffer_size, ULONG *abbrevname_size)
3789{
3790 FIXME("%p, %lu, %p, %lu, %p, %p, %lu, %p stub.\n", iface, type, fullname, fullname_buffer_size, fullname_size, abbrevname,
3791 abbrevname_buffer_size, abbrevname_size);
3792
3793 return E_NOTIMPL;
3794}
3795
3797 ULONG buffer_size, ULONG *macro_size)
3798{
3799 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, slot, buffer, buffer_size, macro_size);
3800
3801 return E_NOTIMPL;
3802}
3803
3804static HRESULT STDMETHODCALLTYPE debugcontrol_SetTextMacroWide(IDebugControl4 *iface, ULONG slot, const WCHAR *macro)
3805{
3806 FIXME("%p, %lu, %s stub.\n", iface, slot, debugstr_w(macro));
3807
3808 return E_NOTIMPL;
3809}
3810
3811static HRESULT STDMETHODCALLTYPE debugcontrol_EvaluateWide(IDebugControl4 *iface, const WCHAR *expression, ULONG desired_type,
3812 DEBUG_VALUE *value, ULONG *remainder_index)
3813{
3814 FIXME("%p, %s, %lu, %p, %p stub.\n", iface, debugstr_w(expression), desired_type, value, remainder_index);
3815
3816 return E_NOTIMPL;
3817}
3818
3819static HRESULT STDMETHODCALLTYPE debugcontrol_ExecuteWide(IDebugControl4 *iface, ULONG output_control, const WCHAR *command,
3820 ULONG flags)
3821{
3822 FIXME("%p, %lx, %s, %lx stub.\n", iface, output_control, debugstr_w(command), flags);
3823
3824 return E_NOTIMPL;
3825}
3826
3827static HRESULT STDMETHODCALLTYPE debugcontrol_ExecuteCommandFileWide(IDebugControl4 *iface, ULONG output_control,
3828 const WCHAR *commandfile, ULONG flags)
3829{
3830 FIXME("%p, %lx, %s, %lx stub.\n", iface, output_control, debugstr_w(commandfile), flags);
3831
3832 return E_NOTIMPL;
3833}
3834
3836{
3837 FIXME("%p, %lu, %p stub.\n", iface, index, bp);
3838
3839 return E_NOTIMPL;
3840}
3841
3843{
3844 FIXME("%p, %lu, %p stub.\n", iface, id, bp);
3845
3846 return E_NOTIMPL;
3847}
3848
3849static HRESULT STDMETHODCALLTYPE debugcontrol_AddBreakpoint2(IDebugControl4 *iface, ULONG type, ULONG desired_id,
3851{
3852 FIXME("%p, %lu, %lu, %p stub.\n", iface, type, desired_id, bp);
3853
3854 return E_NOTIMPL;
3855}
3856
3858{
3859 FIXME("%p, %p stub.\n", iface, bp);
3860
3861 return E_NOTIMPL;
3862}
3863
3865 ULONG64 *handle)
3866{
3867 FIXME("%p, %s, %#lx, %p stub.\n", iface, debugstr_w(path), flags, handle);
3868
3869 return E_NOTIMPL;
3870}
3871
3873{
3874 FIXME("%p, %s, %p stub.\n", iface, debugstr_w(path), handle);
3875
3876 return E_NOTIMPL;
3877}
3878
3879static HRESULT STDMETHODCALLTYPE debugcontrol_CallExtensionWide(IDebugControl4 *iface, ULONG64 handle, const WCHAR *function,
3880 const WCHAR *arguments)
3881{
3882 FIXME("%p, %s, %s, %s stub.\n", iface, wine_dbgstr_longlong(handle), debugstr_w(function), debugstr_w(arguments));
3883
3884 return E_NOTIMPL;
3885}
3886
3888 const WCHAR *function, FARPROC *func)
3889{
3890 FIXME("%p, %s, %s, %p stub.\n", iface, wine_dbgstr_longlong(handle), debugstr_w(function), func);
3891
3892 return E_NOTIMPL;
3893}
3894
3896 ULONG buffer_size, ULONG *text_size)
3897{
3898 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, text_size);
3899
3900 return E_NOTIMPL;
3901}
3902
3904 ULONG buffer_size, ULONG *command_size)
3905{
3906 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, command_size);
3907
3908 return E_NOTIMPL;
3909}
3910
3912{
3913 FIXME("%p, %lu, %s stub.\n", iface, index, debugstr_w(command));
3914
3915 return E_NOTIMPL;
3916}
3917
3919 ULONG buffer_size, ULONG *argument_size)
3920{
3921 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, argument_size);
3922
3923 return E_NOTIMPL;
3924}
3925
3927 const WCHAR *argument)
3928{
3929 FIXME("%p, %lu, %s stub.\n", iface, index, debugstr_w(argument));
3930
3931 return E_NOTIMPL;
3932}
3933
3935 WCHAR *buffer, ULONG buffer_size, ULONG *command_size)
3936{
3937 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, command_size);
3938
3939 return E_NOTIMPL;
3940}
3941
3943 const WCHAR *command)
3944{
3945 FIXME("%p, %lu, %s stub.\n", iface, index, debugstr_w(command));
3946
3947 return E_NOTIMPL;
3948}
3949
3951 ULONG *threadid, void *extra_info, ULONG extra_info_size, ULONG *extra_info_used, WCHAR *desc, ULONG desc_size,
3952 ULONG *desc_used)
3953{
3954 FIXME("%p, %p, %p, %p, %p, %lu, %p, %p, %lu, %p stub.\n", iface, type, processid, threadid, extra_info, extra_info_size,
3955 extra_info_used, desc, desc_size, desc_used);
3956
3957 return E_NOTIMPL;
3958}
3959
3960static HRESULT STDMETHODCALLTYPE debugcontrol_GetTextReplacementWide(IDebugControl4 *iface, const WCHAR *src_text, ULONG index,
3961 WCHAR *src_buffer, ULONG src_buffer_size, ULONG *src_size, WCHAR *dst_buffer, ULONG dest_buffer_size, ULONG *dst_size)
3962{
3963 FIXME("%p, %s, %lu, %p, %lu, %p, %p, %lu, %p stub.\n", iface, debugstr_w(src_text), index, src_buffer, src_buffer_size,
3964 src_size, dst_buffer, dest_buffer_size, dst_size);
3965
3966 return E_NOTIMPL;
3967}
3968
3969static HRESULT STDMETHODCALLTYPE debugcontrol_SetTextReplacementWide(IDebugControl4 *iface, const WCHAR *src_text,
3970 const WCHAR *dst_text)
3971{
3972 FIXME("%p, %s, %s stub.\n", iface, debugstr_w(src_text), debugstr_w(dst_text));
3973
3974 return E_NOTIMPL;
3975}
3976
3977static HRESULT STDMETHODCALLTYPE debugcontrol_SetExpressionSyntaxByNameWide(IDebugControl4 *iface, const WCHAR *abbrevname)
3978{
3979 FIXME("%p, %s stub.\n", iface, debugstr_w(abbrevname));
3980
3981 return E_NOTIMPL;
3982}
3983
3985 WCHAR *fullname_buffer, ULONG fullname_buffer_size, ULONG *fullname_size, WCHAR *abbrevname_buffer,
3986 ULONG abbrevname_buffer_size, ULONG *abbrev_size)
3987{
3988 FIXME("%p, %lu, %p, %lu, %p, %p, %lu, %p stub.\n", iface, index, fullname_buffer, fullname_buffer_size, fullname_size,
3989 abbrevname_buffer, abbrevname_buffer_size, abbrev_size);
3990
3991 return E_NOTIMPL;
3992}
3993
3995 WCHAR *buffer, ULONG buffer_size, ULONG *desc_size)
3996{
3997 FIXME("%p, %lu, %lu, %p, %lu, %p stub.\n", iface, index, which, buffer, buffer_size, desc_size);
3998
3999 return E_NOTIMPL;
4000}
4001
4004{
4005 FIXME("%p, %p, %lu, %p, %p stub.\n", iface, buffer, buffer_size, file_size, flags);
4006
4007 return E_NOTIMPL;
4008}
4009
4010static HRESULT STDMETHODCALLTYPE debugcontrol_OpenLogFile2(IDebugControl4 *iface, const char *filename, ULONG flags)
4011{
4012 FIXME("%p, %s, %#lx stub.\n", iface, debugstr_a(filename), flags);
4013
4014 return E_NOTIMPL;
4015}
4016
4019{
4020 FIXME("%p, %p, %lu, %p, %p stub.\n", iface, buffer, buffer_size, file_size, flags);
4021
4022 return E_NOTIMPL;
4023}
4024
4026{
4027 FIXME("%p, %s, %#lx stub.\n", iface, debugstr_w(filename), flags);
4028
4029 return E_NOTIMPL;
4030}
4031
4032static HRESULT STDMETHODCALLTYPE debugcontrol_GetSystemVersionValues(IDebugControl4 *iface, ULONG *platformid,
4033 ULONG *win32major, ULONG *win32minor, ULONG *kdmajor, ULONG *kdminor)
4034{
4035 FIXME("%p, %p, %p, %p, %p, %p stub.\n", iface, platformid, win32major, win32minor, kdmajor, kdminor);
4036
4037 return E_NOTIMPL;
4038}
4039
4041 ULONG buffer_size, ULONG *string_size)
4042{
4043 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, which, buffer, buffer_size, string_size);
4044
4045 return E_NOTIMPL;
4046}
4047
4049 ULONG buffer_size, ULONG *string_size)
4050{
4051 FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, which, buffer, buffer_size, string_size);
4052
4053 return E_NOTIMPL;
4054}
4055
4056static HRESULT STDMETHODCALLTYPE debugcontrol_GetContextStackTrace(IDebugControl4 *iface, void *start_context,
4057 ULONG start_context_size, PDEBUG_STACK_FRAME frames, ULONG frames_size, void *frame_contexts, ULONG frame_contexts_size,
4058 ULONG frame_contexts_entry_size, ULONG *frames_filled)
4059{
4060 FIXME("%p, %p, %lu, %p, %lu, %p, %lu, %lu, %p stub.\n", iface, start_context, start_context_size, frames, frames_size,
4061 frame_contexts, frame_contexts_size, frame_contexts_entry_size, frames_filled);
4062
4063 return E_NOTIMPL;
4064}
4065
4066static HRESULT STDMETHODCALLTYPE debugcontrol_OutputContextStackTrace(IDebugControl4 *iface, ULONG output_control,
4067 PDEBUG_STACK_FRAME frames, ULONG frames_size, void *frame_contexts, ULONG frame_contexts_size,
4068 ULONG frame_contexts_entry_size, ULONG flags)
4069{
4070 FIXME("%p, %#lx, %p, %lu, %p, %lu, %lu, %#lx stub.\n", iface, output_control, frames, frames_size, frame_contexts,
4071 frame_contexts_size, frame_contexts_entry_size, flags);
4072
4073 return E_NOTIMPL;
4074}
4075
4077 ULONG *threadid, void *context, ULONG context_size, ULONG *context_used, void *extra_info, ULONG extra_info_size,
4078 ULONG *extra_info_used)
4079{
4080 FIXME("%p, %p, %p, %p, %p, %lu, %p, %p, %lu, %p stub.\n", iface, type, processid, threadid, context, context_size,
4081 context_used, extra_info, extra_info_size, extra_info_used);
4082
4083 return E_NOTIMPL;
4084}
4085
4086static HRESULT STDMETHODCALLTYPE debugcontrol_GetManagedStatus(IDebugControl4 *iface, ULONG *flags, ULONG which_string,
4087 char *string, ULONG string_size, ULONG string_needed)
4088{
4089 FIXME("%p, %p, %lu, %p, %lu, %lu stub.\n", iface, flags, which_string, string, string_size, string_needed);
4090
4091 return E_NOTIMPL;
4092}
4093
4095 WCHAR *string, ULONG string_size, ULONG string_needed)
4096{
4097 FIXME("%p, %p, %lu, %p, %lu, %lu stub.\n", iface, flags, which_string, string, string_size, string_needed);
4098
4099 return E_NOTIMPL;
4100}
4101
4103{
4104 FIXME("%p, %#lx stub.\n", iface, flags);
4105
4106 return E_NOTIMPL;
4107}
4108
4109static const IDebugControl4Vtbl debugcontrolvtbl =
4110{
4280};
4281
4283{
4285 return IUnknown_QueryInterface(&debug_client->IDebugClient_iface, riid, obj);
4286}
4287
4288static ULONG STDMETHODCALLTYPE debugadvanced_AddRef(IDebugAdvanced3 *iface)
4289{
4291 return IUnknown_AddRef(&debug_client->IDebugClient_iface);
4292}
4293
4294static ULONG STDMETHODCALLTYPE debugadvanced_Release(IDebugAdvanced3 *iface)
4295{
4297 return IUnknown_Release(&debug_client->IDebugClient_iface);
4298}
4299
4301 ULONG context_size)
4302{
4303 FIXME("%p, %p, %lu stub.\n", iface, context, context_size);
4304
4305 return E_NOTIMPL;
4306}
4307
4309 ULONG context_size)
4310{
4311 FIXME("%p, %p, %lu stub.\n", iface, context, context_size);
4312
4313 return E_NOTIMPL;
4314}
4315
4317 ULONG inbuffer_size, void *outbuffer, ULONG outbuffer_size, ULONG *outsize)
4318{
4319 FIXME("%p, %lu, %p, %lu, %p, %lu, %p stub.\n", iface, request, inbuffer, inbuffer_size, outbuffer, outbuffer_size, outsize);
4320
4321 return E_NOTIMPL;
4322}
4323
4324static HRESULT STDMETHODCALLTYPE debugadvanced_GetSourceFileInformation(IDebugAdvanced3 *iface, ULONG which, char *sourcefile,
4325 ULONG64 arg64, ULONG arg32, void *buffer, ULONG buffer_size, ULONG *info_size)
4326{
4327 FIXME("%p, %lu, %p, %s, %#lx, %p, %lu, %p stub.\n", iface, which, sourcefile, wine_dbgstr_longlong(arg64),
4328 arg32, buffer, buffer_size, info_size);
4329
4330 return E_NOTIMPL;
4331}
4332
4333static HRESULT STDMETHODCALLTYPE debugadvanced_FindSourceFileAndToken(IDebugAdvanced3 *iface, ULONG start_element,
4334 ULONG64 modaddr, const char *filename, ULONG flags, void *filetoken, ULONG filetokensize, ULONG *found_element,
4335 char *buffer, ULONG buffer_size, ULONG *found_size)
4336{
4337 FIXME("%p, %lu, %s, %s, %#lx, %p, %lu, %p, %p, %lu, %p stub.\n", iface, start_element, wine_dbgstr_longlong(modaddr),
4338 debugstr_a(filename), flags, filetoken, filetokensize, found_element, buffer, buffer_size, found_size);
4339
4340 return E_NOTIMPL;
4341}
4342
4344 ULONG arg32, void *buffer, ULONG buffer_size, ULONG *info_size, char *string_buffer, ULONG string_buffer_size,
4345 ULONG *string_size)
4346{
4347 FIXME("%p, %lu, %s, %#lx, %p, %lu, %p, %p, %lu, %p stub.\n", iface, which, wine_dbgstr_longlong(arg64),
4348 arg32, buffer, buffer_size, info_size, string_buffer, string_buffer_size, string_size);
4349
4350 return E_NOTIMPL;
4351}
4352
4354 ULONG arg32, void *buffer, ULONG buffer_size, ULONG *info_size)
4355{
4356 FIXME("%p, %lu, %s, %#lx, %p, %lu, %p stub.\n", iface, which, wine_dbgstr_longlong(arg64), arg32, buffer,
4357 buffer_size, info_size);
4358
4359 return E_NOTIMPL;
4360}
4361
4363 WCHAR *source_file, ULONG64 arg64, ULONG arg32, void *buffer, ULONG buffer_size, ULONG *info_size)
4364{
4365 FIXME("%p, %lu, %p, %s, %#lx, %p, %lu, %p stub.\n", iface, which, source_file, wine_dbgstr_longlong(arg64),
4366 arg32, buffer, buffer_size, info_size);
4367
4368 return E_NOTIMPL;
4369}
4370
4372 ULONG64 modaddr, const WCHAR *filename, ULONG flags, void *filetoken, ULONG filetokensize, ULONG *found_element,
4373 WCHAR *buffer, ULONG buffer_size, ULONG *found_size)
4374{
4375 FIXME("%p, %lu, %s, %s, %#lx, %p, %lu, %p, %p, %lu, %p stub.\n", iface, start_element, wine_dbgstr_longlong(modaddr),
4376 debugstr_w(filename), flags, filetoken, filetokensize, found_element, buffer, buffer_size, found_size);
4377
4378 return E_NOTIMPL;
4379}
4380
4382 ULONG arg32, void *buffer, ULONG buffer_size, ULONG *info_size, WCHAR *string_buffer, ULONG string_buffer_size,
4383 ULONG *string_size)
4384{
4385 FIXME("%p, %lu, %s, %#lx, %p, %lu, %p, %p, %lu, %p stub.\n", iface, which, wine_dbgstr_longlong(arg64),
4386 arg32, buffer, buffer_size, info_size, string_buffer, string_buffer_size, string_size);
4387
4388 return E_NOTIMPL;
4389}
4390
4391static const IDebugAdvanced3Vtbl debugadvancedvtbl =
4392{
4406};
4407
4409{
4411 return IUnknown_QueryInterface(&debug_client->IDebugClient_iface, riid, obj);
4412}
4413
4414static ULONG STDMETHODCALLTYPE debugsystemobjects_AddRef(IDebugSystemObjects *iface)
4415{
4417 return IUnknown_AddRef(&debug_client->IDebugClient_iface);
4418}
4419
4420static ULONG STDMETHODCALLTYPE debugsystemobjects_Release(IDebugSystemObjects *iface)
4421{
4423 return IUnknown_Release(&debug_client->IDebugClient_iface);
4424}
4425
4427{
4428 FIXME("%p, %p stub.\n", iface, id);
4429
4430 return E_NOTIMPL;
4431}
4432
4434{
4435 FIXME("%p, %p stub.\n", iface, id);
4436
4437 return E_NOTIMPL;
4438}
4439
4441{
4442 FIXME("%p, %p stub.\n", iface, id);
4443
4444 return E_NOTIMPL;
4445}
4446
4448{
4449 FIXME("%p, %lu stub.\n", iface, id);
4450
4451 return E_NOTIMPL;
4452}
4453
4455{
4456 FIXME("%p, %lu stub.\n", iface, id);
4457
4458 return E_NOTIMPL;
4459}
4460
4462{
4463 FIXME("%p, %p stub.\n", iface, number);
4464
4465 return E_NOTIMPL;
4466}
4467
4469 ULONG *largest_process)
4470{
4471 FIXME("%p, %p, %p stub.\n", iface, total, largest_process);
4472
4473 return E_NOTIMPL;
4474}
4475
4477 ULONG count, ULONG *ids, ULONG *sysids)
4478{
4479 FIXME("%p, %lu, %lu, %p, %p stub.\n", iface, start, count, ids, sysids);
4480
4481 return E_NOTIMPL;
4482}
4483
4485 ULONG *id)
4486{
4487 FIXME("%p, %lu, %p stub.\n", iface, processor, id);
4488
4489 return E_NOTIMPL;
4490}
4491
4493 ULONG64 *offset)
4494{
4495 FIXME("%p, %p stub.\n", iface, offset);
4496
4497 return E_NOTIMPL;
4498}
4499
4501 ULONG *id)
4502{
4503 FIXME("%p, %s, %p stub.\n", iface, wine_dbgstr_longlong(offset), id);
4504
4505 return E_NOTIMPL;
4506}
4507
4509{
4510 FIXME("%p, %p stub.\n", iface, offset);
4511
4512 return E_NOTIMPL;
4513}
4514
4516 ULONG *id)
4517{
4518 FIXME("%p, %s, %p stub.\n", iface, wine_dbgstr_longlong(offset), id);
4519
4520 return E_NOTIMPL;
4521}
4522
4524{
4525 FIXME("%p, %p stub.\n", iface, sysid);
4526
4527 return E_NOTIMPL;
4528}
4529
4531 ULONG *id)
4532{
4533 FIXME("%p, %lu, %p stub.\n", iface, sysid, id);
4534
4535 return E_NOTIMPL;
4536}
4537
4539{
4540 FIXME("%p, %p stub.\n", iface, handle);
4541
4542 return E_NOTIMPL;
4543}
4544
4546 ULONG *id)
4547{
4548 FIXME("%p, %s, %p stub.\n", iface, wine_dbgstr_longlong(handle), id);
4549
4550 return E_NOTIMPL;
4551}
4552
4554{
4555 FIXME("%p, %p stub.\n", iface, number);
4556
4557 return E_NOTIMPL;
4558}
4559
4561 ULONG count, ULONG *ids, ULONG *sysids)
4562{
4563 FIXME("%p, %lu, %lu, %p, %p stub.\n", iface, start, count, ids, sysids);
4564
4565 return E_NOTIMPL;
4566}
4567
4569 ULONG64 *offset)
4570{
4571 FIXME("%p, %p stub.\n", iface, offset);
4572
4573 return E_NOTIMPL;
4574}
4575
4577 ULONG64 offset, ULONG *id)
4578{
4579 FIXME("%p, %s, %p stub.\n", iface, wine_dbgstr_longlong(offset), id);
4580
4581 return E_NOTIMPL;
4582}
4583
4585{
4586 FIXME("%p, %p stub.\n", iface, offset);
4587
4588 return E_NOTIMPL;
4589}
4590
4592 ULONG *id)
4593{
4594 FIXME("%p, %s, %p stub.\n", iface, wine_dbgstr_longlong(offset), id);
4595
4596 return E_NOTIMPL;
4597}
4598
4600{
4601 FIXME("%p, %p stub.\n", iface, sysid);
4602
4603 return E_NOTIMPL;
4604}
4605
4607 ULONG *id)
4608{
4609 FIXME("%p, %lu, %p stub.\n", iface, sysid, id);
4610
4611 return E_NOTIMPL;
4612}
4613
4615 ULONG64 *handle)
4616{
4617 FIXME("%p, %p stub.\n", iface, handle);
4618
4619 return E_NOTIMPL;
4620}
4621
4623 ULONG *id)
4624{
4625 FIXME("%p, %s, %p stub.\n", iface, wine_dbgstr_longlong(handle), id);
4626
4627 return E_NOTIMPL;
4628}
4629
4631 char *buffer, ULONG buffer_size, ULONG *exe_size)
4632{
4633 FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, exe_size);
4634
4635 return E_NOTIMPL;
4636}
4637
4638static const IDebugSystemObjectsVtbl debugsystemobjectsvtbl =
4639{
4671};
4672
4673/************************************************************
4674* DebugExtensionInitialize (DBGENG.@)
4675*
4676* Initializing Debug Engine
4677*
4678* PARAMS
4679* pVersion [O] Receiving the version of extension
4680* pFlags [O] Reserved
4681*
4682* RETURNS
4683* Success: S_OK
4684* Failure: Anything other than S_OK
4685*
4686* BUGS
4687* Unimplemented
4688*/
4690{
4691 FIXME("(%p,%p): stub\n", pVersion, pFlags);
4692
4694
4695 return E_NOTIMPL;
4696}
4697
4698/************************************************************
4699* DebugCreate (dbgeng.@)
4700*/
4702{
4703 struct debug_client *debug_client;
4704 HRESULT hr;
4705
4706 TRACE("%s, %p.\n", debugstr_guid(riid), obj);
4707
4708 if (!(debug_client = calloc(1, sizeof(*debug_client))))
4709 return E_OUTOFMEMORY;
4710
4719
4720 hr = IUnknown_QueryInterface(&debug_client->IDebugClient_iface, riid, obj);
4721 IUnknown_Release(&debug_client->IDebugClient_iface);
4722
4723 return hr;
4724}
4725
4726/************************************************************
4727* DebugCreateEx (DBGENG.@)
4728*/
4730{
4731 FIXME("%s, %#lx, %p: stub\n", debugstr_guid(riid), flags, obj);
4732
4733 return E_NOTIMPL;
4734}
4735
4736/************************************************************
4737* DebugConnect (DBGENG.@)
4738*
4739* Creating Debug Engine client object and connecting it to remote host
4740*
4741* PARAMS
4742* RemoteOptions [I] Options which define how debugger engine connects to remote host
4743* InterfaceId [I] Interface Id of debugger client
4744* pInterface [O] Pointer to interface as requested via InterfaceId
4745*
4746* RETURNS
4747* Success: S_OK
4748* Failure: Anything other than S_OK
4749*
4750* BUGS
4751* Unimplemented
4752*/
4754{
4755 FIXME("(%p,%p,%p): stub\n", RemoteOptions, InterfaceId, pInterface);
4756
4758
4759 return E_NOTIMPL;
4760}
#define InterlockedIncrement
Definition: armddk.h:53
#define InterlockedDecrement
Definition: armddk.h:52
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
LONG NTSTATUS
Definition: precomp.h:26
#define ARRAY_SIZE(A)
Definition: main.h:20
static void list_remove(struct list_entry *entry)
Definition: list.h:90
static int list_empty(struct list_entry *head)
Definition: list.h:58
static void list_add_head(struct list_entry *head, struct list_entry *entry)
Definition: list.h:76
static void list_init(struct list_entry *head)
Definition: list.h:51
#define FIXME(fmt,...)
Definition: precomp.h:53
#define WARN(fmt,...)
Definition: precomp.h:61
#define STDMETHODVCALLTYPE
Definition: basetyps.h:38
const GUID IID_IUnknown
#define STDMETHODCALLTYPE
Definition: bdasup.h:9
Definition: list.h:37
static LPCWSTR LPCWSTR module_name
Definition: db.cpp:171
static HRESULT STDMETHODCALLTYPE debugcontrol_GetPromptText(IDebugControl4 *iface, char *buffer, ULONG buffer_size, ULONG *text_size)
Definition: dbgeng.c:2839
static HRESULT STDMETHODCALLTYPE debugclient_SetQuitLockString(IDebugClient7 *iface, char *string)
Definition: dbgeng.c:1038
static HRESULT STDMETHODCALLTYPE debugcontrol_SetTextMacro(IDebugControl4 *iface, ULONG slot, const char *macro)
Definition: dbgeng.c:3218
static HRESULT STDMETHODCALLTYPE debugcontrol_AddAssemblyOptions(IDebugControl4 *iface, ULONG options)
Definition: dbgeng.c:3598
static HRESULT STDMETHODCALLTYPE debugclient_GetProcessOptions(IDebugClient7 *iface, ULONG *options)
Definition: dbgeng.c:497
static HRESULT STDMETHODVCALLTYPE debugcontrol_OutputWide(IDebugControl4 *iface, ULONG mask, const WCHAR *format,...)
Definition: dbgeng.c:3716
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleNameStringWide(IDebugSymbols3 *iface, ULONG which, ULONG index, ULONG64 base, WCHAR *buffer, ULONG buffer_size, ULONG *name_size)
Definition: dbgeng.c:2266
static HRESULT STDMETHODCALLTYPE debugsymbols_OutputTypedDataVirtual(IDebugSymbols3 *iface, ULONG output_control, ULONG64 offset, ULONG64 base, ULONG type_id, ULONG flags)
Definition: dbgeng.c:1693
static HRESULT STDMETHODCALLTYPE debugclient_SetInputCallbacks(IDebugClient7 *iface, IDebugInputCallbacks *callbacks)
Definition: dbgeng.c:625
static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadControl(IDebugDataSpaces *iface, ULONG processor, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *read_len)
Definition: dbgeng.c:1285
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolPath(IDebugSymbols3 *iface, char *buffer, ULONG buffer_size, ULONG *path_size)
Definition: dbgeng.c:1798
static HRESULT STDMETHODCALLTYPE debugsymbols_SetScope(IDebugSymbols3 *iface, ULONG64 instr_offset, DEBUG_STACK_FRAME *frame, void *scope_context, ULONG scope_context_size)
Definition: dbgeng.c:1737
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourcePath(IDebugSymbols3 *iface, char *buffer, ULONG buffer_size, ULONG *path_size)
Definition: dbgeng.c:1842
static HRESULT STDMETHODCALLTYPE debugsymbols_GetLineByOffset(IDebugSymbols3 *iface, ULONG64 offset, ULONG *line, char *buffer, ULONG buffer_size, ULONG *file_size, ULONG64 *displacement)
Definition: dbgeng.c:1473
static HRESULT STDMETHODCALLTYPE debugcontrol_GetInterrupt(IDebugControl4 *iface)
Definition: dbgeng.c:2715
static HRESULT STDMETHODCALLTYPE debugcontrol_GetWindbgExtensionApis64(IDebugControl4 *iface, PWINDBG_EXTENSION_APIS64 api)
Definition: dbgeng.c:3371
static HRESULT STDMETHODCALLTYPE debugclient_TerminateCurrentProcess(IDebugClient7 *iface)
Definition: dbgeng.c:786
static HRESULT STDMETHODCALLTYPE debugadvanced_GetThreadContext(IDebugAdvanced3 *iface, void *context, ULONG context_size)
Definition: dbgeng.c:4300
static HRESULT STDMETHODCALLTYPE debugcontrol_GetCurrentTimeDate(IDebugControl4 *iface, ULONG timedate)
Definition: dbgeng.c:3530
static HRESULT STDMETHODCALLTYPE debugclient_GetKernelConnectionOptionsWide(IDebugClient7 *iface, WCHAR *buffer, ULONG buf_size, ULONG *size)
Definition: dbgeng.c:879
static HRESULT STDMETHODCALLTYPE debugsystemobjects_SetCurrentThreadId(IDebugSystemObjects *iface, ULONG id)
Definition: dbgeng.c:4447
static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFileWide(IDebugClient7 *iface, const WCHAR *filename, ULONG64 handle)
Definition: dbgeng.c:832
static struct debug_client * impl_from_IDebugDataSpaces(IDebugDataSpaces *iface)
Definition: dbgeng.c:265
static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSymbolPathWide(IDebugSymbols3 *iface, const WCHAR *addition)
Definition: dbgeng.c:2181
static const IDebugAdvanced3Vtbl debugadvancedvtbl
Definition: dbgeng.c:4391
static HRESULT STDMETHODCALLTYPE debugsymbols_GetCurrentScopeFrameIndex(IDebugSymbols3 *iface, ULONG *index)
Definition: dbgeng.c:2349
static HRESULT STDMETHODCALLTYPE debugcontrol_CoerceValue(IDebugControl4 *iface, DEBUG_VALUE input, ULONG output_type, DEBUG_VALUE *output)
Definition: dbgeng.c:3247
static HRESULT STDMETHODCALLTYPE debugclient_SetOutputLinePrefixWide(IDebugClient7 *iface, const WCHAR *prefix)
Definition: dbgeng.c:934
static HRESULT STDMETHODCALLTYPE debugcontrol_GetLastEventInformation(IDebugControl4 *iface, ULONG *type, ULONG *pid, ULONG *tid, void *extra_info, ULONG extra_info_size, ULONG *extra_info_used, char *description, ULONG desc_size, ULONG *desc_used)
Definition: dbgeng.c:3520
static HRESULT STDMETHODCALLTYPE debugcontrol_SetTextReplacementWide(IDebugControl4 *iface, const WCHAR *src_text, const WCHAR *dst_text)
Definition: dbgeng.c:3969
static HRESULT STDMETHODCALLTYPE debugadvanced_Request(IDebugAdvanced3 *iface, ULONG request, void *inbuffer, ULONG inbuffer_size, void *outbuffer, ULONG outbuffer_size, ULONG *outsize)
Definition: dbgeng.c:4316
static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess2(IDebugClient7 *iface, ULONG64 server, char *command, void *options, ULONG buf_size, const char *initial, const char *environment)
Definition: dbgeng.c:964
static HRESULT STDMETHODCALLTYPE debugcontrol_Execute(IDebugControl4 *iface, ULONG output_control, const char *command, ULONG flags)
Definition: dbgeng.c:3263
static HRESULT STDMETHODCALLTYPE debugcontrol_SetEventFilterCommandWide(IDebugControl4 *iface, ULONG index, const WCHAR *command)
Definition: dbgeng.c:3911
static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeSize(IDebugSymbols3 *iface, ULONG64 base, ULONG type_id, ULONG *size)
Definition: dbgeng.c:1643
static HRESULT STDMETHODCALLTYPE debugcontrol_GetCurrentSystemUpTime(IDebugControl4 *iface, ULONG uptime)
Definition: dbgeng.c:3537
static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteBusData(IDebugDataSpaces *iface, ULONG data_type, ULONG bus_number, ULONG slot_number, ULONG offset, void *buffer, ULONG buffer_size, ULONG *written)
Definition: dbgeng.c:1342
static struct debug_client * impl_from_IDebugAdvanced3(IDebugAdvanced3 *iface)
Definition: dbgeng.c:280
static HRESULT STDMETHODCALLTYPE debugsymbols_FindSourceFileWide(IDebugSymbols3 *iface, ULONG start_element, const WCHAR *file, ULONG flags, ULONG *found_element, WCHAR *buffer, ULONG buffer_size, ULONG *found_size)
Definition: dbgeng.c:2240
static HRESULT STDMETHODCALLTYPE debugclient_GetOutputLinePrefixWide(IDebugClient7 *iface, WCHAR *buffer, ULONG buf_size, ULONG *size)
Definition: dbgeng.c:928
static HRESULT STDMETHODCALLTYPE debugcontrol_ExecuteWide(IDebugControl4 *iface, ULONG output_control, const WCHAR *command, ULONG flags)
Definition: dbgeng.c:3819
static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadVirtual(IDebugDataSpaces *iface, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *read_len)
Definition: dbgeng.c:1193
static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldTypeAndOffset(IDebugSymbols3 *iface, ULONG64 module, ULONG container_type_id, const char *field, ULONG *field_type_id, ULONG *offset)
Definition: dbgeng.c:2395
static HRESULT STDMETHODCALLTYPE debugcontrol_GetEngineOptions(IDebugControl4 *iface, ULONG *options)
Definition: dbgeng.c:3144
static HRESULT STDMETHODCALLTYPE debugclient_StartProcessServer(IDebugClient7 *iface, ULONG flags, const char *options, void *reserved)
Definition: dbgeng.c:407
static HRESULT STDMETHODCALLTYPE debugcontrol_GetDebuggeeType(IDebugControl4 *iface, ULONG *debug_class, ULONG *qualifier)
Definition: dbgeng.c:2950
static DWORD debug_target_get_module_timestamp(struct target_process *target, HMODULE module)
Definition: dbgeng.c:125
static HRESULT STDMETHODCALLTYPE debugsymbols_AddSyntheticModule(IDebugSymbols3 *iface, ULONG64 base, ULONG size, const char *image_path, const char *module_name, ULONG flags)
Definition: dbgeng.c:2324
static HRESULT STDMETHODCALLTYPE debugcontrol_GetCurrentEventIndex(IDebugControl4 *iface, ULONG *index)
Definition: dbgeng.c:3671
static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeOptions(IDebugSymbols3 *iface, ULONG *options)
Definition: dbgeng.c:2008
static HRESULT STDMETHODCALLTYPE debugsymbols_SetSymbolPathWide(IDebugSymbols3 *iface, const WCHAR *path)
Definition: dbgeng.c:2174
static HRESULT STDMETHODCALLTYPE debugcontrol_GetWindbgExtensionApis32(IDebugControl4 *iface, PWINDBG_EXTENSION_APIS32 api)
Definition: dbgeng.c:3363
static HRESULT STDMETHODCALLTYPE debugcontrol_GetRadix(IDebugControl4 *iface, ULONG *radix)
Definition: dbgeng.c:3225
static HRESULT STDMETHODCALLTYPE debugcontrol_GetSpecificFilterSecondCommandWide(IDebugControl4 *iface, ULONG index, WCHAR *buffer, ULONG buffer_size, ULONG *command_size)
Definition: dbgeng.c:3934
static HRESULT STDMETHODCALLTYPE debugclient_PushOutputLinePrefixWide(IDebugClient7 *iface, const WCHAR *prefix, ULONG64 *handle)
Definition: dbgeng.c:1002
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNotifyEventHandle(IDebugControl4 *iface, ULONG64 *handle)
Definition: dbgeng.c:2862
static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadBusData(IDebugDataSpaces *iface, ULONG data_type, ULONG bus_number, ULONG slot_number, ULONG offset, void *buffer, ULONG buffer_size, ULONG *read_len)
Definition: dbgeng.c:1333
static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFileWide(IDebugClient7 *iface, const WCHAR *filename, ULONG64 handle, ULONG qualifier, ULONG flags, const WCHAR *comment)
Definition: dbgeng.c:838
static HRESULT STDMETHODCALLTYPE debugsymbols_GetNearNameByOffset(IDebugSymbols3 *iface, ULONG64 offset, LONG delta, char *buffer, ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
Definition: dbgeng.c:1464
static HRESULT STDMETHODCALLTYPE debugsymbols_AppendImagePathWide(IDebugSymbols3 *iface, const WCHAR *addition)
Definition: dbgeng.c:2203
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByOffset2(IDebugSymbols3 *iface, ULONG64 offset, ULONG start_index, ULONG flags, ULONG *index, ULONG64 *base)
Definition: dbgeng.c:2316
static HRESULT STDMETHODCALLTYPE debugsymbols_GetFunctionEntryByOffset(IDebugSymbols3 *iface, ULONG64 offset, ULONG flags, void *buffer, ULONG buffer_size, ULONG *needed_size)
Definition: dbgeng.c:2386
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolOptions(IDebugSymbols3 *iface, ULONG *options)
Definition: dbgeng.c:1419
static HRESULT STDMETHODCALLTYPE debugsymbols_GetNextSymbolMatchWide(IDebugSymbols3 *iface, ULONG64 handle, WCHAR *buffer, ULONG buffer_size, ULONG *match_size, ULONG64 *offset)
Definition: dbgeng.c:2151
static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointById2(IDebugControl4 *iface, ULONG id, PDEBUG_BREAKPOINT2 *bp)
Definition: dbgeng.c:3842
static HRESULT STDMETHODCALLTYPE debugcontrol_SetTextReplacement(IDebugControl4 *iface, const char *src_text, const char *dst_text)
Definition: dbgeng.c:3568
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleName(IDebugSymbols3 *iface, const char *name, ULONG start_index, ULONG *index, ULONG64 *base)
Definition: dbgeng.c:1529
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleNames(IDebugSymbols3 *iface, ULONG index, ULONG64 base, char *image_name, ULONG image_name_buffer_size, ULONG *image_name_size, char *module_name, ULONG module_name_buffer_size, ULONG *module_name_size, char *loaded_image_name, ULONG loaded_image_name_buffer_size, ULONG *loaded_image_size)
Definition: dbgeng.c:1566
static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess(IDebugClient7 *iface, ULONG64 server, char *cmdline, ULONG flags)
Definition: dbgeng.c:480
static ULONG STDMETHODCALLTYPE debugsystemobjects_Release(IDebugSystemObjects *iface)
Definition: dbgeng.c:4420
static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttach2Wide(IDebugClient7 *iface, ULONG64 server, WCHAR *command, void *buffer, ULONG buf_size, const WCHAR *initial, const WCHAR *environment, ULONG processid, ULONG flags)
Definition: dbgeng.c:988
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourcePathElement(IDebugSymbols3 *iface, ULONG index, char *buffer, ULONG buffer_size, ULONG *element_size)
Definition: dbgeng.c:1850
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolModule(IDebugSymbols3 *iface, const char *symbol, ULONG64 *base)
Definition: dbgeng.c:1619
static HRESULT STDMETHODCALLTYPE debugcontrol_AddExtension(IDebugControl4 *iface, const char *path, ULONG flags, ULONG64 *handle)
Definition: dbgeng.c:3324
static HRESULT STDMETHODCALLTYPE debugcontrol_Disassemble(IDebugControl4 *iface, ULONG64 offset, ULONG flags, char *buffer, ULONG buffer_size, ULONG *disassm_size, ULONG64 *end_offset)
Definition: dbgeng.c:2884
static void debug_client_detach_target(struct target_process *target)
Definition: dbgeng.c:238
static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeNameWide(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id, WCHAR *buffer, ULONG buffer_size, ULONG *name_size)
Definition: dbgeng.c:2095
static HRESULT STDMETHODCALLTYPE debugcontrol_GetLogFileWide(IDebugControl4 *iface, WCHAR *buffer, ULONG buffer_size, ULONG *file_size, BOOL *append)
Definition: dbgeng.c:3686
static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldOffsetWide(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id, const WCHAR *field, ULONG *offset)
Definition: dbgeng.c:2112
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetProcessIdsByIndex(IDebugSystemObjects *iface, ULONG start, ULONG count, ULONG *ids, ULONG *sysids)
Definition: dbgeng.c:4560
static HRESULT STDMETHODCALLTYPE debugclient_CreateClient(IDebugClient7 *iface, IDebugClient **client)
Definition: dbgeng.c:611
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExtensionFunctionWide(IDebugControl4 *iface, ULONG64 handle, const WCHAR *function, FARPROC *func)
Definition: dbgeng.c:3887
static HRESULT STDMETHODCALLTYPE debugsymbols_IsManagedModule(IDebugSymbols3 *iface, ULONG index, ULONG64 base)
Definition: dbgeng.c:2293
static HRESULT STDMETHODCALLTYPE debugcontrol_GetPossibleExecutingProcessorTypes(IDebugControl4 *iface, ULONG start, ULONG count, ULONG *types)
Definition: dbgeng.c:3004
static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointByIndex2(IDebugControl4 *iface, ULONG index, PDEBUG_BREAKPOINT2 *bp)
Definition: dbgeng.c:3835
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetNumberThreads(IDebugSystemObjects *iface, ULONG *number)
Definition: dbgeng.c:4461
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputTextReplacements(IDebugControl4 *iface, ULONG output_control, ULONG flags)
Definition: dbgeng.c:3583
static ULONG STDMETHODCALLTYPE debugclient_AddRef(IDebugClient7 *iface)
Definition: dbgeng.c:345
static HRESULT STDMETHODCALLTYPE debugsymbols_GetConstantNameWide(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id, ULONG64 value, WCHAR *buffer, ULONG buffer_size, ULONG *name_size)
Definition: dbgeng.c:2275
static HRESULT STDMETHODCALLTYPE debugcontrol_GetEventIndexDescriptionWide(IDebugControl4 *iface, ULONG index, ULONG which, WCHAR *buffer, ULONG buffer_size, ULONG *desc_size)
Definition: dbgeng.c:3994
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByIndex(IDebugSymbols3 *iface, ULONG index, ULONG64 *base)
Definition: dbgeng.c:1510
static HRESULT STDMETHODCALLTYPE debugdataspaces_WritePhysical(IDebugDataSpaces *iface, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *written)
Definition: dbgeng.c:1277
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntriesByName(IDebugSymbols3 *iface, const char *symbol, ULONG flags, DEBUG_MODULE_AND_ID *ids, ULONG count, ULONG *entries)
Definition: dbgeng.c:2445
static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteVirtual(IDebugDataSpaces *iface, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *written)
Definition: dbgeng.c:1220
static HRESULT STDMETHODCALLTYPE debugcontrol_GetReturnOffset(IDebugControl4 *iface, ULONG64 *offset)
Definition: dbgeng.c:2935
static HRESULT STDMETHODCALLTYPE debugcontrol_AddBreakpoint2(IDebugControl4 *iface, ULONG type, ULONG desired_id, PDEBUG_BREAKPOINT2 *bp)
Definition: dbgeng.c:3849
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExecutionStatus(IDebugControl4 *iface, ULONG *status)
Definition: dbgeng.c:3116
static HRESULT STDMETHODCALLTYPE debugcontrol_ControlledOutputVaListWide(IDebugControl4 *iface, ULONG output_control, ULONG mask, const WCHAR *format, va_list args)
Definition: dbgeng.c:3739
static HRESULT STDMETHODCALLTYPE debugsymbols_WriteTypedDataPhysical(IDebugSymbols3 *iface, ULONG64 offset, ULONG64 base, ULONG type_id, void *buffer, ULONG buffer_size, ULONG *written)
Definition: dbgeng.c:1711
static const struct module_info * debug_target_get_module_info(struct target_process *target, unsigned int i)
Definition: dbgeng.c:211
static HRESULT STDMETHODCALLTYPE debugcontrol_GetDisassembleEffectiveOffset(IDebugControl4 *iface, ULONG64 *offset)
Definition: dbgeng.c:2893
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetTotalNumberThreads(IDebugSystemObjects *iface, ULONG *total, ULONG *largest_process)
Definition: dbgeng.c:4468
static HRESULT STDMETHODCALLTYPE debugclient_GetKernelConnectionOptions(IDebugClient7 *iface, char *buffer, ULONG buffer_size, ULONG *options_size)
Definition: dbgeng.c:392
static HRESULT STDMETHODCALLTYPE debugcontrol_RemoveTextReplacements(IDebugControl4 *iface)
Definition: dbgeng.c:3576
static HRESULT STDMETHODCALLTYPE debugclient_GetExitCode(IDebugClient7 *iface, ULONG *code)
Definition: dbgeng.c:590
static HRESULT STDMETHODCALLTYPE debugclient_SetOutputCallbacksWide(IDebugClient7 *iface, IDebugOutputCallbacksWide *callbacks)
Definition: dbgeng.c:922
static ULONG STDMETHODCALLTYPE debugcontrol_Release(IDebugControl4 *iface)
Definition: dbgeng.c:2709
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberProcessors(IDebugControl4 *iface, ULONG *count)
Definition: dbgeng.c:3012
static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttachWide(IDebugClient7 *iface, ULONG64 server, WCHAR *commandline, ULONG flags, ULONG processid, ULONG attachflags)
Definition: dbgeng.c:825
static HRESULT STDMETHODCALLTYPE debugclient_GetOutputMask(IDebugClient7 *iface, ULONG *mask)
Definition: dbgeng.c:646
static HRESULT STDMETHODCALLTYPE debugsymbols_EndSymbolMatch(IDebugSymbols3 *iface, ULONG64 handle)
Definition: dbgeng.c:1784
static HRESULT STDMETHODCALLTYPE debugsymbols_GetNumberModules(IDebugSymbols3 *iface, ULONG *loaded, ULONG *unloaded)
Definition: dbgeng.c:1490
static HRESULT STDMETHODCALLTYPE debugadvanced_GetSymbolInformationWide(IDebugAdvanced3 *iface, ULONG which, ULONG64 arg64, ULONG arg32, void *buffer, ULONG buffer_size, ULONG *info_size, WCHAR *string_buffer, ULONG string_buffer_size, ULONG *string_size)
Definition: dbgeng.c:4381
static ULONG STDMETHODCALLTYPE debugadvanced_Release(IDebugAdvanced3 *iface)
Definition: dbgeng.c:4294
static HRESULT STDMETHODCALLTYPE debugsymbols_SetTypeOptions(IDebugSymbols3 *iface, ULONG options)
Definition: dbgeng.c:2029
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberTextReplacement(IDebugControl4 *iface, const char *src_text, ULONG index, char *src_buffer, ULONG src_buffer_size, ULONG *src_size, char *dst_buffer, ULONG dst_buffer_size, ULONG *dst_size)
Definition: dbgeng.c:3558
static struct debug_client * impl_from_IDebugControl4(IDebugControl4 *iface)
Definition: dbgeng.c:275
static HRESULT STDMETHODCALLTYPE debugsymbols_AddSyntheticSymbol(IDebugSymbols3 *iface, ULONG64 offset, ULONG size, const char *name, ULONG flags, DEBUG_MODULE_AND_ID *id)
Definition: dbgeng.c:2413
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExtensionByPath(IDebugControl4 *iface, const char *path, ULONG64 *handle)
Definition: dbgeng.c:3339
static HRESULT STDMETHODCALLTYPE debugsymbols_ReadTypedDataPhysical(IDebugSymbols3 *iface, ULONG64 offset, ULONG64 base, ULONG type_id, void *buffer, ULONG buffer_size, ULONG *read_len)
Definition: dbgeng.c:1702
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberTextPlacements(IDebugControl4 *iface, ULONG *count)
Definition: dbgeng.c:3551
static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutableName(IDebugClient7 *iface, ULONG64 server, const char *exe_name, ULONG flags, ULONG *id)
Definition: dbgeng.c:438
static HRESULT STDMETHODCALLTYPE debugcontrol_AddEngineOptions(IDebugControl4 *iface, ULONG options)
Definition: dbgeng.c:3155
static HRESULT STDMETHODCALLTYPE debugclient_GetIdentity(IDebugClient7 *iface, char *buffer, ULONG buffer_size, ULONG *identity_size)
Definition: dbgeng.c:703
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolTypeIdWide(IDebugSymbols3 *iface, const WCHAR *symbol, ULONG *type_id, ULONG64 *module)
Definition: dbgeng.c:2120
static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile2(IDebugClient7 *iface, const char *dumpfile, ULONG qualifier, ULONG flags, const char *comment)
Definition: dbgeng.c:755
static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteMsr(IDebugDataSpaces *iface, ULONG msr, ULONG64 value)
Definition: dbgeng.c:1326
static HRESULT STDMETHODCALLTYPE debugsymbols_CreateSymbolGroup2(IDebugSymbols3 *iface, PDEBUG_SYMBOL_GROUP2 *group)
Definition: dbgeng.c:2136
static HRESULT STDMETHODCALLTYPE debugsymbols_RemoveTypeOptions(IDebugSymbols3 *iface, ULONG options)
Definition: dbgeng.c:2022
static HRESULT STDMETHODCALLTYPE debugclient_SetProcessOptions(IDebugClient7 *iface, ULONG options)
Definition: dbgeng.c:518
static HRESULT STDMETHODCALLTYPE debugclient_GetInputCallbacks(IDebugClient7 *iface, IDebugInputCallbacks **callbacks)
Definition: dbgeng.c:618
static HRESULT STDMETHODCALLTYPE debugclient_GetNumberInputCallbacks(IDebugClient7 *iface, ULONG *count)
Definition: dbgeng.c:1014
static HRESULT STDMETHODCALLTYPE debugsymbols_GetConstantName(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id, ULONG64 value, char *buffer, ULONG buffer_size, ULONG *name_size)
Definition: dbgeng.c:1990
static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIds(IDebugClient7 *iface, ULONG64 server, ULONG *ids, ULONG count, ULONG *actual_count)
Definition: dbgeng.c:430
static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeIdWide(IDebugSymbols3 *iface, ULONG64 module, const WCHAR *name, ULONG *type_id)
Definition: dbgeng.c:2104
static HRESULT STDMETHODCALLTYPE debugclient_SetOtherOutputMask(IDebugClient7 *iface, IDebugClient *client, ULONG mask)
Definition: dbgeng.c:667
static HRESULT STDMETHODCALLTYPE debugcontrol_SetSystemErrorControl(IDebugControl4 *iface, ULONG output_level, ULONG break_level)
Definition: dbgeng.c:3202
static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteControl(IDebugDataSpaces *iface, ULONG processor, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *written)
Definition: dbgeng.c:1293
static HRESULT STDMETHODCALLTYPE debugsymbols_SetScopeFrameByIndex(IDebugSymbols3 *iface, ULONG index)
Definition: dbgeng.c:2356
static HRESULT STDMETHODCALLTYPE debugclient_OutputIdentity(IDebugClient7 *iface, ULONG output_control, ULONG flags, const char *format)
Definition: dbgeng.c:711
static HRESULT STDMETHODCALLTYPE debugclient_AttachProcess(IDebugClient7 *iface, ULONG64 server, ULONG pid, ULONG flags)
Definition: dbgeng.c:456
static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFile(IDebugClient7 *iface, const char *filename)
Definition: dbgeng.c:525
static HRESULT STDMETHODCALLTYPE debugcontrol_QueryInterface(IDebugControl4 *iface, REFIID riid, void **obj)
Definition: dbgeng.c:2697
static HRESULT STDMETHODVCALLTYPE debugcontrol_ControlledOutput(IDebugControl4 *iface, ULONG output_control, ULONG mask, const char *format,...)
Definition: dbgeng.c:2807
static HRESULT STDMETHODCALLTYPE debugcontrol_GetProcessorTypeNamesWide(IDebugControl4 *iface, ULONG type, WCHAR *fullname, ULONG fullname_buffer_size, ULONG *fullname_size, WCHAR *abbrevname, ULONG abbrevname_buffer_size, ULONG *abbrevname_size)
Definition: dbgeng.c:3787
static HRESULT STDMETHODCALLTYPE debugclient_DetachCurrentProcess(IDebugClient7 *iface)
Definition: dbgeng.c:792
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetProcessIdBySystemId(IDebugSystemObjects *iface, ULONG sysid, ULONG *id)
Definition: dbgeng.c:4606
static HRESULT STDMETHODCALLTYPE debugsymbols_AppendImagePath(IDebugSymbols3 *iface, const char *path)
Definition: dbgeng.c:1835
static HRESULT STDMETHODCALLTYPE debugcontrol_CallExtension(IDebugControl4 *iface, ULONG64 handle, const char *function, const char *args)
Definition: dbgeng.c:3347
static HRESULT STDMETHODCALLTYPE debugsymbols_GetNextSymbolMatch(IDebugSymbols3 *iface, ULONG64 handle, char *buffer, ULONG buffer_size, ULONG *match_size, ULONG64 *offset)
Definition: dbgeng.c:1776
static HRESULT STDMETHODCALLTYPE debugsymbols_ReadTypedDataVirtual(IDebugSymbols3 *iface, ULONG64 offset, ULONG64 base, ULONG type_id, void *buffer, ULONG buffer_size, ULONG *read_len)
Definition: dbgeng.c:1675
static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeName(IDebugSymbols3 *iface, ULONG64 base, ULONG type_id, char *buffer, ULONG buffer_size, ULONG *name_size)
Definition: dbgeng.c:1626
static HRESULT STDMETHODCALLTYPE debugcontrol_GetLogFile2(IDebugControl4 *iface, char *buffer, ULONG buffer_size, ULONG *file_size, ULONG *flags)
Definition: dbgeng.c:4002
static HRESULT STDMETHODCALLTYPE debugcontrol_SetSpecificFilterArgumentWide(IDebugControl4 *iface, ULONG index, const WCHAR *argument)
Definition: dbgeng.c:3926
static HRESULT STDMETHODCALLTYPE debugcontrol_Assemble(IDebugControl4 *iface, ULONG64 offset, const char *code, ULONG64 *end_offset)
Definition: dbgeng.c:2876
static HRESULT STDMETHODCALLTYPE debugcontrol_IsPointer64Bit(IDebugControl4 *iface)
Definition: dbgeng.c:3036
static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadProcessorSystemData(IDebugDataSpaces *iface, ULONG processor, ULONG index, void *buffer, ULONG buffer_size, ULONG *data_size)
Definition: dbgeng.c:1366
static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSourcePath(IDebugSymbols3 *iface, const char *path)
Definition: dbgeng.c:1865
static HRESULT STDMETHODCALLTYPE debugcontrol_ReturnInputWide(IDebugControl4 *iface, const WCHAR *buffer)
Definition: dbgeng.c:3709
static HRESULT STDMETHODCALLTYPE debugsymbols_AddSyntheticModuleWide(IDebugSymbols3 *iface, ULONG64 base, ULONG size, const WCHAR *image_path, const WCHAR *module_name, ULONG flags)
Definition: dbgeng.c:2333
static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadMsr(IDebugDataSpaces *iface, ULONG msr, ULONG64 *value)
Definition: dbgeng.c:1319
static HRESULT STDMETHODVCALLTYPE debugcontrol_OutputPromptWide(IDebugControl4 *iface, ULONG output_control, const WCHAR *format,...)
Definition: dbgeng.c:3747
static ULONG STDMETHODCALLTYPE debugsymbols_AddRef(IDebugSymbols3 *iface)
Definition: dbgeng.c:1407
static HRESULT STDMETHODCALLTYPE debugsymbols_GetNameByOffsetWide(IDebugSymbols3 *iface, ULONG64 offset, WCHAR *buffer, ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
Definition: dbgeng.c:2036
static HRESULT STDMETHODCALLTYPE debugsystemobjects_QueryInterface(IDebugSystemObjects *iface, REFIID riid, void **obj)
Definition: dbgeng.c:4408
static HRESULT STDMETHODCALLTYPE debugclient_OutputIdentityWide(IDebugClient7 *iface, ULONG control, ULONG flags, const WCHAR *format)
Definition: dbgeng.c:946
static HRESULT STDMETHODCALLTYPE debugcontrol_SetTextMacroWide(IDebugControl4 *iface, ULONG slot, const WCHAR *macro)
Definition: dbgeng.c:3804
static HRESULT STDMETHODCALLTYPE debugclient_QueryInterface(IDebugClient7 *iface, REFIID riid, void **obj)
Definition: dbgeng.c:290
static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacks(IDebugClient7 *iface, IDebugEventCallbacks *callbacks)
Definition: dbgeng.c:734
static HRESULT STDMETHODCALLTYPE debugadvanced_FindSourceFileAndTokenWide(IDebugAdvanced3 *iface, ULONG start_element, ULONG64 modaddr, const WCHAR *filename, ULONG flags, void *filetoken, ULONG filetokensize, ULONG *found_element, WCHAR *buffer, ULONG buffer_size, ULONG *found_size)
Definition: dbgeng.c:4371
static HRESULT STDMETHODCALLTYPE debugcontrol_SetExceptionFilterSecondCommand(IDebugControl4 *iface, ULONG index, const char *command)
Definition: dbgeng.c:3467
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputDisassemblyLines(IDebugControl4 *iface, ULONG output_control, ULONG prev_lines, ULONG total_lines, ULONG64 offset, ULONG flags, ULONG *offset_line, ULONG64 *start_offset, ULONG64 *end_offset, ULONG64 *line_offsets)
Definition: dbgeng.c:2908
static HRESULT STDMETHODCALLTYPE debugsystemobjects_SetCurrentProcessId(IDebugSystemObjects *iface, ULONG id)
Definition: dbgeng.c:4454
static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescriptionWide(IDebugClient7 *iface, ULONG64 server, ULONG id, ULONG flags, WCHAR *exename, ULONG size, ULONG *actualsize, WCHAR *description, ULONG desc_size, ULONG *actual_desc_size)
Definition: dbgeng.c:811
static HRESULT STDMETHODCALLTYPE debugcontrol_RemoveExtension(IDebugControl4 *iface, ULONG64 handle)
Definition: dbgeng.c:3332
static HRESULT STDMETHODVCALLTYPE debugcontrol_ControlledOutputWide(IDebugControl4 *iface, ULONG output_control, ULONG mask, const WCHAR *format,...)
Definition: dbgeng.c:3731
static HRESULT STDMETHODCALLTYPE debugcontrol_ReturnInput(IDebugControl4 *iface, const char *buffer)
Definition: dbgeng.c:2785
static HRESULT STDMETHODCALLTYPE debugsymbols_SetScopeFromJitDebugInfo(IDebugSymbols3 *iface, ULONG output_control, ULONG64 info_offset)
Definition: dbgeng.c:2363
static HRESULT STDMETHODCALLTYPE debugclient_GetNumberEventCallbacks(IDebugClient7 *iface, ULONG flags, ULONG *count)
Definition: dbgeng.c:1026
static HRESULT STDMETHODCALLTYPE debugclient_StartProcessServerWide(IDebugClient7 *iface, ULONG flags, const WCHAR *options, void *reserved)
Definition: dbgeng.c:892
static HRESULT STDMETHODCALLTYPE debugsymbols_ReloadWide(IDebugSymbols3 *iface, const WCHAR *module)
Definition: dbgeng.c:2159
static HRESULT STDMETHODCALLTYPE debugcontrol_GetSupportedProcessorTypes(IDebugControl4 *iface, ULONG start, ULONG count, ULONG *types)
Definition: dbgeng.c:3084
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExpressionSyntaxNames(IDebugControl4 *iface, ULONG index, char *fullname, ULONG fullname_buffer_size, ULONG *fullname_size, char *abbrevname, ULONG abbrevname_buffer_size, ULONG *abbrevname_size)
Definition: dbgeng.c:3647
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleParameters(IDebugSymbols3 *iface, ULONG count, ULONG64 *bases, ULONG start, DEBUG_MODULE_PARAMETERS *params)
Definition: dbgeng.c:1578
static HRESULT STDMETHODCALLTYPE debugcontrol_GetPageSize(IDebugControl4 *iface, ULONG *size)
Definition: dbgeng.c:3029
static HRESULT STDMETHODCALLTYPE debugcontrol_GetSystemVersion(IDebugControl4 *iface, ULONG *platform_id, ULONG *major, ULONG *minor, char *sp_string, ULONG sp_string_size, ULONG *sp_string_used, ULONG *sp_number, char *build_string, ULONG build_string_size, ULONG *build_string_used)
Definition: dbgeng.c:3019
static HRESULT STDMETHODCALLTYPE debugcontrol_RemoveAssemblyOptions(IDebugControl4 *iface, ULONG options)
Definition: dbgeng.c:3605
static HRESULT STDMETHODCALLTYPE debugcontrol_SetNotifyEventHandle(IDebugControl4 *iface, ULONG64 handle)
Definition: dbgeng.c:2869
static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadPhysical(IDebugDataSpaces *iface, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *read_len)
Definition: dbgeng.c:1269
static HRESULT STDMETHODCALLTYPE debugclient_SetKernelConnectionOptionsWide(IDebugClient7 *iface, const WCHAR *options)
Definition: dbgeng.c:886
static HRESULT STDMETHODCALLTYPE debugclient_RemoveProcessOptions(IDebugClient7 *iface, ULONG options)
Definition: dbgeng.c:511
static HRESULT STDMETHODCALLTYPE debugcontrol_SetNextEventIndex(IDebugControl4 *iface, ULONG relation, ULONG value, ULONG *next_index)
Definition: dbgeng.c:3678
static ULONG STDMETHODCALLTYPE debugdataspaces_AddRef(IDebugDataSpaces *iface)
Definition: dbgeng.c:1181
static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByLineWide(IDebugSymbols3 *iface, ULONG line, const WCHAR *file, ULONG64 *offset)
Definition: dbgeng.c:2071
static HRESULT STDMETHODCALLTYPE debugclient_GetOutputWidth(IDebugClient7 *iface, ULONG *columns)
Definition: dbgeng.c:674
static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadIo(IDebugDataSpaces *iface, ULONG type, ULONG bus_number, ULONG address_space, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *read_len)
Definition: dbgeng.c:1301
static HRESULT STDMETHODCALLTYPE debugclient_AddProcessOptions(IDebugClient7 *iface, ULONG options)
Definition: dbgeng.c:504
static HRESULT STDMETHODCALLTYPE debugcontrol_Input(IDebugControl4 *iface, char *buffer, ULONG buffer_size, ULONG *input_size)
Definition: dbgeng.c:2777
static HRESULT STDMETHODCALLTYPE debugdataspaces_WritePointersVirtual(IDebugDataSpaces *iface, ULONG count, ULONG64 offset, ULONG64 *pointers)
Definition: dbgeng.c:1261
static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointByIndex(IDebugControl4 *iface, ULONG index, IDebugBreakpoint **bp)
Definition: dbgeng.c:3286
static HRESULT STDMETHODCALLTYPE debugsymbols_QueryInterface(IDebugSymbols3 *iface, REFIID riid, void **obj)
Definition: dbgeng.c:1401
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExtensionFunction(IDebugControl4 *iface, ULONG64 handle, const char *name, void *function)
Definition: dbgeng.c:3355
static HRESULT STDMETHODCALLTYPE debugsymbols_GetScope(IDebugSymbols3 *iface, ULONG64 *instr_offset, DEBUG_STACK_FRAME *frame, void *scope_context, ULONG scope_context_size)
Definition: dbgeng.c:1729
static HRESULT STDMETHODCALLTYPE debugcontrol_SetRadix(IDebugControl4 *iface, ULONG radix)
Definition: dbgeng.c:3232
static struct debug_client * impl_from_IDebugClient(IDebugClient7 *iface)
Definition: dbgeng.c:260
static HRESULT STDMETHODCALLTYPE debugdataspaces_SearchVirtual(IDebugDataSpaces *iface, ULONG64 offset, ULONG64 length, void *pattern, ULONG pattern_size, ULONG pattern_granularity, ULONG64 *ret_offset)
Definition: dbgeng.c:1228
static HRESULT STDMETHODCALLTYPE debugcontrol_Evaluate(IDebugControl4 *iface, const char *expression, ULONG desired_type, DEBUG_VALUE *value, ULONG *remainder_index)
Definition: dbgeng.c:3239
static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldName(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id, ULONG field_index, char *buffer, ULONG buffer_size, ULONG *name_size)
Definition: dbgeng.c:1999
static HRESULT STDMETHODCALLTYPE debugcontrol_GetSpecificFilterParameters(IDebugControl4 *iface, ULONG start, ULONG count, DEBUG_SPECIFIC_FILTER_PARAMETERS *parameters)
Definition: dbgeng.c:3411
static HRESULT STDMETHODCALLTYPE debugcontrol_ExecuteCommandFileWide(IDebugControl4 *iface, ULONG output_control, const WCHAR *commandfile, ULONG flags)
Definition: dbgeng.c:3827
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleNameWide(IDebugSymbols3 *iface, const WCHAR *name, ULONG start_index, ULONG *index, ULONG64 *base)
Definition: dbgeng.c:2079
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNearInstruction(IDebugControl4 *iface, ULONG64 offset, LONG delta, ULONG64 *instr_offset)
Definition: dbgeng.c:2918
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberBreakpoints(IDebugControl4 *iface, ULONG *count)
Definition: dbgeng.c:3279
static HRESULT STDMETHODCALLTYPE debugclient_IsKernelDebuggerEnabled(IDebugClient7 *iface)
Definition: dbgeng.c:780
static HRESULT STDMETHODCALLTYPE debugsymbols_SetScopeFromStoredEvent(IDebugSymbols3 *iface)
Definition: dbgeng.c:2371
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetEventProcess(IDebugSystemObjects *iface, ULONG *id)
Definition: dbgeng.c:4433
static HRESULT STDMETHODCALLTYPE debugsymbols_RemoveSymbolOptions(IDebugSymbols3 *iface, ULONG options)
Definition: dbgeng.c:1433
static HRESULT STDMETHODCALLTYPE debugcontrol_GetEventFilterCommandWide(IDebugControl4 *iface, ULONG index, WCHAR *buffer, ULONG buffer_size, ULONG *command_size)
Definition: dbgeng.c:3903
static HRESULT STDMETHODCALLTYPE debugcontrol_GetEventIndexDescription(IDebugControl4 *iface, ULONG index, ULONG which, char *buffer, ULONG buffer_size, ULONG *desc_size)
Definition: dbgeng.c:3663
static HRESULT STDMETHODCALLTYPE debugcontrol_SetExpressionSyntaxByNameWide(IDebugControl4 *iface, const WCHAR *abbrevname)
Definition: dbgeng.c:3977
static HRESULT STDMETHODCALLTYPE debugsymbols_WriteTypedDataVirtual(IDebugSymbols3 *iface, ULONG64 offset, ULONG64 base, ULONG type_id, void *buffer, ULONG buffer_size, ULONG *written)
Definition: dbgeng.c:1684
static HRESULT STDMETHODCALLTYPE debugcontrol_SetEffectiveProcessorType(IDebugControl4 *iface, ULONG type)
Definition: dbgeng.c:3109
static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldOffset(IDebugSymbols3 *iface, ULONG64 base, ULONG type_id, const char *field, ULONG *offset)
Definition: dbgeng.c:1651
static HRESULT STDMETHODCALLTYPE debugadvanced_GetSystemObjectInformation(IDebugAdvanced3 *iface, ULONG which, ULONG64 arg64, ULONG arg32, void *buffer, ULONG buffer_size, ULONG *info_size)
Definition: dbgeng.c:4353
static HRESULT STDMETHODCALLTYPE debugsymbols_Reload(IDebugSymbols3 *iface, const char *path)
Definition: dbgeng.c:1791
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetProcessIdByDataOffset(IDebugSystemObjects *iface, ULONG64 offset, ULONG *id)
Definition: dbgeng.c:4576
static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadDebuggerData(IDebugDataSpaces *iface, ULONG index, void *buffer, ULONG buffer_size, ULONG *data_size)
Definition: dbgeng.c:1358
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentProcessDataOffset(IDebugSystemObjects *iface, ULONG64 *offset)
Definition: dbgeng.c:4568
static HRESULT STDMETHODCALLTYPE debugclient_OutputServersWide(IDebugClient7 *iface, ULONG control, const WCHAR *machine, ULONG flags)
Definition: dbgeng.c:910
static HRESULT STDMETHODCALLTYPE debugclient_WaitForProcessServerEnd(IDebugClient7 *iface, ULONG timeout)
Definition: dbgeng.c:774
static HRESULT STDMETHODCALLTYPE debugclient_AddDumpInformationFile(IDebugClient7 *iface, const char *infofile, ULONG type)
Definition: dbgeng.c:762
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourcePathWide(IDebugSymbols3 *iface, WCHAR *buffer, ULONG buffer_size, ULONG *path_size)
Definition: dbgeng.c:2210
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentThreadTeb(IDebugSystemObjects *iface, ULONG64 *offset)
Definition: dbgeng.c:4508
static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutableNameWide(IDebugClient7 *iface, ULONG64 server, const WCHAR *exename, ULONG flags, ULONG *id)
Definition: dbgeng.c:804
static const IDebugDataSpacesVtbl debugdataspacesvtbl
Definition: dbgeng.c:1374
static HRESULT STDMETHODCALLTYPE debugcontrol_GetSpecificFilterArgument(IDebugControl4 *iface, ULONG index, char *buffer, ULONG buffer_size, ULONG *argument_size)
Definition: dbgeng.c:3427
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberExpressionSyntaxes(IDebugControl4 *iface, ULONG *number)
Definition: dbgeng.c:3640
static HRESULT STDMETHODCALLTYPE debugsymbols_FindSourceFile(IDebugSymbols3 *iface, ULONG start, const char *file, ULONG flags, ULONG *found_element, char *buffer, ULONG buffer_size, ULONG *found_size)
Definition: dbgeng.c:1872
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetEventThread(IDebugSystemObjects *iface, ULONG *id)
Definition: dbgeng.c:4426
static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteVirtualUncached(IDebugDataSpaces *iface, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *written)
Definition: dbgeng.c:1245
static HRESULT STDMETHODCALLTYPE debugclient_GetNumberDumpFiles(IDebugClient7 *iface, ULONG *count)
Definition: dbgeng.c:853
static HRESULT STDMETHODCALLTYPE debugcontrol_SetExceptionFilterParameters(IDebugControl4 *iface, ULONG count, DEBUG_EXCEPTION_FILTER_PARAMETERS *parameters)
Definition: dbgeng.c:3451
static HRESULT STDMETHODCALLTYPE debugclient_SetOutputWidth(IDebugClient7 *iface, ULONG columns)
Definition: dbgeng.c:681
static HRESULT STDMETHODCALLTYPE debugcontrol_SetInterrupt(IDebugControl4 *iface, ULONG flags)
Definition: dbgeng.c:2722
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExpressionSyntaxNamesWide(IDebugControl4 *iface, ULONG index, WCHAR *fullname_buffer, ULONG fullname_buffer_size, ULONG *fullname_size, WCHAR *abbrevname_buffer, ULONG abbrevname_buffer_size, ULONG *abbrev_size)
Definition: dbgeng.c:3984
static HRESULT STDMETHODCALLTYPE debugclient_PopOutputLinePrefix(IDebugClient7 *iface, ULONG64 handle)
Definition: dbgeng.c:1008
static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacksWide(IDebugClient7 *iface, IDebugEventCallbacksWide **callbacks)
Definition: dbgeng.c:952
static HRESULT STDMETHODCALLTYPE debugcontrol_OpenLogFile2(IDebugControl4 *iface, const char *filename, ULONG flags)
Definition: dbgeng.c:4010
static HRESULT STDMETHODCALLTYPE debugcontrol_SetExpressionSyntax(IDebugControl4 *iface, ULONG flags)
Definition: dbgeng.c:3626
static HRESULT STDMETHODCALLTYPE debugcontrol_GetSystemErrorControl(IDebugControl4 *iface, ULONG *output_level, ULONG *break_level)
Definition: dbgeng.c:3194
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentProcessSystemId(IDebugSystemObjects *iface, ULONG *sysid)
Definition: dbgeng.c:4599
static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointById(IDebugControl4 *iface, ULONG id, IDebugBreakpoint **bp)
Definition: dbgeng.c:3294
static HRESULT STDMETHODCALLTYPE debugcontrol_SetLogMask(IDebugControl4 *iface, ULONG mask)
Definition: dbgeng.c:2770
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetThreadIdByTeb(IDebugSystemObjects *iface, ULONG64 offset, ULONG *id)
Definition: dbgeng.c:4515
static HRESULT debug_target_return_string(const char *str, char *buffer, unsigned int buffer_size, ULONG *size)
Definition: dbgeng.c:91
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntriesByLineWide(IDebugSymbols3 *iface, ULONG line, const WCHAR *file, ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *entries, ULONG count, ULONG *entries_avail)
Definition: dbgeng.c:2525
static HRESULT STDMETHODCALLTYPE debugcontrol_GetContextStackTrace(IDebugControl4 *iface, void *start_context, ULONG start_context_size, PDEBUG_STACK_FRAME frames, ULONG frames_size, void *frame_contexts, ULONG frame_contexts_size, ULONG frame_contexts_entry_size, ULONG *frames_filled)
Definition: dbgeng.c:4056
static HRESULT STDMETHODCALLTYPE debugclient_ConnectProcessServerWide(IDebugClient7 *iface, const WCHAR *options, ULONG64 *server)
Definition: dbgeng.c:898
static HRESULT STDMETHODCALLTYPE debugsymbols_SetSourcePathWide(IDebugSymbols3 *iface, const WCHAR *path)
Definition: dbgeng.c:2226
static HRESULT STDMETHODCALLTYPE debugcontrol_GetTextMacro(IDebugControl4 *iface, ULONG slot, char *buffer, ULONG buffer_size, ULONG *macro_size)
Definition: dbgeng.c:3210
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetThreadIdBySystemId(IDebugSystemObjects *iface, ULONG sysid, ULONG *id)
Definition: dbgeng.c:4530
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputCurrentState(IDebugControl4 *iface, ULONG output_control, ULONG flags)
Definition: dbgeng.c:2847
static HRESULT STDMETHODCALLTYPE debugclient_SetOutputLinePrefix(IDebugClient7 *iface, const char *prefix)
Definition: dbgeng.c:696
static HRESULT STDMETHODCALLTYPE debugcontrol_DisassembleWide(IDebugControl4 *iface, ULONG64 offset, ULONG flags, WCHAR *buffer, ULONG buffer_size, ULONG *size, ULONG64 *end_offset)
Definition: dbgeng.c:3779
static HRESULT STDMETHODCALLTYPE debugcontrol_GetTextMacroWide(IDebugControl4 *iface, ULONG slot, WCHAR *buffer, ULONG buffer_size, ULONG *macro_size)
Definition: dbgeng.c:3796
static HRESULT STDMETHODCALLTYPE debugclient_ConnectProcessServer(IDebugClient7 *iface, const char *remote_options, ULONG64 *server)
Definition: dbgeng.c:415
static struct debug_client * impl_from_IDebugSymbols3(IDebugSymbols3 *iface)
Definition: dbgeng.c:270
static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSymbolPath(IDebugSymbols3 *iface, const char *path)
Definition: dbgeng.c:1813
static HRESULT STDMETHODCALLTYPE debugsymbols_StartSymbolMatch(IDebugSymbols3 *iface, const char *pattern, ULONG64 *handle)
Definition: dbgeng.c:1768
static HRESULT STDMETHODCALLTYPE debugcontrol_SetSpecificFilterArgument(IDebugControl4 *iface, ULONG index, const char *argument)
Definition: dbgeng.c:3435
static HRESULT STDMETHODCALLTYPE debugcontrol_GetSystemVersionStringWide(IDebugControl4 *iface, ULONG which, WCHAR *buffer, ULONG buffer_size, ULONG *string_size)
Definition: dbgeng.c:4048
static HRESULT STDMETHODCALLTYPE debugsymbols_GetScopeSymbolGroup(IDebugSymbols3 *iface, ULONG flags, IDebugSymbolGroup *update, IDebugSymbolGroup **symbols)
Definition: dbgeng.c:1753
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolTypeId(IDebugSymbols3 *iface, const char *symbol, ULONG *type_id, ULONG64 *base)
Definition: dbgeng.c:1659
static HRESULT STDMETHODCALLTYPE debugsymbols_OutputSymbolByOffset(IDebugSymbols3 *iface, ULONG output_control, ULONG flags, ULONG64 offset)
Definition: dbgeng.c:2378
static HRESULT STDMETHODCALLTYPE debugadvanced_GetSourceFileInformationWide(IDebugAdvanced3 *iface, ULONG which, WCHAR *source_file, ULONG64 arg64, ULONG arg32, void *buffer, ULONG buffer_size, ULONG *info_size)
Definition: dbgeng.c:4362
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryOffsetRegions(IDebugSymbols3 *iface, DEBUG_SYMBOL_SOURCE_ENTRY *entry, ULONG flags, DEBUG_OFFSET_REGION *regions, ULONG count, ULONG *regions_avail)
Definition: dbgeng.c:2549
static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldTypeAndOffsetWide(IDebugSymbols3 *iface, ULONG64 module, ULONG container_type_id, const WCHAR *field, ULONG *field_type_id, ULONG *offset)
Definition: dbgeng.c:2404
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputVaList(IDebugControl4 *iface, ULONG mask, const char *format, va_list args)
Definition: dbgeng.c:2799
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByOffset(IDebugSymbols3 *iface, ULONG64 offset, ULONG start_index, ULONG *index, ULONG64 *base)
Definition: dbgeng.c:1537
static HRESULT STDMETHODCALLTYPE debugsymbols_RemoveSyntheticSymbol(IDebugSymbols3 *iface, DEBUG_MODULE_AND_ID *id)
Definition: dbgeng.c:2429
static HRESULT STDMETHODCALLTYPE debugcontrol_AssembleWide(IDebugControl4 *iface, ULONG64 offset, const WCHAR *instr, ULONG64 *end_offset)
Definition: dbgeng.c:3771
static HRESULT STDMETHODCALLTYPE debugcontrol_OpenLogFile(IDebugControl4 *iface, const char *file, BOOL append)
Definition: dbgeng.c:2751
static HRESULT STDMETHODCALLTYPE debugclient_DetachProcesses(IDebugClient7 *iface)
Definition: dbgeng.c:568
static HRESULT STDMETHODCALLTYPE debugsymbols_GetNearNameByOffsetWide(IDebugSymbols3 *iface, ULONG64 offset, LONG delta, WCHAR *buffer, ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
Definition: dbgeng.c:2053
static ULONG STDMETHODCALLTYPE debugdataspaces_Release(IDebugDataSpaces *iface)
Definition: dbgeng.c:1187
static HRESULT STDMETHODCALLTYPE debugcontrol_GetEventFilterTextWide(IDebugControl4 *iface, ULONG index, WCHAR *buffer, ULONG buffer_size, ULONG *text_size)
Definition: dbgeng.c:3895
static HRESULT STDMETHODCALLTYPE debugsymbols_StartSymbolMatchWide(IDebugSymbols3 *iface, const WCHAR *pattern, ULONG64 *handle)
Definition: dbgeng.c:2143
static HRESULT STDMETHODCALLTYPE debugclient_GetOutputCallbacksWide(IDebugClient7 *iface, IDebugOutputCallbacksWide **callbacks)
Definition: dbgeng.c:916
static HRESULT STDMETHODCALLTYPE debugcontrol_SetCodeLevel(IDebugControl4 *iface, ULONG level)
Definition: dbgeng.c:3137
static HRESULT STDMETHODCALLTYPE debugclient_AttachKernelWide(IDebugClient7 *iface, ULONG flags, const WCHAR *options)
Definition: dbgeng.c:873
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputDisassembly(IDebugControl4 *iface, ULONG output_control, ULONG64 offset, ULONG flags, ULONG64 *end_offset)
Definition: dbgeng.c:2900
static HRESULT STDMETHODCALLTYPE debugcontrol_GetLastEventInformationWide(IDebugControl4 *iface, ULONG *type, ULONG *processid, ULONG *threadid, void *extra_info, ULONG extra_info_size, ULONG *extra_info_used, WCHAR *desc, ULONG desc_size, ULONG *desc_used)
Definition: dbgeng.c:3950
static HRESULT STDMETHODCALLTYPE debugclient_OutputServers(IDebugClient7 *iface, ULONG output_control, const char *machine, ULONG flags)
Definition: dbgeng.c:553
static HRESULT STDMETHODCALLTYPE debugclient_TerminateProcesses(IDebugClient7 *iface)
Definition: dbgeng.c:561
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExecutingProcessorType(IDebugControl4 *iface, ULONG *type)
Definition: dbgeng.c:2977
static HRESULT STDMETHODCALLTYPE debugcontrol_GetProcessorTypeNames(IDebugControl4 *iface, ULONG type, char *full_name, ULONG full_name_buffer_size, ULONG *full_name_size, char *abbrev_name, ULONG abbrev_name_buffer_size, ULONG *abbrev_name_size)
Definition: dbgeng.c:3092
static HRESULT STDMETHODCALLTYPE debugcontrol_ControlledOutputVaList(IDebugControl4 *iface, ULONG output_control, ULONG mask, const char *format, va_list args)
Definition: dbgeng.c:2815
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentThreadHandle(IDebugSystemObjects *iface, ULONG64 *handle)
Definition: dbgeng.c:4538
static HRESULT STDMETHODCALLTYPE debugclient_SetEventContextCallbacks(IDebugClient7 *iface, IDebugEventContextCallbacks *callbacks)
Definition: dbgeng.c:1056
static HRESULT STDMETHODCALLTYPE debugcontrol_SetInterruptTimeout(IDebugControl4 *iface, ULONG timeout)
Definition: dbgeng.c:2736
static HRESULT STDMETHODCALLTYPE debugcontrol_RemoveBreakpoint(IDebugControl4 *iface, IDebugBreakpoint *bp)
Definition: dbgeng.c:3317
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntriesByNameWide(IDebugSymbols3 *iface, const WCHAR *symbol, ULONG flags, DEBUG_MODULE_AND_ID *ids, ULONG count, ULONG *entries)
Definition: dbgeng.c:2453
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetThreadIdByProcessor(IDebugSystemObjects *iface, ULONG processor, ULONG *id)
Definition: dbgeng.c:4484
static HRESULT STDMETHODCALLTYPE debugcontrol_GetDumpFormatFlags(IDebugControl4 *iface, ULONG *flags)
Definition: dbgeng.c:3544
static HRESULT STDMETHODCALLTYPE debugclient_GetOutputCallbacks(IDebugClient7 *iface, IDebugOutputCallbacks **callbacks)
Definition: dbgeng.c:632
static const IDebugControl4Vtbl debugcontrolvtbl
Definition: dbgeng.c:4109
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceFileLineOffsetsWide(IDebugSymbols3 *iface, const WCHAR *file, ULONG64 *buffer, ULONG buffer_lines, ULONG *file_lines)
Definition: dbgeng.c:2249
static HRESULT STDMETHODCALLTYPE debugclient_SetOutputMask(IDebugClient7 *iface, ULONG mask)
Definition: dbgeng.c:653
static HRESULT STDMETHODCALLTYPE debugsymbols_GetImagePath(IDebugSymbols3 *iface, char *buffer, ULONG buffer_size, ULONG *path_size)
Definition: dbgeng.c:1820
static HRESULT STDMETHODCALLTYPE debugcontrol_GetPromptTextWide(IDebugControl4 *iface, WCHAR *buffer, ULONG buffer_size, ULONG *text_size)
Definition: dbgeng.c:3763
static HRESULT STDMETHODCALLTYPE debugclient_DisconnectProcessServer(IDebugClient7 *iface, ULONG64 server)
Definition: dbgeng.c:423
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolPathWide(IDebugSymbols3 *iface, WCHAR *buffer, ULONG buffer_size, ULONG *path_size)
Definition: dbgeng.c:2166
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentProcessHandle(IDebugSystemObjects *iface, ULONG64 *handle)
Definition: dbgeng.c:4614
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberEventFilters(IDebugControl4 *iface, ULONG *specific_events, ULONG *specific_exceptions, ULONG *arbitrary_exceptions)
Definition: dbgeng.c:3379
static HRESULT STDMETHODCALLTYPE debugadvanced_GetSourceFileInformation(IDebugAdvanced3 *iface, ULONG which, char *sourcefile, ULONG64 arg64, ULONG arg32, void *buffer, ULONG buffer_size, ULONG *info_size)
Definition: dbgeng.c:4324
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentThreadId(IDebugSystemObjects *iface, ULONG *id)
Definition: dbgeng.c:4440
static WORD debug_target_get_module_machine(struct target_process *target, HMODULE module)
Definition: dbgeng.c:110
static ULONG STDMETHODCALLTYPE debugsystemobjects_AddRef(IDebugSystemObjects *iface)
Definition: dbgeng.c:4414
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberEvents(IDebugControl4 *iface, ULONG *events)
Definition: dbgeng.c:3656
static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacksWide(IDebugClient7 *iface, IDebugEventCallbacksWide *callbacks)
Definition: dbgeng.c:958
static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointParameters(IDebugControl4 *iface, ULONG count, ULONG *ids, ULONG start, DEBUG_BREAKPOINT_PARAMETERS *parameters)
Definition: dbgeng.c:3301
static HRESULT STDMETHODCALLTYPE debugsymbols_AddSymbolOptions(IDebugSymbols3 *iface, ULONG options)
Definition: dbgeng.c:1426
static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessWide(IDebugClient7 *iface, ULONG64 server, WCHAR *commandline, ULONG flags)
Definition: dbgeng.c:819
static void debug_target_free(struct target_process *target)
Definition: dbgeng.c:355
static HRESULT STDMETHODCALLTYPE debugcontrol_CallExtensionWide(IDebugControl4 *iface, ULONG64 handle, const WCHAR *function, const WCHAR *arguments)
Definition: dbgeng.c:3879
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleName2(IDebugSymbols3 *iface, const char *name, ULONG start_index, ULONG flags, ULONG *index, ULONG64 *base)
Definition: dbgeng.c:2300
static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile(IDebugClient7 *iface, const char *filename, ULONG qualifier)
Definition: dbgeng.c:532
static HRESULT STDMETHODCALLTYPE debugclient_FlushCallbacks(IDebugClient7 *iface)
Definition: dbgeng.c:748
static HRESULT STDMETHODCALLTYPE debugcontrol_OpenLogFileWide(IDebugControl4 *iface, const WCHAR *filename, BOOL append)
Definition: dbgeng.c:3694
static ULONG STDMETHODCALLTYPE debugclient_Release(IDebugClient7 *iface)
Definition: dbgeng.c:361
static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacks(IDebugClient7 *iface, IDebugEventCallbacks **callbacks)
Definition: dbgeng.c:719
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentProcessPeb(IDebugSystemObjects *iface, ULONG64 *offset)
Definition: dbgeng.c:4584
static HRESULT STDMETHODCALLTYPE debugcontrol_GetTextReplacementWide(IDebugControl4 *iface, const WCHAR *src_text, ULONG index, WCHAR *src_buffer, ULONG src_buffer_size, ULONG *src_size, WCHAR *dst_buffer, ULONG dest_buffer_size, ULONG *dst_size)
Definition: dbgeng.c:3960
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleVersionInformation(IDebugSymbols3 *iface, ULONG index, ULONG64 base, const char *item, void *buffer, ULONG buffer_size, ULONG *info_size)
Definition: dbgeng.c:1889
HRESULT WINAPI DebugExtensionInitialize(ULONG *pVersion, ULONG *pFlags)
Definition: dbgeng.c:4689
static HRESULT STDMETHODCALLTYPE debugcontrol_SetEngineOptions(IDebugControl4 *iface, ULONG options)
Definition: dbgeng.c:3180
static HRESULT STDMETHODCALLTYPE debugcontrol_GetSystemVersionString(IDebugControl4 *iface, ULONG which, char *buffer, ULONG buffer_size, ULONG *string_size)
Definition: dbgeng.c:4040
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntriesByOffset(IDebugSymbols3 *iface, ULONG64 offset, ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *entries, ULONG count, ULONG *entries_avail)
Definition: dbgeng.c:2509
static HRESULT STDMETHODCALLTYPE debugcontrol_GetSpecificFilterArgumentWide(IDebugControl4 *iface, ULONG index, WCHAR *buffer, ULONG buffer_size, ULONG *argument_size)
Definition: dbgeng.c:3918
static HRESULT STDMETHODCALLTYPE debugcontrol_GetManagedStatusWide(IDebugControl4 *iface, ULONG *flags, ULONG which_string, WCHAR *string, ULONG string_size, ULONG string_needed)
Definition: dbgeng.c:4094
static HRESULT STDMETHODCALLTYPE debugsymbols_SetSourcePath(IDebugSymbols3 *iface, const char *path)
Definition: dbgeng.c:1858
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntriesByLine(IDebugSymbols3 *iface, ULONG line, const char *file, ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *entries, ULONG count, ULONG *entries_avail)
Definition: dbgeng.c:2517
static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldNameWide(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id, ULONG field_index, WCHAR *buffer, ULONG buffer_size, ULONG *name_size)
Definition: dbgeng.c:2284
static ULONG STDMETHODCALLTYPE debugsymbols_Release(IDebugSymbols3 *iface)
Definition: dbgeng.c:1413
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleName2Wide(IDebugSymbols3 *iface, const WCHAR *name, ULONG start_index, ULONG flags, ULONG *index, ULONG64 *base)
Definition: dbgeng.c:2308
static HRESULT STDMETHODCALLTYPE debugsymbols_OutputTypedDataPhysical(IDebugSymbols3 *iface, ULONG output_control, ULONG64 offset, ULONG64 base, ULONG type_id, ULONG flags)
Definition: dbgeng.c:1720
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputVersionInformation(IDebugControl4 *iface, ULONG output_control)
Definition: dbgeng.c:2855
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentThreadSystemId(IDebugSystemObjects *iface, ULONG *sysid)
Definition: dbgeng.c:4523
static HRESULT STDMETHODCALLTYPE debugcontrol_SetSpecificFilterSecondCommandWide(IDebugControl4 *iface, ULONG index, const WCHAR *command)
Definition: dbgeng.c:3942
static HRESULT STDMETHODCALLTYPE debugsymbols_SetImagePath(IDebugSymbols3 *iface, const char *path)
Definition: dbgeng.c:1828
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryInformation(IDebugSymbols3 *iface, DEBUG_MODULE_AND_ID *id, DEBUG_SYMBOL_ENTRY *info)
Definition: dbgeng.c:2469
static HRESULT STDMETHODCALLTYPE debugcontrol_GetAssemblyOptions(IDebugControl4 *iface, ULONG *options)
Definition: dbgeng.c:3591
static HRESULT STDMETHODCALLTYPE debugcontrol_GetSystemVersionValues(IDebugControl4 *iface, ULONG *platformid, ULONG *win32major, ULONG *win32minor, ULONG *kdmajor, ULONG *kdminor)
Definition: dbgeng.c:4032
static HRESULT STDMETHODCALLTYPE debugcontrol_SetAssemblyOptions(IDebugControl4 *iface, ULONG options)
Definition: dbgeng.c:3612
static HRESULT STDMETHODCALLTYPE debugcontrol_CloseLogFile(IDebugControl4 *iface)
Definition: dbgeng.c:2757
static HRESULT STDMETHODCALLTYPE debugcontrol_SetExpressionSyntaxByName(IDebugControl4 *iface, const char *name)
Definition: dbgeng.c:3633
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExpressionSyntax(IDebugControl4 *iface, ULONG *flags)
Definition: dbgeng.c:3619
static HRESULT STDMETHODCALLTYPE debugcontrol_InputWide(IDebugControl4 *iface, WCHAR *buffer, ULONG buffer_size, ULONG *input_size)
Definition: dbgeng.c:3701
static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSourcePathWide(IDebugSymbols3 *iface, const WCHAR *addition)
Definition: dbgeng.c:2233
static HRESULT STDMETHODCALLTYPE debugcontrol_GetManagedStatus(IDebugControl4 *iface, ULONG *flags, ULONG which_string, char *string, ULONG string_size, ULONG string_needed)
Definition: dbgeng.c:4086
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryString(IDebugSymbols3 *iface, DEBUG_SYMBOL_SOURCE_ENTRY *entry, ULONG which, char *buffer, ULONG buffer_size, ULONG *string_size)
Definition: dbgeng.c:2533
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleVersionInformationWide(IDebugSymbols3 *iface, ULONG index, ULONG64 base, const WCHAR *item, void *buffer, ULONG buffer_size, ULONG *version_info_size)
Definition: dbgeng.c:2257
static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadPointersVirtual(IDebugDataSpaces *iface, ULONG count, ULONG64 offset, ULONG64 *pointers)
Definition: dbgeng.c:1253
static HRESULT STDMETHODCALLTYPE debugcontrol_CoerceValues(IDebugControl4 *iface, ULONG count, DEBUG_VALUE *input, ULONG *output_types, DEBUG_VALUE *output)
Definition: dbgeng.c:3255
static HRESULT STDMETHODCALLTYPE debugcontrol_GetLogFile2Wide(IDebugControl4 *iface, WCHAR *buffer, ULONG buffer_size, ULONG *file_size, ULONG *flags)
Definition: dbgeng.c:4017
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetProcessIdByHandle(IDebugSystemObjects *iface, ULONG64 handle, ULONG *id)
Definition: dbgeng.c:4622
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExceptionFilterParameters(IDebugControl4 *iface, ULONG count, ULONG *codes, ULONG start, DEBUG_EXCEPTION_FILTER_PARAMETERS *parameters)
Definition: dbgeng.c:3443
static HRESULT STDMETHODVCALLTYPE debugcontrol_Output(IDebugControl4 *iface, ULONG mask, const char *format,...)
Definition: dbgeng.c:2792
static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttach2(IDebugClient7 *iface, ULONG64 server, char *command, void *options, ULONG buf_size, const char *initial, const char *environment, ULONG processid, ULONG flags)
Definition: dbgeng.c:980
static HRESULT STDMETHODCALLTYPE debugcontrol_GetLogMask(IDebugControl4 *iface, ULONG *mask)
Definition: dbgeng.c:2763
static HRESULT STDMETHODCALLTYPE debugsymbols_AddTypeOptions(IDebugSymbols3 *iface, ULONG options)
Definition: dbgeng.c:2015
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentThreadDataOffset(IDebugSystemObjects *iface, ULONG64 *offset)
Definition: dbgeng.c:4492
static HRESULT STDMETHODVCALLTYPE debugcontrol_OutputPrompt(IDebugControl4 *iface, ULONG output_control, const char *format,...)
Definition: dbgeng.c:2823
static HRESULT STDMETHODCALLTYPE debugclient_AbandonCurrentProcess(IDebugClient7 *iface)
Definition: dbgeng.c:798
static const IDebugClient7Vtbl debugclientvtbl
Definition: dbgeng.c:1068
static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleNameString(IDebugSymbols3 *iface, ULONG which, ULONG index, ULONG64 base, char *buffer, ULONG buffer_size, ULONG *name_size)
Definition: dbgeng.c:1946
HRESULT WINAPI DebugCreateEx(REFIID riid, DWORD flags, void **obj)
Definition: dbgeng.c:4729
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberPossibleExecutingProcessorTypes(IDebugControl4 *iface, ULONG *count)
Definition: dbgeng.c:2996
static HRESULT STDMETHODCALLTYPE debugcontrol_GetEffectiveProcessorType(IDebugControl4 *iface, ULONG *type)
Definition: dbgeng.c:3102
static ULONG STDMETHODCALLTYPE debugcontrol_AddRef(IDebugControl4 *iface)
Definition: dbgeng.c:2703
static HRESULT STDMETHODCALLTYPE debugcontrol_GetEventFilterCommand(IDebugControl4 *iface, ULONG index, char *buffer, ULONG buffer_size, ULONG *command_size)
Definition: dbgeng.c:3395
static HRESULT STDMETHODCALLTYPE debugcontrol_SetExecutionStatus(IDebugControl4 *iface, ULONG status)
Definition: dbgeng.c:3123
static HRESULT STDMETHODCALLTYPE debugcontrol_RemoveBreakpoint2(IDebugControl4 *iface, PDEBUG_BREAKPOINT2 bp)
Definition: dbgeng.c:3857
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetThreadIdsByIndex(IDebugSystemObjects *iface, ULONG start, ULONG count, ULONG *ids, ULONG *sysids)
Definition: dbgeng.c:4476
static HRESULT STDMETHODCALLTYPE debugclient_ExitDispatch(IDebugClient7 *iface, IDebugClient *client)
Definition: dbgeng.c:604
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntriesByOffset(IDebugSymbols3 *iface, ULONG64 offset, ULONG flags, DEBUG_MODULE_AND_ID *ids, LONG64 *displacements, ULONG count, ULONG *entries)
Definition: dbgeng.c:2436
static HRESULT STDMETHODCALLTYPE debugcontrol_AddExtensionWide(IDebugControl4 *iface, const WCHAR *path, ULONG flags, ULONG64 *handle)
Definition: dbgeng.c:3864
static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess2Wide(IDebugClient7 *iface, ULONG64 server, WCHAR *command, void *options, ULONG size, const WCHAR *initial, const WCHAR *environment)
Definition: dbgeng.c:972
static ULONG STDMETHODCALLTYPE debugadvanced_AddRef(IDebugAdvanced3 *iface)
Definition: dbgeng.c:4288
static HRESULT STDMETHODCALLTYPE debugclient_GetOtherOutputMask(IDebugClient7 *iface, IDebugClient *client, ULONG *mask)
Definition: dbgeng.c:660
static HRESULT STDMETHODCALLTYPE debugclient_GetQuitLockStringWide(IDebugClient7 *iface, WCHAR *buffer, ULONG buf_size, ULONG *size)
Definition: dbgeng.c:1044
static HRESULT STDMETHODCALLTYPE debugsymbols_GetNameByOffset(IDebugSymbols3 *iface, ULONG64 offset, char *buffer, ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
Definition: dbgeng.c:1447
static HRESULT STDMETHODCALLTYPE debugsymbols_ResetScope(IDebugSymbols3 *iface)
Definition: dbgeng.c:1746
static HRESULT STDMETHODCALLTYPE debugclient_ConnectSession(IDebugClient7 *iface, ULONG flags, ULONG history_limit)
Definition: dbgeng.c:539
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetThreadIdByDataOffset(IDebugSystemObjects *iface, ULONG64 offset, ULONG *id)
Definition: dbgeng.c:4500
static HRESULT STDMETHODCALLTYPE debugclient_GetNumberOutputCallbacks(IDebugClient7 *iface, ULONG *count)
Definition: dbgeng.c:1020
static HRESULT STDMETHODCALLTYPE debugcontrol_GetStoredEventInformation(IDebugControl4 *iface, ULONG *type, ULONG *processid, ULONG *threadid, void *context, ULONG context_size, ULONG *context_used, void *extra_info, ULONG extra_info_size, ULONG *extra_info_used)
Definition: dbgeng.c:4076
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryBySymbolEntry(IDebugSymbols3 *iface, DEBUG_MODULE_AND_ID *from_id, ULONG flags, DEBUG_MODULE_AND_ID *to_id)
Definition: dbgeng.c:2501
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryOffsetRegions(IDebugSymbols3 *iface, DEBUG_MODULE_AND_ID *id, ULONG flags, DEBUG_OFFSET_REGION *regions, ULONG regions_count, ULONG *regions_avail)
Definition: dbgeng.c:2493
static HRESULT STDMETHODCALLTYPE debugclient_GetDumpFile(IDebugClient7 *iface, ULONG index, char *buffer, ULONG buf_size, ULONG *name_size, ULONG64 *handle, ULONG *type)
Definition: dbgeng.c:859
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryStringWide(IDebugSymbols3 *iface, DEBUG_MODULE_AND_ID *id, ULONG which, WCHAR *buffer, ULONG buffer_size, ULONG *string_size)
Definition: dbgeng.c:2485
static const struct module_info * debug_target_get_module_info_by_base(struct target_process *target, ULONG64 base)
Definition: dbgeng.c:222
static HRESULT STDMETHODCALLTYPE debugclient_EndSession(IDebugClient7 *iface, ULONG flags)
Definition: dbgeng.c:583
static HRESULT debug_target_init_modules_info(struct target_process *target)
Definition: dbgeng.c:140
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetProcessIdByPeb(IDebugSystemObjects *iface, ULONG64 offset, ULONG *id)
Definition: dbgeng.c:4591
static HRESULT STDMETHODCALLTYPE debugsymbols_GetImagePathWide(IDebugSymbols3 *iface, WCHAR *buffer, ULONG buffer_size, ULONG *path_size)
Definition: dbgeng.c:2188
static HRESULT STDMETHODCALLTYPE debugclient_SetOutputCallbacks(IDebugClient7 *iface, IDebugOutputCallbacks *callbacks)
Definition: dbgeng.c:639
static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberSupportedProcessorTypes(IDebugControl4 *iface, ULONG *count)
Definition: dbgeng.c:3077
static HRESULT STDMETHODCALLTYPE debugclient_SetClientContext(IDebugClient7 *iface, void *context, ULONG size)
Definition: dbgeng.c:1062
static HRESULT STDMETHODCALLTYPE debugsymbols_CreateSymbolGroup(IDebugSymbols3 *iface, IDebugSymbolGroup **group)
Definition: dbgeng.c:1761
static HRESULT STDMETHODCALLTYPE debugclient_SetQuitLockStringWide(IDebugClient7 *iface, const WCHAR *string)
Definition: dbgeng.c:1050
static HRESULT STDMETHODCALLTYPE debugdataspaces_CheckLowMemory(IDebugDataSpaces *iface)
Definition: dbgeng.c:1351
static HRESULT STDMETHODCALLTYPE debugadvanced_SetThreadContext(IDebugAdvanced3 *iface, void *context, ULONG context_size)
Definition: dbgeng.c:4308
static HRESULT STDMETHODCALLTYPE debugclient_AddDumpInformationFileWide(IDebugClient7 *iface, const WCHAR *filename, ULONG64 handle, ULONG type)
Definition: dbgeng.c:846
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourcePathElementWide(IDebugSymbols3 *iface, ULONG index, WCHAR *buffer, ULONG buffer_size, ULONG *element_size)
Definition: dbgeng.c:2218
static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByLine(IDebugSymbols3 *iface, ULONG line, const char *file, ULONG64 *offset)
Definition: dbgeng.c:1482
static HRESULT STDMETHODCALLTYPE debugsymbols_SetSymbolPath(IDebugSymbols3 *iface, const char *path)
Definition: dbgeng.c:1806
static HRESULT STDMETHODCALLTYPE debugcontrol_OpenLogFile2Wide(IDebugControl4 *iface, const WCHAR *filename, ULONG flags)
Definition: dbgeng.c:4025
static HRESULT STDMETHODCALLTYPE debugclient_EndProcessServer(IDebugClient7 *iface, ULONG64 server)
Definition: dbgeng.c:768
static HRESULT STDMETHODCALLTYPE debugcontrol_GetStackTrace(IDebugControl4 *iface, ULONG64 frame_offset, ULONG64 stack_offset, ULONG64 instr_offset, DEBUG_STACK_FRAME *frames, ULONG frames_size, ULONG *frames_filled)
Definition: dbgeng.c:2926
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputStackTrace(IDebugControl4 *iface, ULONG output_control, DEBUG_STACK_FRAME *frames, ULONG frames_size, ULONG flags)
Definition: dbgeng.c:2942
static HRESULT STDMETHODCALLTYPE debugsymbols_GetLineByOffsetWide(IDebugSymbols3 *iface, ULONG64 offset, ULONG *line, WCHAR *buffer, ULONG buffer_size, ULONG *file_size, ULONG64 *displacement)
Definition: dbgeng.c:2062
static HRESULT STDMETHODCALLTYPE debugcontrol_GetEventFilterText(IDebugControl4 *iface, ULONG index, char *buffer, ULONG buffer_size, ULONG *text_size)
Definition: dbgeng.c:3387
static HRESULT STDMETHODCALLTYPE debugcontrol_SetEventFilterCommand(IDebugControl4 *iface, ULONG index, const char *command)
Definition: dbgeng.c:3403
static HRESULT STDMETHODCALLTYPE debugsymbols_SetSymbolOptions(IDebugSymbols3 *iface, ULONG options)
Definition: dbgeng.c:1440
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolModuleWide(IDebugSymbols3 *iface, const WCHAR *symbol, ULONG64 *base)
Definition: dbgeng.c:2087
static struct debug_client * impl_from_IDebugSystemObjects(IDebugSystemObjects *iface)
Definition: dbgeng.c:285
static HRESULT STDMETHODCALLTYPE debugadvanced_FindSourceFileAndToken(IDebugAdvanced3 *iface, ULONG start_element, ULONG64 modaddr, const char *filename, ULONG flags, void *filetoken, ULONG filetokensize, ULONG *found_element, char *buffer, ULONG buffer_size, ULONG *found_size)
Definition: dbgeng.c:4333
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryByToken(IDebugSymbols3 *iface, ULONG64 base, ULONG token, DEBUG_MODULE_AND_ID *id)
Definition: dbgeng.c:2461
static const IDebugSystemObjectsVtbl debugsystemobjectsvtbl
Definition: dbgeng.c:4638
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceFileLineOffsets(IDebugSymbols3 *iface, const char *file, ULONG64 *buffer, ULONG buffer_lines, ULONG *file_lines)
Definition: dbgeng.c:1881
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetNumberProcesses(IDebugSystemObjects *iface, ULONG *number)
Definition: dbgeng.c:4553
static HRESULT STDMETHODCALLTYPE debugcontrol_GetInterruptTimeout(IDebugControl4 *iface, ULONG *timeout)
Definition: dbgeng.c:2729
static HRESULT STDMETHODCALLTYPE debugclient_GetOutputLinePrefix(IDebugClient7 *iface, char *buffer, ULONG buffer_size, ULONG *prefix_size)
Definition: dbgeng.c:688
static HRESULT STDMETHODCALLTYPE debugclient_StartServer(IDebugClient7 *iface, const char *options)
Definition: dbgeng.c:546
static HRESULT STDMETHODCALLTYPE debugdataspaces_QueryInterface(IDebugDataSpaces *iface, REFIID riid, void **obj)
Definition: dbgeng.c:1175
static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteIo(IDebugDataSpaces *iface, ULONG type, ULONG bus_number, ULONG address_space, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *written)
Definition: dbgeng.c:1310
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetThreadIdByHandle(IDebugSystemObjects *iface, ULONG64 handle, ULONG *id)
Definition: dbgeng.c:4545
static HRESULT STDMETHODCALLTYPE debugcontrol_GetCodeLevel(IDebugControl4 *iface, ULONG *level)
Definition: dbgeng.c:3130
static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescription(IDebugClient7 *iface, ULONG64 server, ULONG systemid, ULONG flags, char *exe_name, ULONG exe_name_size, ULONG *actual_exe_name_size, char *description, ULONG description_size, ULONG *actual_description_size)
Definition: dbgeng.c:446
static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByNameWide(IDebugSymbols3 *iface, const WCHAR *symbol, ULONG64 *offset)
Definition: dbgeng.c:2045
static HRESULT STDMETHODCALLTYPE debugclient_StartServerWide(IDebugClient7 *iface, const WCHAR *options)
Definition: dbgeng.c:904
static HRESULT STDMETHODCALLTYPE debugcontrol_SetSpecificFilterParameters(IDebugControl4 *iface, ULONG start, ULONG count, DEBUG_SPECIFIC_FILTER_PARAMETERS *parameters)
Definition: dbgeng.c:3419
static HRESULT STDMETHODCALLTYPE debugcontrol_GetLogFile(IDebugControl4 *iface, char *buffer, ULONG buffer_size, ULONG *file_size, BOOL *append)
Definition: dbgeng.c:2743
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputPromptVaListWide(IDebugControl4 *iface, ULONG output_control, const WCHAR *format, va_list args)
Definition: dbgeng.c:3755
static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByName(IDebugSymbols3 *iface, const char *symbol, ULONG64 *offset)
Definition: dbgeng.c:1456
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExtensionByPathWide(IDebugControl4 *iface, const WCHAR *path, ULONG64 *handle)
Definition: dbgeng.c:3872
static HRESULT STDMETHODCALLTYPE debugclient_AttachKernel(IDebugClient7 *iface, ULONG flags, const char *options)
Definition: dbgeng.c:385
static HRESULT STDMETHODCALLTYPE debugclient_DispatchCallbacks(IDebugClient7 *iface, ULONG timeout)
Definition: dbgeng.c:597
static HRESULT STDMETHODCALLTYPE debugcontrol_ExecuteCommandFile(IDebugControl4 *iface, ULONG output_control, const char *command_file, ULONG flags)
Definition: dbgeng.c:3271
static HRESULT STDMETHODCALLTYPE debugcontrol_AddBreakpoint(IDebugControl4 *iface, ULONG type, ULONG desired_id, IDebugBreakpoint **bp)
Definition: dbgeng.c:3309
static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentProcessExecutableName(IDebugSystemObjects *iface, char *buffer, ULONG buffer_size, ULONG *exe_size)
Definition: dbgeng.c:4630
static HRESULT STDMETHODCALLTYPE debugsymbols_AddSyntheticSymbolWide(IDebugSymbols3 *iface, ULONG64 offset, ULONG size, const WCHAR *name, ULONG flags, DEBUG_MODULE_AND_ID *id)
Definition: dbgeng.c:2421
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryString(IDebugSymbols3 *iface, DEBUG_MODULE_AND_ID *id, ULONG which, char *buffer, ULONG buffer_size, ULONG *string_size)
Definition: dbgeng.c:2477
static HRESULT STDMETHODCALLTYPE debugclient_GetQuitLockString(IDebugClient7 *iface, char *buffer, ULONG buf_size, ULONG *size)
Definition: dbgeng.c:1032
static HRESULT STDMETHODCALLTYPE debugadvanced_QueryInterface(IDebugAdvanced3 *iface, REFIID riid, void **obj)
Definition: dbgeng.c:4282
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputContextStackTrace(IDebugControl4 *iface, ULONG output_control, PDEBUG_STACK_FRAME frames, ULONG frames_size, void *frame_contexts, ULONG frame_contexts_size, ULONG frame_contexts_entry_size, ULONG flags)
Definition: dbgeng.c:4066
static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttach(IDebugClient7 *iface, ULONG64 server, char *cmdline, ULONG create_flags, ULONG pid, ULONG attach_flags)
Definition: dbgeng.c:488
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputVaListWide(IDebugControl4 *iface, ULONG mask, const WCHAR *format, va_list args)
Definition: dbgeng.c:3723
static HRESULT STDMETHODCALLTYPE debugcontrol_EvaluateWide(IDebugControl4 *iface, const WCHAR *expression, ULONG desired_type, DEBUG_VALUE *value, ULONG *remainder_index)
Definition: dbgeng.c:3811
HRESULT WINAPI DebugConnect(PCSTR RemoteOptions, REFIID InterfaceId, PVOID *pInterface)
Definition: dbgeng.c:4753
static HRESULT STDMETHODCALLTYPE debugsymbols_GetScopeSymbolGroup2(IDebugSymbols3 *iface, ULONG flags, PDEBUG_SYMBOL_GROUP2 update, PDEBUG_SYMBOL_GROUP2 *symbols)
Definition: dbgeng.c:2128
static struct target_process * debug_client_get_target(struct debug_client *debug_client)
Definition: dbgeng.c:83
static const IDebugSymbols3Vtbl debugsymbolsvtbl
Definition: dbgeng.c:2565
static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadVirtualUncached(IDebugDataSpaces *iface, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *read_len)
Definition: dbgeng.c:1237
static HRESULT STDMETHODCALLTYPE debugcontrol_OutputPromptVaList(IDebugControl4 *iface, ULONG output_control, const char *format, va_list args)
Definition: dbgeng.c:2831
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryStringWide(IDebugSymbols3 *iface, DEBUG_SYMBOL_SOURCE_ENTRY *entry, ULONG which, WCHAR *buffer, ULONG buffer_size, ULONG *string_size)
Definition: dbgeng.c:2541
static HRESULT STDMETHODCALLTYPE debugclient_SetKernelConnectionOptions(IDebugClient7 *iface, const char *options)
Definition: dbgeng.c:400
static HRESULT STDMETHODCALLTYPE debugcontrol_RemoveEngineOptions(IDebugControl4 *iface, ULONG options)
Definition: dbgeng.c:3169
static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeId(IDebugSymbols3 *iface, ULONG64 base, const char *name, ULONG *type_id)
Definition: dbgeng.c:1635
static HRESULT STDMETHODCALLTYPE debugcontrol_ReadBugCheckData(IDebugControl4 *iface, ULONG *code, ULONG64 *arg1, ULONG64 *arg2, ULONG64 *arg3, ULONG64 *arg4)
Definition: dbgeng.c:3069
static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetTypeId(IDebugSymbols3 *iface, ULONG64 offset, ULONG *type_id, ULONG64 *base)
Definition: dbgeng.c:1667
static HRESULT STDMETHODCALLTYPE debugclient_PushOutputLinePrefix(IDebugClient7 *iface, const char *prefix, ULONG64 *handle)
Definition: dbgeng.c:996
static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryBySourceEntry(IDebugSymbols3 *iface, DEBUG_SYMBOL_SOURCE_ENTRY *from_entry, ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *to_entry)
Definition: dbgeng.c:2557
static HRESULT STDMETHODCALLTYPE debugclient_GetIdentityWide(IDebugClient7 *iface, WCHAR *buffer, ULONG buf_size, ULONG *identity)
Definition: dbgeng.c:940
static HRESULT STDMETHODCALLTYPE debugcontrol_GetActualProcessorType(IDebugControl4 *iface, ULONG *type)
Definition: dbgeng.c:2970
HRESULT WINAPI DebugCreate(REFIID riid, void **obj)
Definition: dbgeng.c:4701
static HRESULT STDMETHODCALLTYPE debugcontrol_ResetManagedStatus(IDebugControl4 *iface, ULONG flags)
Definition: dbgeng.c:4102
static HRESULT STDMETHODCALLTYPE debugcontrol_WaitForEvent(IDebugControl4 *iface, ULONG flags, ULONG timeout)
Definition: dbgeng.c:3475
static HRESULT STDMETHODCALLTYPE debugsymbols_RemoveSyntheticModule(IDebugSymbols3 *iface, ULONG64 base)
Definition: dbgeng.c:2342
static HRESULT STDMETHODCALLTYPE debugcontrol_GetExceptionFilterSecondCommand(IDebugControl4 *iface, ULONG index, char *buffer, ULONG buffer_size, ULONG *command_size)
Definition: dbgeng.c:3459
static HRESULT STDMETHODCALLTYPE debugclient_GetDumpFileWide(IDebugClient7 *iface, ULONG index, WCHAR *buffer, ULONG buf_size, ULONG *name_size, ULONG64 *handle, ULONG *type)
Definition: dbgeng.c:866
static HRESULT STDMETHODCALLTYPE debugadvanced_GetSymbolInformation(IDebugAdvanced3 *iface, ULONG which, ULONG64 arg64, ULONG arg32, void *buffer, ULONG buffer_size, ULONG *info_size, char *string_buffer, ULONG string_buffer_size, ULONG *string_size)
Definition: dbgeng.c:4343
static HRESULT STDMETHODCALLTYPE debugsymbols_SetImagePathWide(IDebugSymbols3 *iface, const WCHAR *path)
Definition: dbgeng.c:2196
interface IDebugClient IDebugClient
Definition: dbgeng.h:213
IDebugBreakpoint2 * PDEBUG_BREAKPOINT2
Definition: dbgeng.h:508
#define DEBUG_ANY_ID
Definition: dbgeng.h:209
#define DEBUG_CLASS_USER_WINDOWS
Definition: dbgeng.h:189
#define DEBUG_ATTACH_NONINVASIVE
Definition: dbgeng.h:84
#define DEBUG_INVALID_OFFSET
Definition: dbgeng.h:208
struct _WINDBG_EXTENSION_APIS32 * PWINDBG_EXTENSION_APIS32
Definition: dbgeng.h:314
#define DEBUG_MODNAME_MODULE
Definition: dbgeng.h:182
#define DEBUG_ENGOPT_ALL
Definition: dbgeng.h:79
#define DEBUG_MODNAME_LOADED_IMAGE
Definition: dbgeng.h:183
#define DEBUG_CLASS_UNINITIALIZED
Definition: dbgeng.h:187
#define DEBUG_ATTACH_NONINVASIVE_NO_SUSPEND
Definition: dbgeng.h:86
#define DEBUG_USER_WINDOWS_PROCESS
Definition: dbgeng.h:200
struct _WINDBG_EXTENSION_APIS64 * PWINDBG_EXTENSION_APIS64
Definition: dbgeng.h:315
#define DEBUG_MODNAME_SYMBOL_FILE
Definition: dbgeng.h:184
#define DEBUG_MODNAME_MAPPED_IMAGE
Definition: dbgeng.h:185
#define DEBUG_MODNAME_IMAGE
Definition: dbgeng.h:181
IDebugSymbolGroup2 * PDEBUG_SYMBOL_GROUP2
Definition: dbgeng.h:509
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define E_INVALIDARG
Definition: ddrawi.h:101
#define E_NOTIMPL
Definition: ddrawi.h:99
#define E_FAIL
Definition: ddrawi.h:102
size_t const element_size
Definition: debug_heap.cpp:510
#define free
Definition: debug_ros.c:5
#define malloc
Definition: debug_ros.c:4
HRESULT hr
Definition: delayimp.cpp:582
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define CloseHandle
Definition: compat.h:739
#define ReadProcessMemory(a, b, c, d, e)
Definition: compat.h:758
#define IMAGE_FILE_MACHINE_ARMNT
Definition: compat.h:127
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
int(* FARPROC)()
Definition: compat.h:36
#define SetLastError(x)
Definition: compat.h:752
static __inline const char * wine_dbgstr_longlong(ULONGLONG ll)
Definition: compat.h:49
#define IsWow64Process
Definition: compat.h:760
#define MAX_PATH
Definition: compat.h:34
#define IMAGE_FILE_MACHINE_ARM64
Definition: compat.h:129
HANDLE WINAPI OpenProcess(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwProcessId)
Definition: proc.c:1274
BOOL WINAPI EnumProcessModulesEx(HANDLE process, HMODULE *module, DWORD count, DWORD *needed, DWORD filter)
Definition: debug.c:1104
BOOL WINAPI GetModuleInformation(HANDLE process, HMODULE module, MODULEINFO *modinfo, DWORD count)
Definition: debug.c:1503
DWORD WINAPI DECLSPEC_HOTPATCH GetModuleFileNameExA(HANDLE process, HMODULE module, char *name, DWORD size)
Definition: debug.c:1409
DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR filename, LPDWORD handle)
Definition: version.c:746
BOOL WINAPI VerQueryValueA(LPCVOID pBlock, LPCSTR lpSubBlock, LPVOID *lplpBuffer, PUINT puLen)
Definition: version.c:1115
BOOL WINAPI GetFileVersionInfoA(LPCSTR filename, DWORD handle, DWORD datasize, LPVOID data)
Definition: version.c:975
_ACRTIMP size_t __cdecl strlen(const char *)
Definition: string.c:1597
char * va_list
Definition: vadefs.h:50
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
uacpi_u16 uacpi_gpe_triggering uacpi_gpe_handler uacpi_handle ctx uacpi_u16 uacpi_namespace_node *wake_device uacpi_u16 idx uacpi_u16 idx uacpi_u16 idx uacpi_u16 idx uacpi_u16 idx uacpi_u64 uacpi_address_space address_space
Definition: event.h:273
r reserved
Definition: btrfs.c:3006
#define ULONG_PTR
Definition: config.h:101
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
PINTERFACE pInterface
FxCollectionEntry * cur
size_t total
GLuint start
Definition: gl.h:1545
GLint level
Definition: gl.h:1546
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLenum func
Definition: glext.h:6028
GLuint * ids
Definition: glext.h:5907
GLuint buffer
Definition: glext.h:5915
GLsizeiptr size
Definition: glext.h:5919
GLintptr offset
Definition: glext.h:5920
GLuint GLuint GLuint GLuint arg1
Definition: glext.h:9513
GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg3
Definition: glext.h:9515
GLuint index
Definition: glext.h:6031
GLenum GLint GLuint mask
Definition: glext.h:6028
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
Definition: glext.h:9514
GLubyte * pattern
Definition: glext.h:7787
GLenum const GLfloat * params
Definition: glext.h:5645
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glext.h:7005
GLbitfield flags
Definition: glext.h:7161
GLuint GLsizei GLsizei * length
Definition: glext.h:6040
GLboolean GLuint group
Definition: glext.h:11120
GLuint GLint GLboolean GLint GLenum access
Definition: glext.h:7866
GLenum GLsizei len
Definition: glext.h:6722
GLenum GLenum GLenum input
Definition: glext.h:9031
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat token
Definition: glfuncs.h:210
unsigned int UINT
Definition: sysinfo.c:13
type_id
#define PROCESS_SUSPEND_RESUME
Definition: pstypes.h:163
#define PROCESS_VM_READ
Definition: pstypes.h:157
#define PROCESS_VM_WRITE
Definition: pstypes.h:158
REFIID riid
Definition: atlbase.h:39
static TfClientId tid
#define S_OK
Definition: intsafe.h:52
#define FAILED(hr)
Definition: intsafe.h:51
#define frame_offset
Definition: intsym.h:201
const char * filename
Definition: ioapi.h:137
uint32_t entry
Definition: isohybrid.c:63
const unsigned char * inbuffer
Definition: jpeglib.h:985
unsigned char size_t * outsize
Definition: jpeglib.h:983
#define debugstr_guid
Definition: kernel32.h:35
#define debugstr_a
Definition: kernel32.h:31
#define debugstr_w
Definition: kernel32.h:32
static void append(struct dump_context *dc, const void *data, unsigned size)
Definition: minidump.c:397
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
unsigned __int64 ULONG64
Definition: imports.h:198
static PVOID ptr
Definition: dispmode.c:27
HANDLE events[2]
Definition: event.c:4
#define PROCESS_QUERY_LIMITED_INFORMATION
Definition: security.c:59
#define comment(fmt, arg1)
Definition: rebar.c:847
D3D11_SHADER_VARIABLE_DESC desc
Definition: reflection.c:1204
const char * fullname
Definition: shader.c:1766
static unsigned int number
Definition: dsound.c:1479
IMAGE_DOS_HEADER dos
Definition: module.c:67
static char * exename
Definition: process.c:107
static const char machine[]
Definition: profile.c:104
BOOL loaded
Definition: xmlview.c:54
static APTTYPEQUALIFIER * qualifier
Definition: compobj.c:77
DWORD create_flags
Definition: sec_mgr.c:1565
static BYTE parameters[]
Definition: asn.c:558
#define min(a, b)
Definition: monoChain.cc:55
api
Definition: notification.c:39
#define BOOL
Definition: nt_native.h:43
#define DWORD
Definition: nt_native.h:44
#define IMAGE_FILE_MACHINE_AMD64
Definition: ntimage.h:17
#define IMAGE_FILE_MACHINE_IA64
Definition: ntimage.h:22
NTSTATUS NTAPI NtSuspendProcess(IN HANDLE ProcessHandle)
Definition: state.c:411
NTSTATUS NTAPI NtResumeProcess(IN HANDLE ProcessHandle)
Definition: state.c:438
static const WCHAR uptime[]
Definition: pdh.c:76
#define IMAGE_FILE_MACHINE_I386
Definition: pedump.c:174
short WCHAR
Definition: pedump.c:58
long LONG
Definition: pedump.c:60
#define IMAGE_DOS_SIGNATURE
Definition: pedump.c:89
static BOOL wow64
Definition: psapi_main.c:44
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95
#define REFIID
Definition: guiddef.h:118
static unsigned int file_size
Definition: regtests2xml.c:47
#define calloc
Definition: rosglue.h:14
const WCHAR * str
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
Definition: list.h:198
#define LIST_FOR_EACH_ENTRY_SAFE(cursor, cursor2, list, type, field)
Definition: list.h:204
#define memset(x, y, z)
Definition: compat.h:39
static FILE * client
Definition: client.c:37
#define minor(rdev)
Definition: propsheet.cpp:929
#define major(rdev)
Definition: propsheet.cpp:928
#define TRACE(s)
Definition: solgame.cpp:4
wchar_t const *const size_t const buffer_size
Definition: stat.cpp:95
TCHAR * cmdline
Definition: stretchblt.cpp:32
Definition: dbgeng.h:350
Definition: dbgeng.h:366
Definition: vfat.h:185
Definition: match.c:390
Definition: inflate.c:139
Definition: http.c:7252
Definition: dialog.c:52
IDebugDataSpaces IDebugDataSpaces_iface
Definition: dbgeng.c:72
IDebugAdvanced3 IDebugAdvanced3_iface
Definition: dbgeng.c:75
ULONG engine_options
Definition: dbgeng.c:78
IDebugSymbols3 IDebugSymbols3_iface
Definition: dbgeng.c:73
IDebugSystemObjects IDebugSystemObjects_iface
Definition: dbgeng.c:76
IDebugEventCallbacks * event_callbacks
Definition: dbgeng.c:80
struct list targets
Definition: dbgeng.c:79
LONG refcount
Definition: dbgeng.c:77
IDebugControl4 IDebugControl4_iface
Definition: dbgeng.c:74
IDebugClient7 IDebugClient_iface
Definition: dbgeng.c:71
Definition: parser.c:44
Definition: fci.c:123
Definition: format.c:58
Definition: parser.c:49
Definition: list.h:15
DEBUG_MODULE_PARAMETERS params
Definition: dbgeng.c:49
char image_name[MAX_PATH]
Definition: dbgeng.c:50
Definition: name.c:39
Definition: tftpd.h:86
Definition: ps.c:97
struct list entry
Definition: dbgeng.c:55
unsigned int pid
Definition: dbgeng.c:56
unsigned int loaded
Definition: dbgeng.c:62
unsigned int attach_flags
Definition: dbgeng.c:57
unsigned int unloaded
Definition: dbgeng.c:63
ULONG cpu_type
Definition: dbgeng.c:66
BOOL initialized
Definition: dbgeng.c:64
struct target_process::@362 modules
HANDLE handle
Definition: dbgeng.c:58
struct module_info * info
Definition: dbgeng.c:61
Definition: tools.h:99
Definition: dhcpd.h:248
Definition: cmds.c:130
output_type
Definition: stylesheet.c:52
#define LIST_ENTRY(type)
Definition: queue.h:175
Character const *const prefix
Definition: tempnam.cpp:195
int64_t LONG64
Definition: typedefs.h:68
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
ULONG_PTR SIZE_T
Definition: typedefs.h:80
const char * PCSTR
Definition: typedefs.h:52
uint32_t ULONG_PTR
Definition: typedefs.h:65
HANDLE HMODULE
Definition: typedefs.h:77
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
uint32_t ULONG
Definition: typedefs.h:59
Definition: pdh_main.c:96
static unsigned stack_offset(compile_ctx_t *ctx)
Definition: compile.c:367
static rfbScreenInfoPtr server
Definition: vnc.c:74
static GLenum which
Definition: wgl_font.c:159
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
Definition: winddi.h:3837
#define WINAPI
Definition: msvc.h:6
const char * description
Definition: directx.c:2497
#define S_FALSE
Definition: winerror.h:3451
static HRESULT HRESULT_FROM_WIN32(unsigned int x)
Definition: winerror.h:210
#define E_NOINTERFACE
Definition: winerror.h:3479
#define E_UNEXPECTED
Definition: winerror.h:3528
size_t const unsigned const radix
Definition: xtoa.cpp:37