Added dbgeng-IDebugClient7 patchset

This commit is contained in:
Alistair Leslie-Hughes 2019-07-15 08:36:48 +10:00
parent 944b464511
commit aa2ec8b32c
5 changed files with 2188 additions and 0 deletions

View File

@ -0,0 +1,732 @@
From 0c27598457f5abfc49d99d8bb05189a43514c522 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Fri, 12 Jul 2019 10:34:05 +1000
Subject: [PATCH 1/3] include: Add IDebugClient2-7 interfaces.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
---
include/dbgeng.h | 678 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 678 insertions(+)
diff --git a/include/dbgeng.h b/include/dbgeng.h
index 0c97d2c9a7..9957e90de6 100644
--- a/include/dbgeng.h
+++ b/include/dbgeng.h
@@ -24,8 +24,17 @@ extern "C" {
DEFINE_GUID(IID_IDebugInputCallbacks, 0x9f50e42c, 0xf136, 0x499e, 0x9a, 0x97, 0x73, 0x03, 0x6c, 0x94, 0xed, 0x2d);
DEFINE_GUID(IID_IDebugOutputCallbacks, 0x4bf58045, 0xd654, 0x4c40, 0xb0, 0xaf, 0x68, 0x30, 0x90, 0xf3, 0x56, 0xdc);
+DEFINE_GUID(IID_IDebugOutputCallbacksWide,0x4c7fd663, 0xc394, 0x4e26, 0x8e, 0xf1, 0x34, 0xad, 0x5e, 0xd3, 0x76, 0x4c);
DEFINE_GUID(IID_IDebugEventCallbacks, 0x337be28b, 0x5036, 0x4d72, 0xb6, 0xbf, 0xc4, 0x5f, 0xbb, 0x9f, 0x2e, 0xaa);
+DEFINE_GUID(IID_IDebugEventCallbacksWide, 0x0690e046, 0x9c23, 0x45ac, 0xa0, 0x4f, 0x98, 0x7a, 0xc2, 0x9a, 0xd0, 0xd3);
+DEFINE_GUID(IID_IDebugEventContextCallbacks, 0x61a4905b, 0x23f9, 0x4247, 0xb3, 0xc5, 0x53, 0xd0, 0x87, 0x52, 0x9a, 0xb7);
DEFINE_GUID(IID_IDebugClient, 0x27fe5639, 0x8407, 0x4f47, 0x83, 0x64, 0xee, 0x11, 0x8f, 0xb0, 0x8a, 0xc8);
+DEFINE_GUID(IID_IDebugClient2, 0xedbed635, 0x372e, 0x4dab, 0xbb, 0xfe, 0xed, 0x0d, 0x2f, 0x63, 0xbe, 0x81);
+DEFINE_GUID(IID_IDebugClient3, 0xdd492d7f, 0x71b8, 0x4ad6, 0xa8, 0xdc, 0x1c, 0x88, 0x74, 0x79, 0xff, 0x91);
+DEFINE_GUID(IID_IDebugClient4, 0xca83c3de, 0x5089, 0x4cf8, 0x93, 0xc8, 0xd8, 0x92, 0x38, 0x7f, 0x2a, 0x5e);
+DEFINE_GUID(IID_IDebugClient5, 0xe3acb9d7, 0x7ec2, 0x4f0c, 0xa0, 0xda, 0xe8, 0x1e, 0x0c, 0xbb, 0xe6, 0x28);
+DEFINE_GUID(IID_IDebugClient6, 0xfd28b4c5, 0xc498, 0x4686, 0xa2, 0x8e, 0x62, 0xca, 0xd2, 0x15, 0x4e, 0xb3);
+DEFINE_GUID(IID_IDebugClient7, 0x13586be3, 0x542e, 0x481e, 0xb1, 0xf2, 0x84, 0x97, 0xba, 0x74, 0xf9, 0xa9);
DEFINE_GUID(IID_IDebugDataSpaces, 0x88f7dfab, 0x3ea7, 0x4c3a, 0xae, 0xfb, 0xc4, 0xe8, 0x10, 0x61, 0x73, 0xaa);
DEFINE_GUID(IID_IDebugDataSpaces2, 0x7a5e852f, 0x96e9, 0x468f, 0xac, 0x1b, 0x0b, 0x3a, 0xdd, 0xc4, 0xa0, 0x49);
DEFINE_GUID(IID_IDebugSymbols, 0x8c31e98c, 0x983a, 0x48a5, 0x90, 0x16, 0x6f, 0xe5, 0xd6, 0x67, 0xa9, 0x50);
@@ -356,6 +365,19 @@ DECLARE_INTERFACE_(IDebugBreakpoint, IUnknown)
};
#undef INTERFACE
+#define INTERFACE IDebugBreakpoint2
+DECLARE_INTERFACE_(IDebugBreakpoint2, IUnknown)
+{
+ /* IUnknown */
+ STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
+ STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG, Release)(THIS) PURE;
+ /* IDebugBreakpoint */
+ /* FIXME */
+};
+#undef INTERFACE
+
+
#define INTERFACE IDebugSymbolGroup
DECLARE_INTERFACE_(IDebugSymbolGroup, IUnknown)
{
@@ -409,6 +431,18 @@ DECLARE_INTERFACE_(IDebugOutputCallbacks, IUnknown)
};
#undef INTERFACE
+#define INTERFACE IDebugOutputCallbacksWide
+DECLARE_INTERFACE_(IDebugOutputCallbacksWide, IUnknown)
+{
+ /* IUnknown */
+ STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
+ STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG, Release)(THIS) PURE;
+ /* IDebugOutputCallbacksWide */
+ STDMETHOD(Output)(THIS_ ULONG mask, const WCHAR *text) PURE;
+};
+#undef INTERFACE
+
#ifdef WINE_NO_UNICODE_MACROS
#undef CreateProcess
#endif
@@ -441,6 +475,65 @@ DECLARE_INTERFACE_(IDebugEventCallbacks, IUnknown)
};
#undef INTERFACE
+#define INTERFACE IDebugEventCallbacksWide
+DECLARE_INTERFACE_(IDebugEventCallbacksWide, IUnknown)
+{
+ /* IUnknown */
+ STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
+ STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG, Release)(THIS) PURE;
+
+ /* IDebugEventCallbacksWide */
+ STDMETHOD(GetInterestMask)(THIS_ ULONG *mask) PURE;
+ STDMETHOD(Breakpoint)(THIS_ PDEBUG_BREAKPOINT breakpoint) PURE;
+ STDMETHOD(Exception)(THIS_ EXCEPTION_RECORD64 *exception, ULONG first_chance) PURE;
+ STDMETHOD(CreateThread)(THIS_ ULONG64 handle, ULONG64 data_offset, ULONG64 start_offset) PURE;
+ STDMETHOD(ExitThread)(THIS_ ULONG exit_code) PURE;
+ STDMETHOD(CreateProcess)(THIS_ ULONG64 image_handle, ULONG64 handle, ULONG64 base_offset, ULONG module_size,
+ const WCHAR *module_name, const WCHAR *image_name, ULONG checksum, ULONG timedatestamp,
+ ULONG64 initial_thread_handle, ULONG64 thread_data_offset, ULONG64 start_offset) PURE;
+ STDMETHOD(ExitProcess)(THIS_ ULONG exit_code) PURE;
+ STDMETHOD(LoadModule)(THIS_ ULONG64 image_handle, ULONG64 base_offset, ULONG module_size, const WCHAR *module_name,
+ const WCHAR *image_name, ULONG checksum, ULONG timedatestamp) PURE;
+ STDMETHOD(UnloadModule)(THIS_ const WCHAR *image_basename, ULONG64 base_offset) PURE;
+ STDMETHOD(SystemError)(THIS_ ULONG error, ULONG level) PURE;
+ STDMETHOD(SessionStatus)(THIS_ ULONG status) PURE;
+ STDMETHOD(ChangeDebuggeeState)(THIS_ ULONG flags, ULONG64 argument) PURE;
+ STDMETHOD(ChangeEngineState)(THIS_ ULONG flags, ULONG64 argument) PURE;
+ STDMETHOD(ChangeSymbolState)(THIS_ ULONG flags, ULONG64 argument) PURE;
+};
+#undef INTERFACE
+
+#define INTERFACE IDebugEventContextCallbacks
+DECLARE_INTERFACE_(IDebugEventContextCallbacks, IUnknown)
+{
+ /* IUnknown */
+ STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
+ STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG, Release)(THIS) PURE;
+
+ /* IDebugEventContextCallbacks */
+ STDMETHOD(GetInterestMask)(THIS_ ULONG *mask) PURE;
+ STDMETHOD(Breakpoint)(THIS_ IDebugBreakpoint2 *bp, void *context, ULONG size) PURE;
+ STDMETHOD(Exception)(THIS_ EXCEPTION_RECORD64 *exception, ULONG firstchance, void *context, ULONG size) PURE;
+ STDMETHOD(CreateThread)(THIS_ ULONG64 handle, ULONG64 data_offset, ULONG64 start_offset, void *context, ULONG size) PURE;
+ STDMETHOD(ExitThread)(THIS_ ULONG exitcode, void *context, ULONG size) PURE;
+
+ STDMETHOD(CreateProcess)(THIS_ ULONG64 image_handle, ULONG64 handle, ULONG64 baseoffset, ULONG module_size,
+ const WCHAR *module_name, const WCHAR image_name, ULONG checksum, ULONG timestamp, ULONG64 initial,
+ ULONG64 thread_offset, ULONG64 start_offset, void *context, ULONG size) PURE;
+ STDMETHOD(ExitProcess)(THIS_ ULONG exitcode, void *context, ULONG size) PURE;
+ STDMETHOD(LoadModule)(THIS_ ULONG64 image_handle, ULONG64 baseoffset, ULONG module_size, const WCHAR *module_name,
+ const WCHAR *image_name, ULONG checksum, ULONG timestamp, void *context, ULONG size) PURE;
+ STDMETHOD(UnloadModule)(THIS_ const WCHAR *image_name, ULONG64 offset, void *context, ULONG size) PURE;
+ STDMETHOD(SystemError)(THIS_ ULONG error, ULONG level, void *context, ULONG size) PURE;
+ STDMETHOD(SessionStatus)(THIS_ ULONG status) PURE;
+ STDMETHOD(ChangeDebuggeeState)(THIS_ ULONG flags, ULONG64 argument, void *context, ULONG size) PURE;
+ STDMETHOD(ChangeEngineState)(THIS_ ULONG flags, ULONG64 argument, void *context, ULONG size) PURE;
+ STDMETHOD(ChangeSymbolState)(THIS_ ULONG flags, ULONG64 argument) PURE;
+};
+#undef INTERFACE
+
#define INTERFACE IDebugClient
DECLARE_INTERFACE_(IDebugClient, IUnknown)
{
@@ -501,6 +594,591 @@ DECLARE_INTERFACE_(IDebugClient, IUnknown)
};
#undef INTERFACE
+#define INTERFACE IDebugClient2
+DECLARE_INTERFACE_(IDebugClient2, IUnknown)
+{
+ /* IUnknown */
+ STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
+ STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG, Release)(THIS) PURE;
+ /* IDebugClient */
+ STDMETHOD(AttachKernel)(THIS_ ULONG flags, const char *options) PURE;
+ STDMETHOD(GetKernelConnectionOptions)(THIS_ char *buffer, ULONG buffer_size, ULONG *options_size) PURE;
+ STDMETHOD(SetKernelConnectionOptions)(THIS_ const char *options) PURE;
+ STDMETHOD(StartProcessServer)(THIS_ ULONG flags, const char *options, void *reserved) PURE;
+ STDMETHOD(ConnectProcessServer)(THIS_ const char *remote_options, ULONG64 *server) PURE;
+ STDMETHOD(DisconnectProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(GetRunningProcessSystemIds)(THIS_ ULONG64 server, ULONG *ids, ULONG count, ULONG *actual_count) PURE;
+ STDMETHOD(GetRunningProcessSystemIdByExecutableName)(THIS_ ULONG64 server, const char *exe_name,
+ ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescription)(THIS_ 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) PURE;
+ STDMETHOD(AttachProcess)(THIS_ ULONG64 server, ULONG pid, ULONG flags) PURE;
+ STDMETHOD(CreateProcess)(THIS_ ULONG64 server, char *cmdline, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttach)(THIS_ ULONG64 server, char *cmdline, ULONG create_flags,
+ ULONG pid, ULONG attach_flags) PURE;
+ STDMETHOD(GetProcessOptions)(THIS_ ULONG *options) PURE;
+ STDMETHOD(AddProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(RemoveProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(SetProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(OpenDumpFile)(THIS_ const char *filename) PURE;
+ STDMETHOD(WriteDumpFile)(THIS_ const char *filename, ULONG qualifier) PURE;
+ STDMETHOD(ConnectSession)(THIS_ ULONG flags, ULONG history_limit) PURE;
+ STDMETHOD(StartServer)(THIS_ const char *options) PURE;
+ STDMETHOD(OutputServers)(THIS_ ULONG output_control, const char *machine, ULONG flags) PURE;
+ STDMETHOD(TerminateProcesses)(THIS) PURE;
+ STDMETHOD(DetachProcesses)(THIS) PURE;
+ STDMETHOD(EndSession)(THIS_ ULONG flags) PURE;
+ STDMETHOD(GetExitCode)(THIS_ ULONG *code) PURE;
+ STDMETHOD(DispatchCallbacks)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(ExitDispatch)(THIS_ IDebugClient *client) PURE;
+ STDMETHOD(CreateClient)(THIS_ IDebugClient **client) PURE;
+ STDMETHOD(GetInputCallbacks)(THIS_ IDebugInputCallbacks **callbacks) PURE;
+ STDMETHOD(SetInputCallbacks)(THIS_ IDebugInputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputCallbacks)(THIS_ IDebugOutputCallbacks **callbacks) PURE;
+ STDMETHOD(SetOutputCallbacks)(THIS_ IDebugOutputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputMask)(THIS_ ULONG *mask) PURE;
+ STDMETHOD(SetOutputMask)(THIS_ ULONG mask) PURE;
+ STDMETHOD(GetOtherOutputMask)(THIS_ IDebugClient *client, ULONG *mask) PURE;
+ STDMETHOD(SetOtherOutputMask)(THIS_ IDebugClient *client, ULONG mask) PURE;
+ STDMETHOD(GetOutputWidth)(THIS_ ULONG *columns) PURE;
+ STDMETHOD(SetOutputWidth)(THIS_ ULONG columns) PURE;
+ STDMETHOD(GetOutputLinePrefix)(THIS_ char *buffer, ULONG buffer_size, ULONG *prefix_size) PURE;
+ STDMETHOD(SetOutputLinePrefix)(THIS_ const char *prefix) PURE;
+ STDMETHOD(GetIdentity)(THIS_ char *buffer, ULONG buffer_size, ULONG *identity_size) PURE;
+ STDMETHOD(OutputIdentity)(THIS_ ULONG output_control, ULONG flags, const char *format) PURE;
+ STDMETHOD(GetEventCallbacks)(THIS_ IDebugEventCallbacks **callbacks) PURE;
+ STDMETHOD(SetEventCallbacks)(THIS_ IDebugEventCallbacks *callbacks) PURE;
+ STDMETHOD(FlushCallbacks)(THIS) PURE;
+ /* IDebugClient2 */
+ STDMETHOD(WriteDumpFile2)(THIS_ const char *dumpfile, ULONG qualifier, ULONG flags, const char *comment) PURE;
+ STDMETHOD(AddDumpInformationFile)(THIS_ const char *infofile, ULONG type) PURE;
+ STDMETHOD(EndProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(WaitForProcessServerEnd)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(IsKernelDebuggerEnabled)(THIS) PURE;
+ STDMETHOD(TerminateCurrentProcess)(THIS) PURE;
+ STDMETHOD(DetachCurrentProcess)(THIS) PURE;
+ STDMETHOD(AbandonCurrentProcess)(THIS) PURE;
+};
+#undef INTERFACE
+
+#define INTERFACE IDebugClient3
+DECLARE_INTERFACE_(IDebugClient3, IUnknown)
+{
+ /* IUnknown */
+ STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
+ STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG, Release)(THIS) PURE;
+ /* IDebugClient */
+ STDMETHOD(AttachKernel)(THIS_ ULONG flags, const char *options) PURE;
+ STDMETHOD(GetKernelConnectionOptions)(THIS_ char *buffer, ULONG buffer_size, ULONG *options_size) PURE;
+ STDMETHOD(SetKernelConnectionOptions)(THIS_ const char *options) PURE;
+ STDMETHOD(StartProcessServer)(THIS_ ULONG flags, const char *options, void *reserved) PURE;
+ STDMETHOD(ConnectProcessServer)(THIS_ const char *remote_options, ULONG64 *server) PURE;
+ STDMETHOD(DisconnectProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(GetRunningProcessSystemIds)(THIS_ ULONG64 server, ULONG *ids, ULONG count, ULONG *actual_count) PURE;
+ STDMETHOD(GetRunningProcessSystemIdByExecutableName)(THIS_ ULONG64 server, const char *exe_name,
+ ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescription)(THIS_ 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) PURE;
+ STDMETHOD(AttachProcess)(THIS_ ULONG64 server, ULONG pid, ULONG flags) PURE;
+ STDMETHOD(CreateProcess)(THIS_ ULONG64 server, char *cmdline, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttach)(THIS_ ULONG64 server, char *cmdline, ULONG create_flags,
+ ULONG pid, ULONG attach_flags) PURE;
+ STDMETHOD(GetProcessOptions)(THIS_ ULONG *options) PURE;
+ STDMETHOD(AddProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(RemoveProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(SetProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(OpenDumpFile)(THIS_ const char *filename) PURE;
+ STDMETHOD(WriteDumpFile)(THIS_ const char *filename, ULONG qualifier) PURE;
+ STDMETHOD(ConnectSession)(THIS_ ULONG flags, ULONG history_limit) PURE;
+ STDMETHOD(StartServer)(THIS_ const char *options) PURE;
+ STDMETHOD(OutputServers)(THIS_ ULONG output_control, const char *machine, ULONG flags) PURE;
+ STDMETHOD(TerminateProcesses)(THIS) PURE;
+ STDMETHOD(DetachProcesses)(THIS) PURE;
+ STDMETHOD(EndSession)(THIS_ ULONG flags) PURE;
+ STDMETHOD(GetExitCode)(THIS_ ULONG *code) PURE;
+ STDMETHOD(DispatchCallbacks)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(ExitDispatch)(THIS_ IDebugClient *client) PURE;
+ STDMETHOD(CreateClient)(THIS_ IDebugClient **client) PURE;
+ STDMETHOD(GetInputCallbacks)(THIS_ IDebugInputCallbacks **callbacks) PURE;
+ STDMETHOD(SetInputCallbacks)(THIS_ IDebugInputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputCallbacks)(THIS_ IDebugOutputCallbacks **callbacks) PURE;
+ STDMETHOD(SetOutputCallbacks)(THIS_ IDebugOutputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputMask)(THIS_ ULONG *mask) PURE;
+ STDMETHOD(SetOutputMask)(THIS_ ULONG mask) PURE;
+ STDMETHOD(GetOtherOutputMask)(THIS_ IDebugClient *client, ULONG *mask) PURE;
+ STDMETHOD(SetOtherOutputMask)(THIS_ IDebugClient *client, ULONG mask) PURE;
+ STDMETHOD(GetOutputWidth)(THIS_ ULONG *columns) PURE;
+ STDMETHOD(SetOutputWidth)(THIS_ ULONG columns) PURE;
+ STDMETHOD(GetOutputLinePrefix)(THIS_ char *buffer, ULONG buffer_size, ULONG *prefix_size) PURE;
+ STDMETHOD(SetOutputLinePrefix)(THIS_ const char *prefix) PURE;
+ STDMETHOD(GetIdentity)(THIS_ char *buffer, ULONG buffer_size, ULONG *identity_size) PURE;
+ STDMETHOD(OutputIdentity)(THIS_ ULONG output_control, ULONG flags, const char *format) PURE;
+ STDMETHOD(GetEventCallbacks)(THIS_ IDebugEventCallbacks **callbacks) PURE;
+ STDMETHOD(SetEventCallbacks)(THIS_ IDebugEventCallbacks *callbacks) PURE;
+ STDMETHOD(FlushCallbacks)(THIS) PURE;
+ /* IDebugClient2 */
+ STDMETHOD(WriteDumpFile2)(THIS_ const char *dumpfile, ULONG qualifier, ULONG flags, const char *comment) PURE;
+ STDMETHOD(AddDumpInformationFile)(THIS_ const char *infofile, ULONG type) PURE;
+ STDMETHOD(EndProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(WaitForProcessServerEnd)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(IsKernelDebuggerEnabled)(THIS) PURE;
+ STDMETHOD(TerminateCurrentProcess)(THIS) PURE;
+ STDMETHOD(DetachCurrentProcess)(THIS) PURE;
+ STDMETHOD(AbandonCurrentProcess)(THIS) PURE;
+ /* IDebugClient3 */
+ STDMETHOD(GetRunningProcessSystemIdByExecutableNameWide)(THIS_ ULONG64 server, const WCHAR *exename, ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescriptionWide)(THIS_ ULONG64 server, ULONG id, ULONG flags, WCHAR *exename, ULONG size,
+ ULONG *actualsize, WCHAR *description, ULONG desc_size, ULONG *actual_descr_size) PURE;
+ STDMETHOD(CreateProcessWide)(THIS_ ULONG64 server, WCHAR *CommandLine, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttachWide)(THIS_ ULONG64 server, WCHAR *commandline, ULONG flags,
+ ULONG processid,ULONG attachflags) PURE;
+};
+#undef INTERFACE
+
+#define INTERFACE IDebugClient4
+DECLARE_INTERFACE_(IDebugClient4, IUnknown)
+{
+ /* IUnknown */
+ STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
+ STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG, Release)(THIS) PURE;
+ /* IDebugClient */
+ STDMETHOD(AttachKernel)(THIS_ ULONG flags, const char *options) PURE;
+ STDMETHOD(GetKernelConnectionOptions)(THIS_ char *buffer, ULONG buffer_size, ULONG *options_size) PURE;
+ STDMETHOD(SetKernelConnectionOptions)(THIS_ const char *options) PURE;
+ STDMETHOD(StartProcessServer)(THIS_ ULONG flags, const char *options, void *reserved) PURE;
+ STDMETHOD(ConnectProcessServer)(THIS_ const char *remote_options, ULONG64 *server) PURE;
+ STDMETHOD(DisconnectProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(GetRunningProcessSystemIds)(THIS_ ULONG64 server, ULONG *ids, ULONG count, ULONG *actual_count) PURE;
+ STDMETHOD(GetRunningProcessSystemIdByExecutableName)(THIS_ ULONG64 server, const char *exe_name,
+ ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescription)(THIS_ 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) PURE;
+ STDMETHOD(AttachProcess)(THIS_ ULONG64 server, ULONG pid, ULONG flags) PURE;
+ STDMETHOD(CreateProcess)(THIS_ ULONG64 server, char *cmdline, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttach)(THIS_ ULONG64 server, char *cmdline, ULONG create_flags,
+ ULONG pid, ULONG attach_flags) PURE;
+ STDMETHOD(GetProcessOptions)(THIS_ ULONG *options) PURE;
+ STDMETHOD(AddProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(RemoveProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(SetProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(OpenDumpFile)(THIS_ const char *filename) PURE;
+ STDMETHOD(WriteDumpFile)(THIS_ const char *filename, ULONG qualifier) PURE;
+ STDMETHOD(ConnectSession)(THIS_ ULONG flags, ULONG history_limit) PURE;
+ STDMETHOD(StartServer)(THIS_ const char *options) PURE;
+ STDMETHOD(OutputServers)(THIS_ ULONG output_control, const char *machine, ULONG flags) PURE;
+ STDMETHOD(TerminateProcesses)(THIS) PURE;
+ STDMETHOD(DetachProcesses)(THIS) PURE;
+ STDMETHOD(EndSession)(THIS_ ULONG flags) PURE;
+ STDMETHOD(GetExitCode)(THIS_ ULONG *code) PURE;
+ STDMETHOD(DispatchCallbacks)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(ExitDispatch)(THIS_ IDebugClient *client) PURE;
+ STDMETHOD(CreateClient)(THIS_ IDebugClient **client) PURE;
+ STDMETHOD(GetInputCallbacks)(THIS_ IDebugInputCallbacks **callbacks) PURE;
+ STDMETHOD(SetInputCallbacks)(THIS_ IDebugInputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputCallbacks)(THIS_ IDebugOutputCallbacks **callbacks) PURE;
+ STDMETHOD(SetOutputCallbacks)(THIS_ IDebugOutputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputMask)(THIS_ ULONG *mask) PURE;
+ STDMETHOD(SetOutputMask)(THIS_ ULONG mask) PURE;
+ STDMETHOD(GetOtherOutputMask)(THIS_ IDebugClient *client, ULONG *mask) PURE;
+ STDMETHOD(SetOtherOutputMask)(THIS_ IDebugClient *client, ULONG mask) PURE;
+ STDMETHOD(GetOutputWidth)(THIS_ ULONG *columns) PURE;
+ STDMETHOD(SetOutputWidth)(THIS_ ULONG columns) PURE;
+ STDMETHOD(GetOutputLinePrefix)(THIS_ char *buffer, ULONG buffer_size, ULONG *prefix_size) PURE;
+ STDMETHOD(SetOutputLinePrefix)(THIS_ const char *prefix) PURE;
+ STDMETHOD(GetIdentity)(THIS_ char *buffer, ULONG buffer_size, ULONG *identity_size) PURE;
+ STDMETHOD(OutputIdentity)(THIS_ ULONG output_control, ULONG flags, const char *format) PURE;
+ STDMETHOD(GetEventCallbacks)(THIS_ IDebugEventCallbacks **callbacks) PURE;
+ STDMETHOD(SetEventCallbacks)(THIS_ IDebugEventCallbacks *callbacks) PURE;
+ STDMETHOD(FlushCallbacks)(THIS) PURE;
+ /* IDebugClient2 */
+ STDMETHOD(WriteDumpFile2)(THIS_ const char *dumpfile, ULONG qualifier, ULONG flags, const char *comment) PURE;
+ STDMETHOD(AddDumpInformationFile)(THIS_ const char *infofile, ULONG type) PURE;
+ STDMETHOD(EndProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(WaitForProcessServerEnd)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(IsKernelDebuggerEnabled)(THIS) PURE;
+ STDMETHOD(TerminateCurrentProcess)(THIS) PURE;
+ STDMETHOD(DetachCurrentProcess)(THIS) PURE;
+ STDMETHOD(AbandonCurrentProcess)(THIS) PURE;
+ /* IDebugClient3 */
+ STDMETHOD(GetRunningProcessSystemIdByExecutableNameWide)(THIS_ ULONG64 server, const WCHAR *exename, ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescriptionWide)(THIS_ ULONG64 server, ULONG id, ULONG flags, WCHAR *exename, ULONG size,
+ ULONG *actualsize, WCHAR *description, ULONG desc_size, ULONG *actual_descr_size) PURE;
+ STDMETHOD(CreateProcessWide)(THIS_ ULONG64 server, WCHAR *CommandLine, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttachWide)(THIS_ ULONG64 server, WCHAR *commandline, ULONG flags,
+ ULONG processid,ULONG attachflags) PURE;
+ /* IDebugClient4 */
+ STDMETHOD(OpenDumpFileWide)(THIS_ const WCHAR *filename, ULONG64 handle) PURE;
+ STDMETHOD(WriteDumpFileWide)(THIS_ const WCHAR *filename, ULONG64 handle, ULONG qualifier, ULONG Flags, const WCHAR *comment) PURE;
+ STDMETHOD(AddDumpInformationFileWide)(THIS_ const WCHAR *filename,ULONG64 handle, ULONG type) PURE;
+ STDMETHOD(GetNumberDumpFiles)(THIS_ ULONG *count) PURE;
+ STDMETHOD(GetDumpFile)(THIS_ ULONG index, char *buffer, ULONG buf_size, ULONG *name_size, ULONG64 *handle, ULONG *type) PURE;
+ STDMETHOD(GetDumpFileWide)(THIS_ ULONG index, WCHAR *buffer, ULONG buf_size, ULONG *name_size, ULONG64 *handle,ULONG *type) PURE;
+};
+#undef INTERFACE
+
+#define INTERFACE IDebugClient5
+DECLARE_INTERFACE_(IDebugClient5, IUnknown)
+{
+ /* IUnknown */
+ STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
+ STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG, Release)(THIS) PURE;
+ /* IDebugClient */
+ STDMETHOD(AttachKernel)(THIS_ ULONG flags, const char *options) PURE;
+ STDMETHOD(GetKernelConnectionOptions)(THIS_ char *buffer, ULONG buffer_size, ULONG *options_size) PURE;
+ STDMETHOD(SetKernelConnectionOptions)(THIS_ const char *options) PURE;
+ STDMETHOD(StartProcessServer)(THIS_ ULONG flags, const char *options, void *reserved) PURE;
+ STDMETHOD(ConnectProcessServer)(THIS_ const char *remote_options, ULONG64 *server) PURE;
+ STDMETHOD(DisconnectProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(GetRunningProcessSystemIds)(THIS_ ULONG64 server, ULONG *ids, ULONG count, ULONG *actual_count) PURE;
+ STDMETHOD(GetRunningProcessSystemIdByExecutableName)(THIS_ ULONG64 server, const char *exe_name,
+ ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescription)(THIS_ 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) PURE;
+ STDMETHOD(AttachProcess)(THIS_ ULONG64 server, ULONG pid, ULONG flags) PURE;
+ STDMETHOD(CreateProcess)(THIS_ ULONG64 server, char *cmdline, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttach)(THIS_ ULONG64 server, char *cmdline, ULONG create_flags,
+ ULONG pid, ULONG attach_flags) PURE;
+ STDMETHOD(GetProcessOptions)(THIS_ ULONG *options) PURE;
+ STDMETHOD(AddProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(RemoveProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(SetProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(OpenDumpFile)(THIS_ const char *filename) PURE;
+ STDMETHOD(WriteDumpFile)(THIS_ const char *filename, ULONG qualifier) PURE;
+ STDMETHOD(ConnectSession)(THIS_ ULONG flags, ULONG history_limit) PURE;
+ STDMETHOD(StartServer)(THIS_ const char *options) PURE;
+ STDMETHOD(OutputServers)(THIS_ ULONG output_control, const char *machine, ULONG flags) PURE;
+ STDMETHOD(TerminateProcesses)(THIS) PURE;
+ STDMETHOD(DetachProcesses)(THIS) PURE;
+ STDMETHOD(EndSession)(THIS_ ULONG flags) PURE;
+ STDMETHOD(GetExitCode)(THIS_ ULONG *code) PURE;
+ STDMETHOD(DispatchCallbacks)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(ExitDispatch)(THIS_ IDebugClient *client) PURE;
+ STDMETHOD(CreateClient)(THIS_ IDebugClient **client) PURE;
+ STDMETHOD(GetInputCallbacks)(THIS_ IDebugInputCallbacks **callbacks) PURE;
+ STDMETHOD(SetInputCallbacks)(THIS_ IDebugInputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputCallbacks)(THIS_ IDebugOutputCallbacks **callbacks) PURE;
+ STDMETHOD(SetOutputCallbacks)(THIS_ IDebugOutputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputMask)(THIS_ ULONG *mask) PURE;
+ STDMETHOD(SetOutputMask)(THIS_ ULONG mask) PURE;
+ STDMETHOD(GetOtherOutputMask)(THIS_ IDebugClient *client, ULONG *mask) PURE;
+ STDMETHOD(SetOtherOutputMask)(THIS_ IDebugClient *client, ULONG mask) PURE;
+ STDMETHOD(GetOutputWidth)(THIS_ ULONG *columns) PURE;
+ STDMETHOD(SetOutputWidth)(THIS_ ULONG columns) PURE;
+ STDMETHOD(GetOutputLinePrefix)(THIS_ char *buffer, ULONG buffer_size, ULONG *prefix_size) PURE;
+ STDMETHOD(SetOutputLinePrefix)(THIS_ const char *prefix) PURE;
+ STDMETHOD(GetIdentity)(THIS_ char *buffer, ULONG buffer_size, ULONG *identity_size) PURE;
+ STDMETHOD(OutputIdentity)(THIS_ ULONG output_control, ULONG flags, const char *format) PURE;
+ STDMETHOD(GetEventCallbacks)(THIS_ IDebugEventCallbacks **callbacks) PURE;
+ STDMETHOD(SetEventCallbacks)(THIS_ IDebugEventCallbacks *callbacks) PURE;
+ STDMETHOD(FlushCallbacks)(THIS) PURE;
+ /* IDebugClient2 */
+ STDMETHOD(WriteDumpFile2)(THIS_ const char *dumpfile, ULONG qualifier, ULONG flags, const char *comment) PURE;
+ STDMETHOD(AddDumpInformationFile)(THIS_ const char *infofile, ULONG type) PURE;
+ STDMETHOD(EndProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(WaitForProcessServerEnd)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(IsKernelDebuggerEnabled)(THIS) PURE;
+ STDMETHOD(TerminateCurrentProcess)(THIS) PURE;
+ STDMETHOD(DetachCurrentProcess)(THIS) PURE;
+ STDMETHOD(AbandonCurrentProcess)(THIS) PURE;
+ /* IDebugClient3 */
+ STDMETHOD(GetRunningProcessSystemIdByExecutableNameWide)(THIS_ ULONG64 server, const WCHAR *exename, ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescriptionWide)(THIS_ ULONG64 server, ULONG id, ULONG flags, WCHAR *exename, ULONG size,
+ ULONG *actualsize, WCHAR *description, ULONG desc_size, ULONG *actual_descr_size) PURE;
+ STDMETHOD(CreateProcessWide)(THIS_ ULONG64 server, WCHAR *CommandLine, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttachWide)(THIS_ ULONG64 server, WCHAR *commandline, ULONG flags,
+ ULONG processid,ULONG attachflags) PURE;
+ /* IDebugClient4 */
+ STDMETHOD(OpenDumpFileWide)(THIS_ const WCHAR *filename, ULONG64 handle) PURE;
+ STDMETHOD(WriteDumpFileWide)(THIS_ const WCHAR *filename, ULONG64 handle, ULONG qualifier, ULONG Flags, const WCHAR *comment) PURE;
+ STDMETHOD(AddDumpInformationFileWide)(THIS_ const WCHAR *filename,ULONG64 handle, ULONG type) PURE;
+ STDMETHOD(GetNumberDumpFiles)(THIS_ ULONG *count) PURE;
+ STDMETHOD(GetDumpFile)(THIS_ ULONG index, char *buffer, ULONG buf_size, ULONG *name_size, ULONG64 *handle, ULONG *type) PURE;
+ STDMETHOD(GetDumpFileWide)(THIS_ ULONG index, WCHAR *buffer, ULONG buf_size, ULONG *name_size, ULONG64 *handle,ULONG *type) PURE;
+ /* IDebugClient5 */
+ STDMETHOD(AttachKernelWide)(THIS_ ULONG flags, const WCHAR *options) PURE;
+ STDMETHOD(GetKernelConnectionOptionsWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetKernelConnectionOptionsWide)(THIS_ const WCHAR *options) PURE;
+ STDMETHOD(StartProcessServerWide)(THIS_ ULONG flags, const WCHAR *options, void *reserved) PURE;
+ STDMETHOD(ConnectProcessServerWide)(THIS_ const WCHAR *options, ULONG64 *server) PURE;
+ STDMETHOD(StartServerWide)(THIS_ const WCHAR *options) PURE;
+ STDMETHOD(OutputServersWide)(THIS_ ULONG control, const WCHAR *machine, ULONG flags) PURE;
+ STDMETHOD(GetOutputCallbacksWide)(THIS_ IDebugOutputCallbacksWide **callbacks) PURE;
+ STDMETHOD(SetOutputCallbacksWide)(THIS_ IDebugOutputCallbacksWide *callbacks) PURE;
+ STDMETHOD(GetOutputLinePrefixWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetOutputLinePrefixWide)(THIS_ const WCHAR *prefix) PURE;
+ STDMETHOD(GetIdentityWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *identity) PURE;
+ STDMETHOD(OutputIdentityWide)(THIS_ ULONG control, ULONG flags, const WCHAR *format) PURE;
+ STDMETHOD(GetEventCallbacksWide)(THIS_ IDebugEventCallbacksWide **callbacks) PURE;
+ STDMETHOD(SetEventCallbacksWide)(THIS_ IDebugEventCallbacksWide *callbacks) PURE;
+ STDMETHOD(CreateProcess2)(THIS_ ULONG64 server, char *command, void *options, ULONG buf_size,
+ const char *initial, const char *environment) PURE;
+ STDMETHOD(CreateProcess2Wide)(THIS_ ULONG64 server, WCHAR *command, void *options, ULONG size,
+ const WCHAR *initial, const WCHAR *environment) PURE;
+ STDMETHOD(CreateProcessAndAttach2)(THIS_ ULONG64 server, char *command, void *options, ULONG buf_size,
+ const char *initial, const char *environment, ULONG processid, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttach2Wide)(THIS_ ULONG64 server, WCHAR *command, void *buffer, ULONG buf_size,
+ const WCHAR *initial, const WCHAR *environment, ULONG processid, ULONG flags) PURE;
+ STDMETHOD(PushOutputLinePrefix)(THIS_ const char *prefix, ULONG64 *handle) PURE;
+ STDMETHOD(PushOutputLinePrefixWide)(THIS_ const WCHAR *prefix, ULONG64 *handle) PURE;
+ STDMETHOD(PopOutputLinePrefix)(THIS_ ULONG64 handle) PURE;
+ STDMETHOD(GetNumberInputCallbacks)(THIS_ ULONG *count) PURE;
+ STDMETHOD(GetNumberOutputCallbacks)(THIS_ ULONG *count) PURE;
+ STDMETHOD(GetNumberEventCallbacks)(THIS_ ULONG flags, ULONG *count) PURE;
+ STDMETHOD(GetQuitLockString)(THIS_ char *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetQuitLockString)(THIS_ char *string) PURE;
+ STDMETHOD(GetQuitLockStringWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetQuitLockStringWide)(THIS_ const WCHAR *string) PURE;
+};
+#undef INTERFACE
+
+#define INTERFACE IDebugClient6
+DECLARE_INTERFACE_(IDebugClient6, IUnknown)
+{
+ /* IUnknown */
+ STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
+ STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG, Release)(THIS) PURE;
+ /* IDebugClient */
+ STDMETHOD(AttachKernel)(THIS_ ULONG flags, const char *options) PURE;
+ STDMETHOD(GetKernelConnectionOptions)(THIS_ char *buffer, ULONG buffer_size, ULONG *options_size) PURE;
+ STDMETHOD(SetKernelConnectionOptions)(THIS_ const char *options) PURE;
+ STDMETHOD(StartProcessServer)(THIS_ ULONG flags, const char *options, void *reserved) PURE;
+ STDMETHOD(ConnectProcessServer)(THIS_ const char *remote_options, ULONG64 *server) PURE;
+ STDMETHOD(DisconnectProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(GetRunningProcessSystemIds)(THIS_ ULONG64 server, ULONG *ids, ULONG count, ULONG *actual_count) PURE;
+ STDMETHOD(GetRunningProcessSystemIdByExecutableName)(THIS_ ULONG64 server, const char *exe_name,
+ ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescription)(THIS_ 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) PURE;
+ STDMETHOD(AttachProcess)(THIS_ ULONG64 server, ULONG pid, ULONG flags) PURE;
+ STDMETHOD(CreateProcess)(THIS_ ULONG64 server, char *cmdline, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttach)(THIS_ ULONG64 server, char *cmdline, ULONG create_flags,
+ ULONG pid, ULONG attach_flags) PURE;
+ STDMETHOD(GetProcessOptions)(THIS_ ULONG *options) PURE;
+ STDMETHOD(AddProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(RemoveProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(SetProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(OpenDumpFile)(THIS_ const char *filename) PURE;
+ STDMETHOD(WriteDumpFile)(THIS_ const char *filename, ULONG qualifier) PURE;
+ STDMETHOD(ConnectSession)(THIS_ ULONG flags, ULONG history_limit) PURE;
+ STDMETHOD(StartServer)(THIS_ const char *options) PURE;
+ STDMETHOD(OutputServers)(THIS_ ULONG output_control, const char *machine, ULONG flags) PURE;
+ STDMETHOD(TerminateProcesses)(THIS) PURE;
+ STDMETHOD(DetachProcesses)(THIS) PURE;
+ STDMETHOD(EndSession)(THIS_ ULONG flags) PURE;
+ STDMETHOD(GetExitCode)(THIS_ ULONG *code) PURE;
+ STDMETHOD(DispatchCallbacks)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(ExitDispatch)(THIS_ IDebugClient *client) PURE;
+ STDMETHOD(CreateClient)(THIS_ IDebugClient **client) PURE;
+ STDMETHOD(GetInputCallbacks)(THIS_ IDebugInputCallbacks **callbacks) PURE;
+ STDMETHOD(SetInputCallbacks)(THIS_ IDebugInputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputCallbacks)(THIS_ IDebugOutputCallbacks **callbacks) PURE;
+ STDMETHOD(SetOutputCallbacks)(THIS_ IDebugOutputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputMask)(THIS_ ULONG *mask) PURE;
+ STDMETHOD(SetOutputMask)(THIS_ ULONG mask) PURE;
+ STDMETHOD(GetOtherOutputMask)(THIS_ IDebugClient *client, ULONG *mask) PURE;
+ STDMETHOD(SetOtherOutputMask)(THIS_ IDebugClient *client, ULONG mask) PURE;
+ STDMETHOD(GetOutputWidth)(THIS_ ULONG *columns) PURE;
+ STDMETHOD(SetOutputWidth)(THIS_ ULONG columns) PURE;
+ STDMETHOD(GetOutputLinePrefix)(THIS_ char *buffer, ULONG buffer_size, ULONG *prefix_size) PURE;
+ STDMETHOD(SetOutputLinePrefix)(THIS_ const char *prefix) PURE;
+ STDMETHOD(GetIdentity)(THIS_ char *buffer, ULONG buffer_size, ULONG *identity_size) PURE;
+ STDMETHOD(OutputIdentity)(THIS_ ULONG output_control, ULONG flags, const char *format) PURE;
+ STDMETHOD(GetEventCallbacks)(THIS_ IDebugEventCallbacks **callbacks) PURE;
+ STDMETHOD(SetEventCallbacks)(THIS_ IDebugEventCallbacks *callbacks) PURE;
+ STDMETHOD(FlushCallbacks)(THIS) PURE;
+ /* IDebugClient2 */
+ STDMETHOD(WriteDumpFile2)(THIS_ const char *dumpfile, ULONG qualifier, ULONG flags, const char *comment) PURE;
+ STDMETHOD(AddDumpInformationFile)(THIS_ const char *infofile, ULONG type) PURE;
+ STDMETHOD(EndProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(WaitForProcessServerEnd)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(IsKernelDebuggerEnabled)(THIS) PURE;
+ STDMETHOD(TerminateCurrentProcess)(THIS) PURE;
+ STDMETHOD(DetachCurrentProcess)(THIS) PURE;
+ STDMETHOD(AbandonCurrentProcess)(THIS) PURE;
+ /* IDebugClient3 */
+ STDMETHOD(GetRunningProcessSystemIdByExecutableNameWide)(THIS_ ULONG64 server, const WCHAR *exename, ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescriptionWide)(THIS_ ULONG64 server, ULONG id, ULONG flags, WCHAR *exename, ULONG size,
+ ULONG *actualsize, WCHAR *description, ULONG desc_size, ULONG *actual_descr_size) PURE;
+ STDMETHOD(CreateProcessWide)(THIS_ ULONG64 server, WCHAR *CommandLine, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttachWide)(THIS_ ULONG64 server, WCHAR *commandline, ULONG flags,
+ ULONG processid,ULONG attachflags) PURE;
+ /* IDebugClient4 */
+ STDMETHOD(OpenDumpFileWide)(THIS_ const WCHAR *filename, ULONG64 handle) PURE;
+ STDMETHOD(WriteDumpFileWide)(THIS_ const WCHAR *filename, ULONG64 handle, ULONG qualifier, ULONG Flags, const WCHAR *comment) PURE;
+ STDMETHOD(AddDumpInformationFileWide)(THIS_ const WCHAR *filename,ULONG64 handle, ULONG type) PURE;
+ STDMETHOD(GetNumberDumpFiles)(THIS_ ULONG *count) PURE;
+ STDMETHOD(GetDumpFile)(THIS_ ULONG index, char *buffer, ULONG buf_size, ULONG *name_size, ULONG64 *handle, ULONG *type) PURE;
+ STDMETHOD(GetDumpFileWide)(THIS_ ULONG index, WCHAR *buffer, ULONG buf_size, ULONG *name_size, ULONG64 *handle,ULONG *type) PURE;
+ /* IDebugClient5 */
+ STDMETHOD(AttachKernelWide)(THIS_ ULONG flags, const WCHAR *options) PURE;
+ STDMETHOD(GetKernelConnectionOptionsWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetKernelConnectionOptionsWide)(THIS_ const WCHAR *options) PURE;
+ STDMETHOD(StartProcessServerWide)(THIS_ ULONG flags, const WCHAR *options, void *reserved) PURE;
+ STDMETHOD(ConnectProcessServerWide)(THIS_ const WCHAR *options, ULONG64 *server) PURE;
+ STDMETHOD(StartServerWide)(THIS_ const WCHAR *options) PURE;
+ STDMETHOD(OutputServersWide)(THIS_ ULONG control, const WCHAR *machine, ULONG flags) PURE;
+ STDMETHOD(GetOutputCallbacksWide)(THIS_ IDebugOutputCallbacksWide **callbacks) PURE;
+ STDMETHOD(SetOutputCallbacksWide)(THIS_ IDebugOutputCallbacksWide *callbacks) PURE;
+ STDMETHOD(GetOutputLinePrefixWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetOutputLinePrefixWide)(THIS_ const WCHAR *prefix) PURE;
+ STDMETHOD(GetIdentityWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *identity) PURE;
+ STDMETHOD(OutputIdentityWide)(THIS_ ULONG control, ULONG flags, const WCHAR *format) PURE;
+ STDMETHOD(GetEventCallbacksWide)(THIS_ IDebugEventCallbacksWide **callbacks) PURE;
+ STDMETHOD(SetEventCallbacksWide)(THIS_ IDebugEventCallbacksWide *callbacks) PURE;
+ STDMETHOD(CreateProcess2)(THIS_ ULONG64 server, char *command, void *options, ULONG buf_size,
+ const char *initial, const char *environment) PURE;
+ STDMETHOD(CreateProcess2Wide)(THIS_ ULONG64 server, WCHAR *command, void *options, ULONG size,
+ const WCHAR *initial, const WCHAR *environment) PURE;
+ STDMETHOD(CreateProcessAndAttach2)(THIS_ ULONG64 server, char *command, void *options, ULONG buf_size,
+ const char *initial, const char *environment, ULONG processid, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttach2Wide)(THIS_ ULONG64 server, WCHAR *command, void *buffer, ULONG buf_size,
+ const WCHAR *initial, const WCHAR *environment, ULONG processid, ULONG flags) PURE;
+ STDMETHOD(PushOutputLinePrefix)(THIS_ const char *prefix, ULONG64 *handle) PURE;
+ STDMETHOD(PushOutputLinePrefixWide)(THIS_ const WCHAR *prefix, ULONG64 *handle) PURE;
+ STDMETHOD(PopOutputLinePrefix)(THIS_ ULONG64 handle) PURE;
+ STDMETHOD(GetNumberInputCallbacks)(THIS_ ULONG *count) PURE;
+ STDMETHOD(GetNumberOutputCallbacks)(THIS_ ULONG *count) PURE;
+ STDMETHOD(GetNumberEventCallbacks)(THIS_ ULONG flags, ULONG *count) PURE;
+ STDMETHOD(GetQuitLockString)(THIS_ char *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetQuitLockString)(THIS_ char *string) PURE;
+ STDMETHOD(GetQuitLockStringWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetQuitLockStringWide)(THIS_ const WCHAR *string) PURE;
+ /* IDebugClient6 */
+ STDMETHOD(SetEventContextCallbacks)(THIS_ IDebugEventContextCallbacks *callbacks) PURE;
+};
+#undef INTERFACE
+
+#define INTERFACE IDebugClient7
+DECLARE_INTERFACE_(IDebugClient7, IUnknown)
+{
+ /* IUnknown */
+ STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
+ STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG, Release)(THIS) PURE;
+ /* IDebugClient */
+ STDMETHOD(AttachKernel)(THIS_ ULONG flags, const char *options) PURE;
+ STDMETHOD(GetKernelConnectionOptions)(THIS_ char *buffer, ULONG buffer_size, ULONG *options_size) PURE;
+ STDMETHOD(SetKernelConnectionOptions)(THIS_ const char *options) PURE;
+ STDMETHOD(StartProcessServer)(THIS_ ULONG flags, const char *options, void *reserved) PURE;
+ STDMETHOD(ConnectProcessServer)(THIS_ const char *remote_options, ULONG64 *server) PURE;
+ STDMETHOD(DisconnectProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(GetRunningProcessSystemIds)(THIS_ ULONG64 server, ULONG *ids, ULONG count, ULONG *actual_count) PURE;
+ STDMETHOD(GetRunningProcessSystemIdByExecutableName)(THIS_ ULONG64 server, const char *exe_name,
+ ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescription)(THIS_ 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) PURE;
+ STDMETHOD(AttachProcess)(THIS_ ULONG64 server, ULONG pid, ULONG flags) PURE;
+ STDMETHOD(CreateProcess)(THIS_ ULONG64 server, char *cmdline, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttach)(THIS_ ULONG64 server, char *cmdline, ULONG create_flags,
+ ULONG pid, ULONG attach_flags) PURE;
+ STDMETHOD(GetProcessOptions)(THIS_ ULONG *options) PURE;
+ STDMETHOD(AddProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(RemoveProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(SetProcessOptions)(THIS_ ULONG options) PURE;
+ STDMETHOD(OpenDumpFile)(THIS_ const char *filename) PURE;
+ STDMETHOD(WriteDumpFile)(THIS_ const char *filename, ULONG qualifier) PURE;
+ STDMETHOD(ConnectSession)(THIS_ ULONG flags, ULONG history_limit) PURE;
+ STDMETHOD(StartServer)(THIS_ const char *options) PURE;
+ STDMETHOD(OutputServers)(THIS_ ULONG output_control, const char *machine, ULONG flags) PURE;
+ STDMETHOD(TerminateProcesses)(THIS) PURE;
+ STDMETHOD(DetachProcesses)(THIS) PURE;
+ STDMETHOD(EndSession)(THIS_ ULONG flags) PURE;
+ STDMETHOD(GetExitCode)(THIS_ ULONG *code) PURE;
+ STDMETHOD(DispatchCallbacks)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(ExitDispatch)(THIS_ IDebugClient *client) PURE;
+ STDMETHOD(CreateClient)(THIS_ IDebugClient **client) PURE;
+ STDMETHOD(GetInputCallbacks)(THIS_ IDebugInputCallbacks **callbacks) PURE;
+ STDMETHOD(SetInputCallbacks)(THIS_ IDebugInputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputCallbacks)(THIS_ IDebugOutputCallbacks **callbacks) PURE;
+ STDMETHOD(SetOutputCallbacks)(THIS_ IDebugOutputCallbacks *callbacks) PURE;
+ STDMETHOD(GetOutputMask)(THIS_ ULONG *mask) PURE;
+ STDMETHOD(SetOutputMask)(THIS_ ULONG mask) PURE;
+ STDMETHOD(GetOtherOutputMask)(THIS_ IDebugClient *client, ULONG *mask) PURE;
+ STDMETHOD(SetOtherOutputMask)(THIS_ IDebugClient *client, ULONG mask) PURE;
+ STDMETHOD(GetOutputWidth)(THIS_ ULONG *columns) PURE;
+ STDMETHOD(SetOutputWidth)(THIS_ ULONG columns) PURE;
+ STDMETHOD(GetOutputLinePrefix)(THIS_ char *buffer, ULONG buffer_size, ULONG *prefix_size) PURE;
+ STDMETHOD(SetOutputLinePrefix)(THIS_ const char *prefix) PURE;
+ STDMETHOD(GetIdentity)(THIS_ char *buffer, ULONG buffer_size, ULONG *identity_size) PURE;
+ STDMETHOD(OutputIdentity)(THIS_ ULONG output_control, ULONG flags, const char *format) PURE;
+ STDMETHOD(GetEventCallbacks)(THIS_ IDebugEventCallbacks **callbacks) PURE;
+ STDMETHOD(SetEventCallbacks)(THIS_ IDebugEventCallbacks *callbacks) PURE;
+ STDMETHOD(FlushCallbacks)(THIS) PURE;
+ /* IDebugClient2 */
+ STDMETHOD(WriteDumpFile2)(THIS_ const char *dumpfile, ULONG qualifier, ULONG flags, const char *comment) PURE;
+ STDMETHOD(AddDumpInformationFile)(THIS_ const char *infofile, ULONG type) PURE;
+ STDMETHOD(EndProcessServer)(THIS_ ULONG64 server) PURE;
+ STDMETHOD(WaitForProcessServerEnd)(THIS_ ULONG timeout) PURE;
+ STDMETHOD(IsKernelDebuggerEnabled)(THIS) PURE;
+ STDMETHOD(TerminateCurrentProcess)(THIS) PURE;
+ STDMETHOD(DetachCurrentProcess)(THIS) PURE;
+ STDMETHOD(AbandonCurrentProcess)(THIS) PURE;
+ /* IDebugClient3 */
+ STDMETHOD(GetRunningProcessSystemIdByExecutableNameWide)(THIS_ ULONG64 server, const WCHAR *exename, ULONG flags, ULONG *id) PURE;
+ STDMETHOD(GetRunningProcessDescriptionWide)(THIS_ ULONG64 server, ULONG id, ULONG flags, WCHAR *exename, ULONG size,
+ ULONG *actualsize, WCHAR *description, ULONG desc_size, ULONG *actual_descr_size) PURE;
+ STDMETHOD(CreateProcessWide)(THIS_ ULONG64 server, WCHAR *CommandLine, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttachWide)(THIS_ ULONG64 server, WCHAR *commandline, ULONG flags,
+ ULONG processid,ULONG attachflags) PURE;
+ /* IDebugClient4 */
+ STDMETHOD(OpenDumpFileWide)(THIS_ const WCHAR *filename, ULONG64 handle) PURE;
+ STDMETHOD(WriteDumpFileWide)(THIS_ const WCHAR *filename, ULONG64 handle, ULONG qualifier, ULONG Flags, const WCHAR *comment) PURE;
+ STDMETHOD(AddDumpInformationFileWide)(THIS_ const WCHAR *filename,ULONG64 handle, ULONG type) PURE;
+ STDMETHOD(GetNumberDumpFiles)(THIS_ ULONG *count) PURE;
+ STDMETHOD(GetDumpFile)(THIS_ ULONG index, char *buffer, ULONG buf_size, ULONG *name_size, ULONG64 *handle, ULONG *type) PURE;
+ STDMETHOD(GetDumpFileWide)(THIS_ ULONG index, WCHAR *buffer, ULONG buf_size, ULONG *name_size, ULONG64 *handle,ULONG *type) PURE;
+ /* IDebugClient5 */
+ STDMETHOD(AttachKernelWide)(THIS_ ULONG flags, const WCHAR *options) PURE;
+ STDMETHOD(GetKernelConnectionOptionsWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetKernelConnectionOptionsWide)(THIS_ const WCHAR *options) PURE;
+ STDMETHOD(StartProcessServerWide)(THIS_ ULONG flags, const WCHAR *options, void *reserved) PURE;
+ STDMETHOD(ConnectProcessServerWide)(THIS_ const WCHAR *options, ULONG64 *server) PURE;
+ STDMETHOD(StartServerWide)(THIS_ const WCHAR *options) PURE;
+ STDMETHOD(OutputServersWide)(THIS_ ULONG control, const WCHAR *machine, ULONG flags) PURE;
+ STDMETHOD(GetOutputCallbacksWide)(THIS_ IDebugOutputCallbacksWide **callbacks) PURE;
+ STDMETHOD(SetOutputCallbacksWide)(THIS_ IDebugOutputCallbacksWide *callbacks) PURE;
+ STDMETHOD(GetOutputLinePrefixWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetOutputLinePrefixWide)(THIS_ const WCHAR *prefix) PURE;
+ STDMETHOD(GetIdentityWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *identity) PURE;
+ STDMETHOD(OutputIdentityWide)(THIS_ ULONG control, ULONG flags, const WCHAR *format) PURE;
+ STDMETHOD(GetEventCallbacksWide)(THIS_ IDebugEventCallbacksWide **callbacks) PURE;
+ STDMETHOD(SetEventCallbacksWide)(THIS_ IDebugEventCallbacksWide *callbacks) PURE;
+ STDMETHOD(CreateProcess2)(THIS_ ULONG64 server, char *command, void *options, ULONG buf_size,
+ const char *initial, const char *environment) PURE;
+ STDMETHOD(CreateProcess2Wide)(THIS_ ULONG64 server, WCHAR *command, void *options, ULONG size,
+ const WCHAR *initial, const WCHAR *environment) PURE;
+ STDMETHOD(CreateProcessAndAttach2)(THIS_ ULONG64 server, char *command, void *options, ULONG buf_size,
+ const char *initial, const char *environment, ULONG processid, ULONG flags) PURE;
+ STDMETHOD(CreateProcessAndAttach2Wide)(THIS_ ULONG64 server, WCHAR *command, void *buffer, ULONG buf_size,
+ const WCHAR *initial, const WCHAR *environment, ULONG processid, ULONG flags) PURE;
+ STDMETHOD(PushOutputLinePrefix)(THIS_ const char *prefix, ULONG64 *handle) PURE;
+ STDMETHOD(PushOutputLinePrefixWide)(THIS_ const WCHAR *prefix, ULONG64 *handle) PURE;
+ STDMETHOD(PopOutputLinePrefix)(THIS_ ULONG64 handle) PURE;
+ STDMETHOD(GetNumberInputCallbacks)(THIS_ ULONG *count) PURE;
+ STDMETHOD(GetNumberOutputCallbacks)(THIS_ ULONG *count) PURE;
+ STDMETHOD(GetNumberEventCallbacks)(THIS_ ULONG flags, ULONG *count) PURE;
+ STDMETHOD(GetQuitLockString)(THIS_ char *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetQuitLockString)(THIS_ char *string) PURE;
+ STDMETHOD(GetQuitLockStringWide)(THIS_ WCHAR *buffer, ULONG buf_size, ULONG *size) PURE;
+ STDMETHOD(SetQuitLockStringWide)(THIS_ const WCHAR *string) PURE;
+ /* IDebugClient6 */
+ STDMETHOD(SetEventContextCallbacks)(THIS_ IDebugEventContextCallbacks *callbacks) PURE;
+ /* IDebugClient7 */
+ STDMETHOD(SetClientContext)(THIS_ void *context, ULONG size) PURE;
+};
+#undef INTERFACE
+
#define INTERFACE IDebugDataSpaces
DECLARE_INTERFACE_(IDebugDataSpaces, IUnknown)
{
--
2.17.1

View File

@ -0,0 +1,602 @@
From 1c6c38a19c8ceaaf37b595e397d98c9efab2631a Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Fri, 12 Jul 2019 12:15:01 +1000
Subject: [PATCH 2/3] dbgeng: Support interfaces IDebugClient2-4.
---
dlls/dbgeng/dbgeng.c | 245 ++++++++++++++++++++++++++++++++++---------
1 file changed, 194 insertions(+), 51 deletions(-)
diff --git a/dlls/dbgeng/dbgeng.c b/dlls/dbgeng/dbgeng.c
index 9fcce32607..efbdbccfad 100644
--- a/dlls/dbgeng/dbgeng.c
+++ b/dlls/dbgeng/dbgeng.c
@@ -63,7 +63,7 @@ struct target_process
struct debug_client
{
- IDebugClient IDebugClient_iface;
+ IDebugClient4 IDebugClient_iface;
IDebugDataSpaces IDebugDataSpaces_iface;
IDebugSymbols3 IDebugSymbols3_iface;
IDebugControl2 IDebugControl2_iface;
@@ -241,7 +241,7 @@ static void debug_client_detach_target(struct target_process *target)
target->handle = NULL;
}
-static struct debug_client *impl_from_IDebugClient(IDebugClient *iface)
+static struct debug_client *impl_from_IDebugClient(IDebugClient4 *iface)
{
return CONTAINING_RECORD(iface, struct debug_client, IDebugClient_iface);
}
@@ -271,13 +271,16 @@ static struct debug_client *impl_from_IDebugSystemObjects(IDebugSystemObjects *i
return CONTAINING_RECORD(iface, struct debug_client, IDebugSystemObjects_iface);
}
-static HRESULT STDMETHODCALLTYPE debugclient_QueryInterface(IDebugClient *iface, REFIID riid, void **obj)
+static HRESULT STDMETHODCALLTYPE debugclient_QueryInterface(IDebugClient4 *iface, REFIID riid, void **obj)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
TRACE("%p, %s, %p.\n", iface, debugstr_guid(riid), obj);
if (IsEqualIID(riid, &IID_IDebugClient) ||
+ IsEqualIID(riid, &IID_IDebugClient2) ||
+ IsEqualIID(riid, &IID_IDebugClient3) ||
+ IsEqualIID(riid, &IID_IDebugClient4) ||
IsEqualIID(riid, &IID_IUnknown))
{
*obj = iface;
@@ -316,7 +319,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_QueryInterface(IDebugClient *iface,
return S_OK;
}
-static ULONG STDMETHODCALLTYPE debugclient_AddRef(IDebugClient *iface)
+static ULONG STDMETHODCALLTYPE debugclient_AddRef(IDebugClient4 *iface)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
ULONG refcount = InterlockedIncrement(&debug_client->refcount);
@@ -332,7 +335,7 @@ static void debug_target_free(struct target_process *target)
heap_free(target);
}
-static ULONG STDMETHODCALLTYPE debugclient_Release(IDebugClient *iface)
+static ULONG STDMETHODCALLTYPE debugclient_Release(IDebugClient4 *iface)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
ULONG refcount = InterlockedDecrement(&debug_client->refcount);
@@ -356,14 +359,14 @@ static ULONG STDMETHODCALLTYPE debugclient_Release(IDebugClient *iface)
return refcount;
}
-static HRESULT STDMETHODCALLTYPE debugclient_AttachKernel(IDebugClient *iface, ULONG flags, const char *options)
+static HRESULT STDMETHODCALLTYPE debugclient_AttachKernel(IDebugClient4 *iface, ULONG flags, const char *options)
{
FIXME("%p, %#x, %s stub.\n", iface, flags, debugstr_a(options));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetKernelConnectionOptions(IDebugClient *iface, char *buffer,
+static HRESULT STDMETHODCALLTYPE debugclient_GetKernelConnectionOptions(IDebugClient4 *iface, char *buffer,
ULONG buffer_size, ULONG *options_size)
{
FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, options_size);
@@ -371,14 +374,14 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetKernelConnectionOptions(IDebugCl
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetKernelConnectionOptions(IDebugClient *iface, const char *options)
+static HRESULT STDMETHODCALLTYPE debugclient_SetKernelConnectionOptions(IDebugClient4 *iface, const char *options)
{
FIXME("%p, %s stub.\n", iface, debugstr_a(options));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_StartProcessServer(IDebugClient *iface, ULONG flags, const char *options,
+static HRESULT STDMETHODCALLTYPE debugclient_StartProcessServer(IDebugClient4 *iface, ULONG flags, const char *options,
void *reserved)
{
FIXME("%p, %#x, %s, %p stub.\n", iface, flags, debugstr_a(options), reserved);
@@ -386,7 +389,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_StartProcessServer(IDebugClient *if
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_ConnectProcessServer(IDebugClient *iface, const char *remote_options,
+static HRESULT STDMETHODCALLTYPE debugclient_ConnectProcessServer(IDebugClient4 *iface, const char *remote_options,
ULONG64 *server)
{
FIXME("%p, %s, %p stub.\n", iface, debugstr_a(remote_options), server);
@@ -394,14 +397,14 @@ static HRESULT STDMETHODCALLTYPE debugclient_ConnectProcessServer(IDebugClient *
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_DisconnectProcessServer(IDebugClient *iface, ULONG64 server)
+static HRESULT STDMETHODCALLTYPE debugclient_DisconnectProcessServer(IDebugClient4 *iface, ULONG64 server)
{
FIXME("%p, %s stub.\n", iface, wine_dbgstr_longlong(server));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIds(IDebugClient *iface, ULONG64 server,
+static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIds(IDebugClient4 *iface, ULONG64 server,
ULONG *ids, ULONG count, ULONG *actual_count)
{
FIXME("%p, %s, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(server), ids, count, actual_count);
@@ -409,7 +412,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIds(IDebugCl
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutableName(IDebugClient *iface,
+static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutableName(IDebugClient4 *iface,
ULONG64 server, const char *exe_name, ULONG flags, ULONG *id)
{
FIXME("%p, %s, %s, %#x, %p stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(exe_name), flags, id);
@@ -417,7 +420,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutab
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescription(IDebugClient *iface, ULONG64 server,
+static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescription(IDebugClient4 *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)
{
@@ -427,7 +430,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescription(IDebug
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_AttachProcess(IDebugClient *iface, ULONG64 server, ULONG pid, ULONG flags)
+static HRESULT STDMETHODCALLTYPE debugclient_AttachProcess(IDebugClient4 *iface, ULONG64 server, ULONG pid, ULONG flags)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
struct target_process *process;
@@ -451,7 +454,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_AttachProcess(IDebugClient *iface,
return S_OK;
}
-static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess(IDebugClient *iface, ULONG64 server, char *cmdline,
+static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess(IDebugClient4 *iface, ULONG64 server, char *cmdline,
ULONG flags)
{
FIXME("%p, %s, %s, %#x stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(cmdline), flags);
@@ -459,7 +462,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess(IDebugClient *iface,
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttach(IDebugClient *iface, ULONG64 server, char *cmdline,
+static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttach(IDebugClient4 *iface, ULONG64 server, char *cmdline,
ULONG create_flags, ULONG pid, ULONG attach_flags)
{
FIXME("%p, %s, %s, %#x, %u, %#x stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(cmdline), create_flags,
@@ -468,63 +471,63 @@ static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttach(IDebugClient
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetProcessOptions(IDebugClient *iface, ULONG *options)
+static HRESULT STDMETHODCALLTYPE debugclient_GetProcessOptions(IDebugClient4 *iface, ULONG *options)
{
FIXME("%p, %p stub.\n", iface, options);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_AddProcessOptions(IDebugClient *iface, ULONG options)
+static HRESULT STDMETHODCALLTYPE debugclient_AddProcessOptions(IDebugClient4 *iface, ULONG options)
{
FIXME("%p, %#x stub.\n", iface, options);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_RemoveProcessOptions(IDebugClient *iface, ULONG options)
+static HRESULT STDMETHODCALLTYPE debugclient_RemoveProcessOptions(IDebugClient4 *iface, ULONG options)
{
FIXME("%p, %#x stub.\n", iface, options);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetProcessOptions(IDebugClient *iface, ULONG options)
+static HRESULT STDMETHODCALLTYPE debugclient_SetProcessOptions(IDebugClient4 *iface, ULONG options)
{
FIXME("%p, %#x stub.\n", iface, options);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFile(IDebugClient *iface, const char *filename)
+static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFile(IDebugClient4 *iface, const char *filename)
{
FIXME("%p, %s stub.\n", iface, debugstr_a(filename));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile(IDebugClient *iface, const char *filename, ULONG qualifier)
+static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile(IDebugClient4 *iface, const char *filename, ULONG qualifier)
{
FIXME("%p, %s, %u stub.\n", iface, debugstr_a(filename), qualifier);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_ConnectSession(IDebugClient *iface, ULONG flags, ULONG history_limit)
+static HRESULT STDMETHODCALLTYPE debugclient_ConnectSession(IDebugClient4 *iface, ULONG flags, ULONG history_limit)
{
FIXME("%p, %#x, %u stub.\n", iface, flags, history_limit);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_StartServer(IDebugClient *iface, const char *options)
+static HRESULT STDMETHODCALLTYPE debugclient_StartServer(IDebugClient4 *iface, const char *options)
{
FIXME("%p, %s stub.\n", iface, debugstr_a(options));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_OutputServers(IDebugClient *iface, ULONG output_control,
+static HRESULT STDMETHODCALLTYPE debugclient_OutputServers(IDebugClient4 *iface, ULONG output_control,
const char *machine, ULONG flags)
{
FIXME("%p, %u, %s, %#x stub.\n", iface, output_control, debugstr_a(machine), flags);
@@ -532,14 +535,14 @@ static HRESULT STDMETHODCALLTYPE debugclient_OutputServers(IDebugClient *iface,
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_TerminateProcesses(IDebugClient *iface)
+static HRESULT STDMETHODCALLTYPE debugclient_TerminateProcesses(IDebugClient4 *iface)
{
FIXME("%p stub.\n", iface);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_DetachProcesses(IDebugClient *iface)
+static HRESULT STDMETHODCALLTYPE debugclient_DetachProcesses(IDebugClient4 *iface)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
struct target_process *target;
@@ -554,112 +557,112 @@ static HRESULT STDMETHODCALLTYPE debugclient_DetachProcesses(IDebugClient *iface
return S_OK;
}
-static HRESULT STDMETHODCALLTYPE debugclient_EndSession(IDebugClient *iface, ULONG flags)
+static HRESULT STDMETHODCALLTYPE debugclient_EndSession(IDebugClient4 *iface, ULONG flags)
{
FIXME("%p, %#x stub.\n", iface, flags);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetExitCode(IDebugClient *iface, ULONG *code)
+static HRESULT STDMETHODCALLTYPE debugclient_GetExitCode(IDebugClient4 *iface, ULONG *code)
{
FIXME("%p, %p stub.\n", iface, code);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_DispatchCallbacks(IDebugClient *iface, ULONG timeout)
+static HRESULT STDMETHODCALLTYPE debugclient_DispatchCallbacks(IDebugClient4 *iface, ULONG timeout)
{
FIXME("%p, %u stub.\n", iface, timeout);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_ExitDispatch(IDebugClient *iface, IDebugClient *client)
+static HRESULT STDMETHODCALLTYPE debugclient_ExitDispatch(IDebugClient4 *iface, IDebugClient *client)
{
FIXME("%p, %p stub.\n", iface, client);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_CreateClient(IDebugClient *iface, IDebugClient **client)
+static HRESULT STDMETHODCALLTYPE debugclient_CreateClient(IDebugClient4 *iface, IDebugClient **client)
{
FIXME("%p, %p stub.\n", iface, client);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetInputCallbacks(IDebugClient *iface, IDebugInputCallbacks **callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_GetInputCallbacks(IDebugClient4 *iface, IDebugInputCallbacks **callbacks)
{
FIXME("%p, %p stub.\n", iface, callbacks);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetInputCallbacks(IDebugClient *iface, IDebugInputCallbacks *callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_SetInputCallbacks(IDebugClient4 *iface, IDebugInputCallbacks *callbacks)
{
FIXME("%p, %p stub.\n", iface, callbacks);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetOutputCallbacks(IDebugClient *iface, IDebugOutputCallbacks **callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_GetOutputCallbacks(IDebugClient4 *iface, IDebugOutputCallbacks **callbacks)
{
FIXME("%p, %p stub.\n", iface, callbacks);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetOutputCallbacks(IDebugClient *iface, IDebugOutputCallbacks *callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_SetOutputCallbacks(IDebugClient4 *iface, IDebugOutputCallbacks *callbacks)
{
FIXME("%p, %p stub.\n", iface, callbacks);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetOutputMask(IDebugClient *iface, ULONG *mask)
+static HRESULT STDMETHODCALLTYPE debugclient_GetOutputMask(IDebugClient4 *iface, ULONG *mask)
{
FIXME("%p, %p stub.\n", iface, mask);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetOutputMask(IDebugClient *iface, ULONG mask)
+static HRESULT STDMETHODCALLTYPE debugclient_SetOutputMask(IDebugClient4 *iface, ULONG mask)
{
FIXME("%p, %#x stub.\n", iface, mask);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetOtherOutputMask(IDebugClient *iface, IDebugClient *client, ULONG *mask)
+static HRESULT STDMETHODCALLTYPE debugclient_GetOtherOutputMask(IDebugClient4 *iface, IDebugClient *client, ULONG *mask)
{
FIXME("%p, %p, %p stub.\n", iface, client, mask);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetOtherOutputMask(IDebugClient *iface, IDebugClient *client, ULONG mask)
+static HRESULT STDMETHODCALLTYPE debugclient_SetOtherOutputMask(IDebugClient4 *iface, IDebugClient *client, ULONG mask)
{
FIXME("%p, %p, %#x stub.\n", iface, client, mask);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetOutputWidth(IDebugClient *iface, ULONG *columns)
+static HRESULT STDMETHODCALLTYPE debugclient_GetOutputWidth(IDebugClient4 *iface, ULONG *columns)
{
FIXME("%p, %p stub.\n", iface, columns);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetOutputWidth(IDebugClient *iface, ULONG columns)
+static HRESULT STDMETHODCALLTYPE debugclient_SetOutputWidth(IDebugClient4 *iface, ULONG columns)
{
FIXME("%p, %u stub.\n", iface, columns);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetOutputLinePrefix(IDebugClient *iface, char *buffer, ULONG buffer_size,
+static HRESULT STDMETHODCALLTYPE debugclient_GetOutputLinePrefix(IDebugClient4 *iface, char *buffer, ULONG buffer_size,
ULONG *prefix_size)
{
FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, prefix_size);
@@ -667,14 +670,14 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetOutputLinePrefix(IDebugClient *i
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetOutputLinePrefix(IDebugClient *iface, const char *prefix)
+static HRESULT STDMETHODCALLTYPE debugclient_SetOutputLinePrefix(IDebugClient4 *iface, const char *prefix)
{
FIXME("%p, %s stub.\n", iface, debugstr_a(prefix));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetIdentity(IDebugClient *iface, char *buffer, ULONG buffer_size,
+static HRESULT STDMETHODCALLTYPE debugclient_GetIdentity(IDebugClient4 *iface, char *buffer, ULONG buffer_size,
ULONG *identity_size)
{
FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, identity_size);
@@ -682,7 +685,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetIdentity(IDebugClient *iface, ch
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_OutputIdentity(IDebugClient *iface, ULONG output_control, ULONG flags,
+static HRESULT STDMETHODCALLTYPE debugclient_OutputIdentity(IDebugClient4 *iface, ULONG output_control, ULONG flags,
const char *format)
{
FIXME("%p, %u, %#x, %s stub.\n", iface, output_control, flags, debugstr_a(format));
@@ -690,7 +693,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_OutputIdentity(IDebugClient *iface,
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacks(IDebugClient *iface, IDebugEventCallbacks **callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacks(IDebugClient4 *iface, IDebugEventCallbacks **callbacks)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
@@ -705,7 +708,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacks(IDebugClient *ifa
return S_OK;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacks(IDebugClient *iface, IDebugEventCallbacks *callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacks(IDebugClient4 *iface, IDebugEventCallbacks *callbacks)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
@@ -719,14 +722,133 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacks(IDebugClient *ifa
return S_OK;
}
-static HRESULT STDMETHODCALLTYPE debugclient_FlushCallbacks(IDebugClient *iface)
+static HRESULT STDMETHODCALLTYPE debugclient_FlushCallbacks(IDebugClient4 *iface)
{
FIXME("%p stub.\n", iface);
return E_NOTIMPL;
}
-static const IDebugClientVtbl debugclientvtbl =
+static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile2(IDebugClient4 *iface, const char *dumpfile, ULONG qualifier,
+ ULONG flags, const char *comment)
+{
+ FIXME("%p, %s, %d, 0x%08x, %s.\n", iface, debugstr_a(dumpfile), qualifier, flags, debugstr_a(comment));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_AddDumpInformationFile(IDebugClient4 *iface, const char *infofile, ULONG type)
+{
+ FIXME("%p, %s, %d.\n", iface, debugstr_a(infofile), type);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_EndProcessServer(IDebugClient4 *iface, ULONG64 server)
+{
+ FIXME("%p, %s.\n", iface, wine_dbgstr_longlong(server));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_WaitForProcessServerEnd(IDebugClient4 *iface, ULONG timeout)
+{
+ FIXME("%p, %d.\n", iface, timeout);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_IsKernelDebuggerEnabled(IDebugClient4 *iface)
+{
+ FIXME("%p.\n", iface);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_TerminateCurrentProcess(IDebugClient4 *iface)
+{
+ FIXME("%p.\n", iface);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_DetachCurrentProcess(IDebugClient4 *iface)
+{
+ FIXME("%p.\n", iface);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_AbandonCurrentProcess(IDebugClient4 *iface)
+{
+ FIXME("%p.\n", iface);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutableNameWide(IDebugClient4 *iface, ULONG64 server,
+ const WCHAR *exename, ULONG flags, ULONG *id)
+{
+ FIXME("%p, %s, %s, 0x%08x, %p.\n", iface, wine_dbgstr_longlong(server), debugstr_w(exename), flags, id);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescriptionWide(IDebugClient4 *iface, ULONG64 server, ULONG id,
+ ULONG flags, WCHAR *exename, ULONG size, ULONG *actualsize, WCHAR *description, ULONG desc_size, ULONG *actual_desc_size)
+{
+ FIXME("%p, %s, %d, 0x%08x, %s, %d, %p, %s, %d, %p.\n", iface, wine_dbgstr_longlong(server), id, flags, debugstr_w(exename), size,
+ actualsize, debugstr_w(description), desc_size, actual_desc_size );
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessWide(IDebugClient4 *iface, ULONG64 server, WCHAR *commandline, ULONG flags)
+{
+ FIXME("%p, %s, %s, 0x%08x.\n", iface, wine_dbgstr_longlong(server), debugstr_w(commandline), flags);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttachWide(IDebugClient4 *iface, ULONG64 server, WCHAR *commandline,
+ ULONG flags, ULONG processid, ULONG attachflags)
+{
+ FIXME("%p, %s, %s, 0x%08x, %d, 0x%08x.\n", iface, wine_dbgstr_longlong(server), debugstr_w(commandline), flags, processid, attachflags);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFileWide(IDebugClient4 *iface, const WCHAR *filename, ULONG64 handle)
+{
+ FIXME("%p, %s, %s.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFileWide(IDebugClient4 *iface, const WCHAR *filename, ULONG64 handle,
+ ULONG qualifier, ULONG flags, const WCHAR *comment)
+{
+ FIXME("%p, %s, %s, %d, 0x%08x, %s.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle),
+ qualifier, flags, debugstr_w(comment));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_AddDumpInformationFileWide(IDebugClient4 *iface, const WCHAR *filename,
+ ULONG64 handle, ULONG type)
+{
+ FIXME("%p, %s, %s, %d.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle), type);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetNumberDumpFiles(IDebugClient4 *iface, ULONG *count)
+{
+ FIXME("%p, %p.\n", iface, count);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetDumpFile(IDebugClient4 *iface, ULONG index, char *buffer, ULONG buf_size,
+ ULONG *name_size, ULONG64 *handle, ULONG *type)
+{
+ FIXME("%p, %d, %p, %d, %p, %p, %p.\n", iface, index, buffer, buf_size, name_size, handle, type);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetDumpFileWide(IDebugClient4 *iface, ULONG index, WCHAR *buffer, ULONG buf_size,
+ ULONG *name_size, ULONG64 *handle, ULONG *type)
+{
+ FIXME("%p, %d, %p, %d, %p, %p, %p.\n", iface, index, buffer, buf_size, name_size, handle, type);
+ return E_NOTIMPL;
+}
+
+
+static const IDebugClient4Vtbl debugclientvtbl =
{
debugclient_QueryInterface,
debugclient_AddRef,
@@ -776,6 +898,27 @@ static const IDebugClientVtbl debugclientvtbl =
debugclient_GetEventCallbacks,
debugclient_SetEventCallbacks,
debugclient_FlushCallbacks,
+ /* IDebugClient2 */
+ debugclient_WriteDumpFile2,
+ debugclient_AddDumpInformationFile,
+ debugclient_EndProcessServer,
+ debugclient_WaitForProcessServerEnd,
+ debugclient_IsKernelDebuggerEnabled,
+ debugclient_TerminateCurrentProcess,
+ debugclient_DetachCurrentProcess,
+ debugclient_AbandonCurrentProcess,
+ /* IDebugClient3 */
+ debugclient_GetRunningProcessSystemIdByExecutableNameWide,
+ debugclient_GetRunningProcessDescriptionWide,
+ debugclient_CreateProcessWide,
+ debugclient_CreateProcessAndAttachWide,
+ /* IDebugClient4 */
+ debugclient_OpenDumpFileWide,
+ debugclient_WriteDumpFileWide,
+ debugclient_AddDumpInformationFileWide,
+ debugclient_GetNumberDumpFiles,
+ debugclient_GetDumpFile,
+ debugclient_GetDumpFileWide,
};
static HRESULT STDMETHODCALLTYPE debugdataspaces_QueryInterface(IDebugDataSpaces *iface, REFIID riid, void **obj)
--
2.17.1

View File

@ -0,0 +1,830 @@
From ef4dd4d9eae085761270346e84c1668f2162fc83 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Fri, 12 Jul 2019 14:23:54 +1000
Subject: [PATCH 3/3] dbgeng: Support IDebugClient5-7 interfaces.
---
dlls/dbgeng/dbgeng.c | 371 +++++++++++++++++++++++++++++++++++--------
1 file changed, 301 insertions(+), 70 deletions(-)
diff --git a/dlls/dbgeng/dbgeng.c b/dlls/dbgeng/dbgeng.c
index efbdbccfad..35796dd8a7 100644
--- a/dlls/dbgeng/dbgeng.c
+++ b/dlls/dbgeng/dbgeng.c
@@ -63,7 +63,7 @@ struct target_process
struct debug_client
{
- IDebugClient4 IDebugClient_iface;
+ IDebugClient7 IDebugClient_iface;
IDebugDataSpaces IDebugDataSpaces_iface;
IDebugSymbols3 IDebugSymbols3_iface;
IDebugControl2 IDebugControl2_iface;
@@ -241,7 +241,7 @@ static void debug_client_detach_target(struct target_process *target)
target->handle = NULL;
}
-static struct debug_client *impl_from_IDebugClient(IDebugClient4 *iface)
+static struct debug_client *impl_from_IDebugClient(IDebugClient7 *iface)
{
return CONTAINING_RECORD(iface, struct debug_client, IDebugClient_iface);
}
@@ -271,7 +271,7 @@ static struct debug_client *impl_from_IDebugSystemObjects(IDebugSystemObjects *i
return CONTAINING_RECORD(iface, struct debug_client, IDebugSystemObjects_iface);
}
-static HRESULT STDMETHODCALLTYPE debugclient_QueryInterface(IDebugClient4 *iface, REFIID riid, void **obj)
+static HRESULT STDMETHODCALLTYPE debugclient_QueryInterface(IDebugClient7 *iface, REFIID riid, void **obj)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
@@ -281,7 +281,10 @@ static HRESULT STDMETHODCALLTYPE debugclient_QueryInterface(IDebugClient4 *iface
IsEqualIID(riid, &IID_IDebugClient2) ||
IsEqualIID(riid, &IID_IDebugClient3) ||
IsEqualIID(riid, &IID_IDebugClient4) ||
- IsEqualIID(riid, &IID_IUnknown))
+ IsEqualIID(riid, &IID_IDebugClient5) ||
+ IsEqualIID(riid, &IID_IDebugClient6) ||
+ IsEqualIID(riid, &IID_IDebugClient7) ||
+ IsEqualIID(riid, &IID_IUnknown))
{
*obj = iface;
}
@@ -319,7 +322,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_QueryInterface(IDebugClient4 *iface
return S_OK;
}
-static ULONG STDMETHODCALLTYPE debugclient_AddRef(IDebugClient4 *iface)
+static ULONG STDMETHODCALLTYPE debugclient_AddRef(IDebugClient7 *iface)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
ULONG refcount = InterlockedIncrement(&debug_client->refcount);
@@ -335,7 +338,7 @@ static void debug_target_free(struct target_process *target)
heap_free(target);
}
-static ULONG STDMETHODCALLTYPE debugclient_Release(IDebugClient4 *iface)
+static ULONG STDMETHODCALLTYPE debugclient_Release(IDebugClient7 *iface)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
ULONG refcount = InterlockedDecrement(&debug_client->refcount);
@@ -359,14 +362,14 @@ static ULONG STDMETHODCALLTYPE debugclient_Release(IDebugClient4 *iface)
return refcount;
}
-static HRESULT STDMETHODCALLTYPE debugclient_AttachKernel(IDebugClient4 *iface, ULONG flags, const char *options)
+static HRESULT STDMETHODCALLTYPE debugclient_AttachKernel(IDebugClient7 *iface, ULONG flags, const char *options)
{
FIXME("%p, %#x, %s stub.\n", iface, flags, debugstr_a(options));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetKernelConnectionOptions(IDebugClient4 *iface, char *buffer,
+static HRESULT STDMETHODCALLTYPE debugclient_GetKernelConnectionOptions(IDebugClient7 *iface, char *buffer,
ULONG buffer_size, ULONG *options_size)
{
FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, options_size);
@@ -374,14 +377,14 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetKernelConnectionOptions(IDebugCl
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetKernelConnectionOptions(IDebugClient4 *iface, const char *options)
+static HRESULT STDMETHODCALLTYPE debugclient_SetKernelConnectionOptions(IDebugClient7 *iface, const char *options)
{
FIXME("%p, %s stub.\n", iface, debugstr_a(options));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_StartProcessServer(IDebugClient4 *iface, ULONG flags, const char *options,
+static HRESULT STDMETHODCALLTYPE debugclient_StartProcessServer(IDebugClient7 *iface, ULONG flags, const char *options,
void *reserved)
{
FIXME("%p, %#x, %s, %p stub.\n", iface, flags, debugstr_a(options), reserved);
@@ -389,7 +392,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_StartProcessServer(IDebugClient4 *i
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_ConnectProcessServer(IDebugClient4 *iface, const char *remote_options,
+static HRESULT STDMETHODCALLTYPE debugclient_ConnectProcessServer(IDebugClient7 *iface, const char *remote_options,
ULONG64 *server)
{
FIXME("%p, %s, %p stub.\n", iface, debugstr_a(remote_options), server);
@@ -397,14 +400,14 @@ static HRESULT STDMETHODCALLTYPE debugclient_ConnectProcessServer(IDebugClient4
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_DisconnectProcessServer(IDebugClient4 *iface, ULONG64 server)
+static HRESULT STDMETHODCALLTYPE debugclient_DisconnectProcessServer(IDebugClient7 *iface, ULONG64 server)
{
FIXME("%p, %s stub.\n", iface, wine_dbgstr_longlong(server));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIds(IDebugClient4 *iface, ULONG64 server,
+static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIds(IDebugClient7 *iface, ULONG64 server,
ULONG *ids, ULONG count, ULONG *actual_count)
{
FIXME("%p, %s, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(server), ids, count, actual_count);
@@ -412,7 +415,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIds(IDebugCl
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutableName(IDebugClient4 *iface,
+static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutableName(IDebugClient7 *iface,
ULONG64 server, const char *exe_name, ULONG flags, ULONG *id)
{
FIXME("%p, %s, %s, %#x, %p stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(exe_name), flags, id);
@@ -420,7 +423,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutab
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescription(IDebugClient4 *iface, ULONG64 server,
+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)
{
@@ -430,7 +433,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescription(IDebug
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_AttachProcess(IDebugClient4 *iface, ULONG64 server, ULONG pid, ULONG flags)
+static HRESULT STDMETHODCALLTYPE debugclient_AttachProcess(IDebugClient7 *iface, ULONG64 server, ULONG pid, ULONG flags)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
struct target_process *process;
@@ -454,7 +457,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_AttachProcess(IDebugClient4 *iface,
return S_OK;
}
-static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess(IDebugClient4 *iface, ULONG64 server, char *cmdline,
+static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess(IDebugClient7 *iface, ULONG64 server, char *cmdline,
ULONG flags)
{
FIXME("%p, %s, %s, %#x stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(cmdline), flags);
@@ -462,7 +465,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess(IDebugClient4 *iface,
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttach(IDebugClient4 *iface, ULONG64 server, char *cmdline,
+static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttach(IDebugClient7 *iface, ULONG64 server, char *cmdline,
ULONG create_flags, ULONG pid, ULONG attach_flags)
{
FIXME("%p, %s, %s, %#x, %u, %#x stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(cmdline), create_flags,
@@ -471,63 +474,63 @@ static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttach(IDebugClient
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetProcessOptions(IDebugClient4 *iface, ULONG *options)
+static HRESULT STDMETHODCALLTYPE debugclient_GetProcessOptions(IDebugClient7 *iface, ULONG *options)
{
FIXME("%p, %p stub.\n", iface, options);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_AddProcessOptions(IDebugClient4 *iface, ULONG options)
+static HRESULT STDMETHODCALLTYPE debugclient_AddProcessOptions(IDebugClient7 *iface, ULONG options)
{
FIXME("%p, %#x stub.\n", iface, options);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_RemoveProcessOptions(IDebugClient4 *iface, ULONG options)
+static HRESULT STDMETHODCALLTYPE debugclient_RemoveProcessOptions(IDebugClient7 *iface, ULONG options)
{
FIXME("%p, %#x stub.\n", iface, options);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetProcessOptions(IDebugClient4 *iface, ULONG options)
+static HRESULT STDMETHODCALLTYPE debugclient_SetProcessOptions(IDebugClient7 *iface, ULONG options)
{
FIXME("%p, %#x stub.\n", iface, options);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFile(IDebugClient4 *iface, const char *filename)
+static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFile(IDebugClient7 *iface, const char *filename)
{
FIXME("%p, %s stub.\n", iface, debugstr_a(filename));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile(IDebugClient4 *iface, const char *filename, ULONG qualifier)
+static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile(IDebugClient7 *iface, const char *filename, ULONG qualifier)
{
FIXME("%p, %s, %u stub.\n", iface, debugstr_a(filename), qualifier);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_ConnectSession(IDebugClient4 *iface, ULONG flags, ULONG history_limit)
+static HRESULT STDMETHODCALLTYPE debugclient_ConnectSession(IDebugClient7 *iface, ULONG flags, ULONG history_limit)
{
FIXME("%p, %#x, %u stub.\n", iface, flags, history_limit);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_StartServer(IDebugClient4 *iface, const char *options)
+static HRESULT STDMETHODCALLTYPE debugclient_StartServer(IDebugClient7 *iface, const char *options)
{
FIXME("%p, %s stub.\n", iface, debugstr_a(options));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_OutputServers(IDebugClient4 *iface, ULONG output_control,
+static HRESULT STDMETHODCALLTYPE debugclient_OutputServers(IDebugClient7 *iface, ULONG output_control,
const char *machine, ULONG flags)
{
FIXME("%p, %u, %s, %#x stub.\n", iface, output_control, debugstr_a(machine), flags);
@@ -535,14 +538,14 @@ static HRESULT STDMETHODCALLTYPE debugclient_OutputServers(IDebugClient4 *iface,
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_TerminateProcesses(IDebugClient4 *iface)
+static HRESULT STDMETHODCALLTYPE debugclient_TerminateProcesses(IDebugClient7 *iface)
{
FIXME("%p stub.\n", iface);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_DetachProcesses(IDebugClient4 *iface)
+static HRESULT STDMETHODCALLTYPE debugclient_DetachProcesses(IDebugClient7 *iface)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
struct target_process *target;
@@ -557,112 +560,112 @@ static HRESULT STDMETHODCALLTYPE debugclient_DetachProcesses(IDebugClient4 *ifac
return S_OK;
}
-static HRESULT STDMETHODCALLTYPE debugclient_EndSession(IDebugClient4 *iface, ULONG flags)
+static HRESULT STDMETHODCALLTYPE debugclient_EndSession(IDebugClient7 *iface, ULONG flags)
{
FIXME("%p, %#x stub.\n", iface, flags);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetExitCode(IDebugClient4 *iface, ULONG *code)
+static HRESULT STDMETHODCALLTYPE debugclient_GetExitCode(IDebugClient7 *iface, ULONG *code)
{
FIXME("%p, %p stub.\n", iface, code);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_DispatchCallbacks(IDebugClient4 *iface, ULONG timeout)
+static HRESULT STDMETHODCALLTYPE debugclient_DispatchCallbacks(IDebugClient7 *iface, ULONG timeout)
{
FIXME("%p, %u stub.\n", iface, timeout);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_ExitDispatch(IDebugClient4 *iface, IDebugClient *client)
+static HRESULT STDMETHODCALLTYPE debugclient_ExitDispatch(IDebugClient7 *iface, IDebugClient *client)
{
FIXME("%p, %p stub.\n", iface, client);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_CreateClient(IDebugClient4 *iface, IDebugClient **client)
+static HRESULT STDMETHODCALLTYPE debugclient_CreateClient(IDebugClient7 *iface, IDebugClient **client)
{
FIXME("%p, %p stub.\n", iface, client);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetInputCallbacks(IDebugClient4 *iface, IDebugInputCallbacks **callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_GetInputCallbacks(IDebugClient7 *iface, IDebugInputCallbacks **callbacks)
{
FIXME("%p, %p stub.\n", iface, callbacks);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetInputCallbacks(IDebugClient4 *iface, IDebugInputCallbacks *callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_SetInputCallbacks(IDebugClient7 *iface, IDebugInputCallbacks *callbacks)
{
FIXME("%p, %p stub.\n", iface, callbacks);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetOutputCallbacks(IDebugClient4 *iface, IDebugOutputCallbacks **callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_GetOutputCallbacks(IDebugClient7 *iface, IDebugOutputCallbacks **callbacks)
{
FIXME("%p, %p stub.\n", iface, callbacks);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetOutputCallbacks(IDebugClient4 *iface, IDebugOutputCallbacks *callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_SetOutputCallbacks(IDebugClient7 *iface, IDebugOutputCallbacks *callbacks)
{
FIXME("%p, %p stub.\n", iface, callbacks);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetOutputMask(IDebugClient4 *iface, ULONG *mask)
+static HRESULT STDMETHODCALLTYPE debugclient_GetOutputMask(IDebugClient7 *iface, ULONG *mask)
{
FIXME("%p, %p stub.\n", iface, mask);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetOutputMask(IDebugClient4 *iface, ULONG mask)
+static HRESULT STDMETHODCALLTYPE debugclient_SetOutputMask(IDebugClient7 *iface, ULONG mask)
{
FIXME("%p, %#x stub.\n", iface, mask);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetOtherOutputMask(IDebugClient4 *iface, IDebugClient *client, ULONG *mask)
+static HRESULT STDMETHODCALLTYPE debugclient_GetOtherOutputMask(IDebugClient7 *iface, IDebugClient *client, ULONG *mask)
{
FIXME("%p, %p, %p stub.\n", iface, client, mask);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetOtherOutputMask(IDebugClient4 *iface, IDebugClient *client, ULONG mask)
+static HRESULT STDMETHODCALLTYPE debugclient_SetOtherOutputMask(IDebugClient7 *iface, IDebugClient *client, ULONG mask)
{
FIXME("%p, %p, %#x stub.\n", iface, client, mask);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetOutputWidth(IDebugClient4 *iface, ULONG *columns)
+static HRESULT STDMETHODCALLTYPE debugclient_GetOutputWidth(IDebugClient7 *iface, ULONG *columns)
{
FIXME("%p, %p stub.\n", iface, columns);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetOutputWidth(IDebugClient4 *iface, ULONG columns)
+static HRESULT STDMETHODCALLTYPE debugclient_SetOutputWidth(IDebugClient7 *iface, ULONG columns)
{
FIXME("%p, %u stub.\n", iface, columns);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetOutputLinePrefix(IDebugClient4 *iface, char *buffer, ULONG buffer_size,
+static HRESULT STDMETHODCALLTYPE debugclient_GetOutputLinePrefix(IDebugClient7 *iface, char *buffer, ULONG buffer_size,
ULONG *prefix_size)
{
FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, prefix_size);
@@ -670,14 +673,14 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetOutputLinePrefix(IDebugClient4 *
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetOutputLinePrefix(IDebugClient4 *iface, const char *prefix)
+static HRESULT STDMETHODCALLTYPE debugclient_SetOutputLinePrefix(IDebugClient7 *iface, const char *prefix)
{
FIXME("%p, %s stub.\n", iface, debugstr_a(prefix));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetIdentity(IDebugClient4 *iface, char *buffer, ULONG buffer_size,
+static HRESULT STDMETHODCALLTYPE debugclient_GetIdentity(IDebugClient7 *iface, char *buffer, ULONG buffer_size,
ULONG *identity_size)
{
FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, identity_size);
@@ -685,7 +688,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetIdentity(IDebugClient4 *iface, c
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_OutputIdentity(IDebugClient4 *iface, ULONG output_control, ULONG flags,
+static HRESULT STDMETHODCALLTYPE debugclient_OutputIdentity(IDebugClient7 *iface, ULONG output_control, ULONG flags,
const char *format)
{
FIXME("%p, %u, %#x, %s stub.\n", iface, output_control, flags, debugstr_a(format));
@@ -693,7 +696,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_OutputIdentity(IDebugClient4 *iface
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacks(IDebugClient4 *iface, IDebugEventCallbacks **callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacks(IDebugClient7 *iface, IDebugEventCallbacks **callbacks)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
@@ -708,7 +711,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacks(IDebugClient4 *if
return S_OK;
}
-static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacks(IDebugClient4 *iface, IDebugEventCallbacks *callbacks)
+static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacks(IDebugClient7 *iface, IDebugEventCallbacks *callbacks)
{
struct debug_client *debug_client = impl_from_IDebugClient(iface);
@@ -722,70 +725,70 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacks(IDebugClient4 *if
return S_OK;
}
-static HRESULT STDMETHODCALLTYPE debugclient_FlushCallbacks(IDebugClient4 *iface)
+static HRESULT STDMETHODCALLTYPE debugclient_FlushCallbacks(IDebugClient7 *iface)
{
FIXME("%p stub.\n", iface);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile2(IDebugClient4 *iface, const char *dumpfile, ULONG qualifier,
+static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile2(IDebugClient7 *iface, const char *dumpfile, ULONG qualifier,
ULONG flags, const char *comment)
{
FIXME("%p, %s, %d, 0x%08x, %s.\n", iface, debugstr_a(dumpfile), qualifier, flags, debugstr_a(comment));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_AddDumpInformationFile(IDebugClient4 *iface, const char *infofile, ULONG type)
+static HRESULT STDMETHODCALLTYPE debugclient_AddDumpInformationFile(IDebugClient7 *iface, const char *infofile, ULONG type)
{
FIXME("%p, %s, %d.\n", iface, debugstr_a(infofile), type);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_EndProcessServer(IDebugClient4 *iface, ULONG64 server)
+static HRESULT STDMETHODCALLTYPE debugclient_EndProcessServer(IDebugClient7 *iface, ULONG64 server)
{
FIXME("%p, %s.\n", iface, wine_dbgstr_longlong(server));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_WaitForProcessServerEnd(IDebugClient4 *iface, ULONG timeout)
+static HRESULT STDMETHODCALLTYPE debugclient_WaitForProcessServerEnd(IDebugClient7 *iface, ULONG timeout)
{
FIXME("%p, %d.\n", iface, timeout);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_IsKernelDebuggerEnabled(IDebugClient4 *iface)
+static HRESULT STDMETHODCALLTYPE debugclient_IsKernelDebuggerEnabled(IDebugClient7 *iface)
{
FIXME("%p.\n", iface);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_TerminateCurrentProcess(IDebugClient4 *iface)
+static HRESULT STDMETHODCALLTYPE debugclient_TerminateCurrentProcess(IDebugClient7 *iface)
{
FIXME("%p.\n", iface);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_DetachCurrentProcess(IDebugClient4 *iface)
+static HRESULT STDMETHODCALLTYPE debugclient_DetachCurrentProcess(IDebugClient7 *iface)
{
FIXME("%p.\n", iface);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_AbandonCurrentProcess(IDebugClient4 *iface)
+static HRESULT STDMETHODCALLTYPE debugclient_AbandonCurrentProcess(IDebugClient7 *iface)
{
FIXME("%p.\n", iface);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutableNameWide(IDebugClient4 *iface, ULONG64 server,
+static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIdByExecutableNameWide(IDebugClient7 *iface, ULONG64 server,
const WCHAR *exename, ULONG flags, ULONG *id)
{
FIXME("%p, %s, %s, 0x%08x, %p.\n", iface, wine_dbgstr_longlong(server), debugstr_w(exename), flags, id);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescriptionWide(IDebugClient4 *iface, ULONG64 server, ULONG id,
+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)
{
FIXME("%p, %s, %d, 0x%08x, %s, %d, %p, %s, %d, %p.\n", iface, wine_dbgstr_longlong(server), id, flags, debugstr_w(exename), size,
@@ -793,26 +796,26 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescriptionWide(ID
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessWide(IDebugClient4 *iface, ULONG64 server, WCHAR *commandline, ULONG flags)
+static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessWide(IDebugClient7 *iface, ULONG64 server, WCHAR *commandline, ULONG flags)
{
FIXME("%p, %s, %s, 0x%08x.\n", iface, wine_dbgstr_longlong(server), debugstr_w(commandline), flags);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttachWide(IDebugClient4 *iface, ULONG64 server, WCHAR *commandline,
+static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttachWide(IDebugClient7 *iface, ULONG64 server, WCHAR *commandline,
ULONG flags, ULONG processid, ULONG attachflags)
{
FIXME("%p, %s, %s, 0x%08x, %d, 0x%08x.\n", iface, wine_dbgstr_longlong(server), debugstr_w(commandline), flags, processid, attachflags);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFileWide(IDebugClient4 *iface, const WCHAR *filename, ULONG64 handle)
+static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFileWide(IDebugClient7 *iface, const WCHAR *filename, ULONG64 handle)
{
FIXME("%p, %s, %s.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle));
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFileWide(IDebugClient4 *iface, const WCHAR *filename, ULONG64 handle,
+static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFileWide(IDebugClient7 *iface, const WCHAR *filename, ULONG64 handle,
ULONG qualifier, ULONG flags, const WCHAR *comment)
{
FIXME("%p, %s, %s, %d, 0x%08x, %s.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle),
@@ -820,35 +823,229 @@ static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFileWide(IDebugClient4 *if
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_AddDumpInformationFileWide(IDebugClient4 *iface, const WCHAR *filename,
+static HRESULT STDMETHODCALLTYPE debugclient_AddDumpInformationFileWide(IDebugClient7 *iface, const WCHAR *filename,
ULONG64 handle, ULONG type)
{
FIXME("%p, %s, %s, %d.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle), type);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetNumberDumpFiles(IDebugClient4 *iface, ULONG *count)
+static HRESULT STDMETHODCALLTYPE debugclient_GetNumberDumpFiles(IDebugClient7 *iface, ULONG *count)
{
FIXME("%p, %p.\n", iface, count);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetDumpFile(IDebugClient4 *iface, ULONG index, char *buffer, ULONG buf_size,
+static HRESULT STDMETHODCALLTYPE debugclient_GetDumpFile(IDebugClient7 *iface, ULONG index, char *buffer, ULONG buf_size,
ULONG *name_size, ULONG64 *handle, ULONG *type)
{
FIXME("%p, %d, %p, %d, %p, %p, %p.\n", iface, index, buffer, buf_size, name_size, handle, type);
return E_NOTIMPL;
}
-static HRESULT STDMETHODCALLTYPE debugclient_GetDumpFileWide(IDebugClient4 *iface, ULONG index, WCHAR *buffer, ULONG buf_size,
+static HRESULT STDMETHODCALLTYPE debugclient_GetDumpFileWide(IDebugClient7 *iface, ULONG index, WCHAR *buffer, ULONG buf_size,
ULONG *name_size, ULONG64 *handle, ULONG *type)
{
FIXME("%p, %d, %p, %d, %p, %p, %p.\n", iface, index, buffer, buf_size, name_size, handle, type);
return E_NOTIMPL;
}
+static HRESULT STDMETHODCALLTYPE debugclient_AttachKernelWide(IDebugClient7 *iface, ULONG flags, const WCHAR *options)
+{
+ FIXME("%p, 0x%08x, %s.\n", iface, flags, debugstr_w(options));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetKernelConnectionOptionsWide(IDebugClient7 *iface, WCHAR *buffer,
+ ULONG buf_size, ULONG *size)
+{
+ FIXME("%p, %p, %d, %p.\n", iface, buffer, buf_size, size);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_SetKernelConnectionOptionsWide(IDebugClient7 *iface, const WCHAR *options)
+{
+ FIXME("%p, %p.\n", iface, options);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_StartProcessServerWide(IDebugClient7 *iface, ULONG flags, const WCHAR *options, void *reserved)
+{
+ FIXME("%p, 0x%08x, %s, %p.\n", iface, flags, debugstr_w(options), reserved);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_ConnectProcessServerWide(IDebugClient7 *iface, const WCHAR *options, ULONG64 *server)
+{
+ FIXME("%p, %s, %p.\n", iface, debugstr_w(options), server);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_StartServerWide(IDebugClient7 *iface, const WCHAR *options)
+{
+ FIXME("%p, %s.\n", iface, debugstr_w(options));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_OutputServersWide(IDebugClient7 *iface, ULONG control, const WCHAR *machine, ULONG flags)
+{
+ FIXME("%p, %d, %s, 0x%08x.\n", iface, control, debugstr_w(machine), flags);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetOutputCallbacksWide(IDebugClient7 *iface, IDebugOutputCallbacksWide **callbacks)
+{
+ FIXME("%p, %p.\n", iface, callbacks);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_SetOutputCallbacksWide(IDebugClient7 *iface, IDebugOutputCallbacksWide *callbacks)
+{
+ FIXME("%p, %p.\n", iface, callbacks);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetOutputLinePrefixWide(IDebugClient7 *iface, WCHAR *buffer, ULONG buf_size, ULONG *size)
+{
+ FIXME("%p, %p, %d, %p.\n", iface, buffer, buf_size, size);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_SetOutputLinePrefixWide(IDebugClient7 *iface, const WCHAR *prefix)
+{
+ FIXME("%p, %s.\n", iface, debugstr_w(prefix));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetIdentityWide(IDebugClient7 *iface, WCHAR *buffer, ULONG buf_size, ULONG *identity)
+{
+ FIXME("%p, %p, %d, %p.\n", iface, buffer, buf_size, identity);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_OutputIdentityWide(IDebugClient7 *iface, ULONG control, ULONG flags, const WCHAR *format)
+{
+ FIXME("%p, %d, 0x%08x, %s.\n", iface, control, flags, debugstr_w(format));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetEventCallbacksWide(IDebugClient7 *iface, IDebugEventCallbacksWide **callbacks)
+{
+ FIXME("%p, %p .\n", iface, callbacks);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacksWide(IDebugClient7 *iface, IDebugEventCallbacksWide *callbacks)
+{
+ FIXME("%p .\n", iface);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess2(IDebugClient7 *iface, ULONG64 server, char *command, void *options,
+ ULONG buf_size, const char *initial, const char *environment)
+{
+ FIXME("%p %s, %s, %p, %d, %s, %s.\n", iface, wine_dbgstr_longlong(server), debugstr_a(command), options,
+ buf_size, debugstr_a(initial), debugstr_a(environment));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess2Wide(IDebugClient7 *iface, ULONG64 server, WCHAR *command, void *options,
+ ULONG size, const WCHAR *initial, const WCHAR *environment)
+{
+ FIXME("%p %s, %s, %p, %d, %s, %s.\n", iface, wine_dbgstr_longlong(server), debugstr_w(command), options,
+ size, debugstr_w(initial), debugstr_w(environment));
+ return E_NOTIMPL;
+}
+
+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)
+{
+ FIXME("%p %s, %s, %p, %d, %s, %s, %d, 0x%08x.\n", iface, wine_dbgstr_longlong(server), debugstr_a(command), options,
+ buf_size, debugstr_a(initial), debugstr_a(environment), processid, flags);
+ return E_NOTIMPL;
+}
+
+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)
+{
+ FIXME("%p %s, %s, %p, %d, %s, %s, %d, 0x%08x.\n", iface, wine_dbgstr_longlong(server), debugstr_w(command), buffer,
+ buf_size, debugstr_w(initial), debugstr_w(environment), processid, flags);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_PushOutputLinePrefix(IDebugClient7 *iface, const char *prefix, ULONG64 *handle)
+{
+ FIXME("%p, %p.\n", iface, handle);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_PushOutputLinePrefixWide(IDebugClient7 *iface, const WCHAR *prefix, ULONG64 *handle)
+{
+ FIXME("%p, %p.\n", iface, handle);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_PopOutputLinePrefix(IDebugClient7 *iface, ULONG64 handle)
+{
+ FIXME("%p, %s.\n", iface, wine_dbgstr_longlong(handle));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetNumberInputCallbacks(IDebugClient7 *iface, ULONG *count)
+{
+ FIXME("%p, %p.\n", iface, count);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetNumberOutputCallbacks(IDebugClient7 *iface, ULONG *count)
+{
+ FIXME("%p, %p.\n", iface, count);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetNumberEventCallbacks(IDebugClient7 *iface, ULONG flags, ULONG *count)
+{
+ FIXME("%p, 0x%08x, %p.\n", iface, flags, count);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetQuitLockString(IDebugClient7 *iface, char *buffer, ULONG buf_size, ULONG *size)
+{
+ FIXME("%p, %s, %d, %p.\n", iface, debugstr_a(buffer), buf_size, size);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_SetQuitLockString(IDebugClient7 *iface, char *string)
+{
+ FIXME("%p, %s.\n", iface, debugstr_a(string));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_GetQuitLockStringWide(IDebugClient7 *iface, WCHAR *buffer, ULONG buf_size, ULONG *size)
+{
+ FIXME("%p, %s, %d, %p.\n", iface, debugstr_w(buffer), buf_size, size);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_SetQuitLockStringWide(IDebugClient7 *iface, const WCHAR *string)
+{
+ FIXME("%p, %s.\n", iface, debugstr_w(string));
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_SetEventContextCallbacks(IDebugClient7 *iface, IDebugEventContextCallbacks *callbacks)
+{
+ FIXME("%p, %p.\n", iface, callbacks);
+ return E_NOTIMPL;
+}
+
+static HRESULT STDMETHODCALLTYPE debugclient_SetClientContext(IDebugClient7 *iface, void *context, ULONG size)
+{
+ FIXME("%p, %p, %d.\n", iface, context, size);
+ return E_NOTIMPL;
+}
-static const IDebugClient4Vtbl debugclientvtbl =
+static const IDebugClient7Vtbl debugclientvtbl =
{
debugclient_QueryInterface,
debugclient_AddRef,
@@ -919,6 +1116,40 @@ static const IDebugClient4Vtbl debugclientvtbl =
debugclient_GetNumberDumpFiles,
debugclient_GetDumpFile,
debugclient_GetDumpFileWide,
+ /* IDebugClient5 */
+ debugclient_AttachKernelWide,
+ debugclient_GetKernelConnectionOptionsWide,
+ debugclient_SetKernelConnectionOptionsWide,
+ debugclient_StartProcessServerWide,
+ debugclient_ConnectProcessServerWide,
+ debugclient_StartServerWide,
+ debugclient_OutputServersWide,
+ debugclient_GetOutputCallbacksWide,
+ debugclient_SetOutputCallbacksWide,
+ debugclient_GetOutputLinePrefixWide,
+ debugclient_SetOutputLinePrefixWide,
+ debugclient_GetIdentityWide,
+ debugclient_OutputIdentityWide,
+ debugclient_GetEventCallbacksWide,
+ debugclient_SetEventCallbacksWide,
+ debugclient_CreateProcess2,
+ debugclient_CreateProcess2Wide,
+ debugclient_CreateProcessAndAttach2,
+ debugclient_CreateProcessAndAttach2Wide,
+ debugclient_PushOutputLinePrefix,
+ debugclient_PushOutputLinePrefixWide,
+ debugclient_PopOutputLinePrefix,
+ debugclient_GetNumberInputCallbacks,
+ debugclient_GetNumberOutputCallbacks,
+ debugclient_GetNumberEventCallbacks,
+ debugclient_GetQuitLockString,
+ debugclient_SetQuitLockString,
+ debugclient_GetQuitLockStringWide,
+ debugclient_SetQuitLockStringWide,
+ /* IDebugClient6 */
+ debugclient_SetEventContextCallbacks,
+ /* IDebugClient7 */
+ debugclient_SetClientContext,
};
static HRESULT STDMETHODCALLTYPE debugdataspaces_QueryInterface(IDebugDataSpaces *iface, REFIID riid, void **obj)
--
2.17.1

View File

@ -0,0 +1 @@
Fixes: [44958] dbgeng: Support IDebugClient7 interface.

View File

@ -117,6 +117,7 @@ patch_enable_all ()
enable_d3dx9_36_Optimize_Inplace="$1"
enable_d3dx9_36_Texture_Align="$1"
enable_d3dx9_36_UpdateSkinnedMesh="$1"
enable_dbgeng_IDebugClient7="$1"
enable_dbghelp_Debug_Symbols="$1"
enable_ddraw_Device_Caps="$1"
enable_ddraw_EnumSurfaces="$1"
@ -483,6 +484,9 @@ patch_enable ()
d3dx9_36-UpdateSkinnedMesh)
enable_d3dx9_36_UpdateSkinnedMesh="$2"
;;
dbgeng-IDebugClient7)
enable_dbgeng_IDebugClient7="$2"
;;
dbghelp-Debug_Symbols)
enable_dbghelp_Debug_Symbols="$2"
;;
@ -2976,6 +2980,25 @@ if test "$enable_d3dx9_36_UpdateSkinnedMesh" -eq 1; then
) >> "$patchlist"
fi
# Patchset dbgeng-IDebugClient7
# |
# | This patchset fixes the following Wine bugs:
# | * [#44958] dbgeng: Support IDebugClient7 interface.
# |
# | Modified files:
# | * dlls/dbgeng/dbgeng.c, include/dbgeng.h
# |
if test "$enable_dbgeng_IDebugClient7" -eq 1; then
patch_apply dbgeng-IDebugClient7/0001-include-Add-IDebugClient2-7-interfaces.patch
patch_apply dbgeng-IDebugClient7/0002-dbgeng-Support-interfaces-IDebugClient2-4.patch
patch_apply dbgeng-IDebugClient7/0003-dbgeng-Support-IDebugClient5-7-interfaces.patch
(
printf '%s\n' '+ { "Alistair Leslie-Hughes", "include: Add IDebugClient2-7 interfaces.", 1 },';
printf '%s\n' '+ { "Alistair Leslie-Hughes", "dbgeng: Support interfaces IDebugClient2-4.", 1 },';
printf '%s\n' '+ { "Alistair Leslie-Hughes", "dbgeng: Support IDebugClient5-7 interfaces.", 1 },';
) >> "$patchlist"
fi
# Patchset dbghelp-Debug_Symbols
# |
# | Modified files: