[PATCH] dbgeng: Fix long types warnings in traces.

Nikolay Sivov nsivov at codeweavers.com
Mon Feb 7 00:07:08 CST 2022


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/dbgeng/Makefile.in |   1 -
 dlls/dbgeng/dbgeng.c    | 468 ++++++++++++++++++++--------------------
 2 files changed, 234 insertions(+), 235 deletions(-)

diff --git a/dlls/dbgeng/Makefile.in b/dlls/dbgeng/Makefile.in
index dc00f025e7c..c2639c5d222 100644
--- a/dlls/dbgeng/Makefile.in
+++ b/dlls/dbgeng/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = dbgeng.dll
 IMPORTLIB = dbgeng
 DELAYIMPORTS = version
diff --git a/dlls/dbgeng/dbgeng.c b/dlls/dbgeng/dbgeng.c
index 5ffde0e3c80..880b6f03b43 100644
--- a/dlls/dbgeng/dbgeng.c
+++ b/dlls/dbgeng/dbgeng.c
@@ -164,7 +164,7 @@ static HRESULT debug_target_init_modules_info(struct target_process *target)
         {
             if (!GetModuleInformation(target->handle, modules[i], &info, sizeof(info)))
             {
-                WARN("Failed to get module information, error %d.\n", GetLastError());
+                WARN("Failed to get module information, error %ld.\n", GetLastError());
                 continue;
             }
 
@@ -230,7 +230,7 @@ static void debug_client_detach_target(struct target_process *target)
         if (resume)
         {
             if ((status = NtResumeProcess(target->handle)))
-                WARN("Failed to resume process, status %#x.\n", status);
+                WARN("Failed to resume process, status %#lx.\n", status);
         }
     }
 
@@ -324,7 +324,7 @@ static ULONG STDMETHODCALLTYPE debugclient_AddRef(IDebugClient7 *iface)
     struct debug_client *debug_client = impl_from_IDebugClient(iface);
     ULONG refcount = InterlockedIncrement(&debug_client->refcount);
 
-    TRACE("%p, %d.\n", iface, refcount);
+    TRACE("%p, refcount %lu.\n", iface, refcount);
 
     return refcount;
 }
@@ -341,7 +341,7 @@ static ULONG STDMETHODCALLTYPE debugclient_Release(IDebugClient7 *iface)
     ULONG refcount = InterlockedDecrement(&debug_client->refcount);
     struct target_process *cur, *cur2;
 
-    TRACE("%p, %d.\n", debug_client, refcount);
+    TRACE("%p, refcount %lu.\n", debug_client, refcount);
 
     if (!refcount)
     {
@@ -361,7 +361,7 @@ static ULONG STDMETHODCALLTYPE debugclient_Release(IDebugClient7 *iface)
 
 static HRESULT STDMETHODCALLTYPE debugclient_AttachKernel(IDebugClient7 *iface, ULONG flags, const char *options)
 {
-    FIXME("%p, %#x, %s stub.\n", iface, flags, debugstr_a(options));
+    FIXME("%p, %#lx, %s stub.\n", iface, flags, debugstr_a(options));
 
     return E_NOTIMPL;
 }
@@ -369,7 +369,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_AttachKernel(IDebugClient7 *iface,
 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);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, options_size);
 
     return E_NOTIMPL;
 }
@@ -384,7 +384,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetKernelConnectionOptions(IDebugCl
 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);
+    FIXME("%p, %#lx, %s, %p stub.\n", iface, flags, debugstr_a(options), reserved);
 
     return E_NOTIMPL;
 }
@@ -407,7 +407,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_DisconnectProcessServer(IDebugClien
 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);
+    FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(server), ids, count, actual_count);
 
     return E_NOTIMPL;
 }
@@ -415,7 +415,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessSystemIds(IDebugCl
 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);
+    FIXME("%p, %s, %s, %#lx, %p stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(exe_name), flags, id);
 
     return E_NOTIMPL;
 }
@@ -424,7 +424,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetRunningProcessDescription(IDebug
         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)
 {
-    FIXME("%p, %s, %u, %#x, %p, %u, %p, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(server), systemid, flags,
+    FIXME("%p, %s, %lu, %#lx, %p, %lu, %p, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(server), systemid, flags,
             exe_name, exe_name_size, actual_exe_name_size, description, description_size, actual_description_size);
 
     return E_NOTIMPL;
@@ -435,7 +435,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_AttachProcess(IDebugClient7 *iface,
     struct debug_client *debug_client = impl_from_IDebugClient(iface);
     struct target_process *process;
 
-    TRACE("%p, %s, %u, %#x.\n", iface, wine_dbgstr_longlong(server), pid, flags);
+    TRACE("%p, %s, %lu, %#lx.\n", iface, wine_dbgstr_longlong(server), pid, flags);
 
     if (server)
     {
@@ -457,7 +457,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_AttachProcess(IDebugClient7 *iface,
 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);
+    FIXME("%p, %s, %s, %#lx stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(cmdline), flags);
 
     return E_NOTIMPL;
 }
@@ -465,7 +465,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess(IDebugClient7 *iface,
 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,
+    FIXME("%p, %s, %s, %#lx, %lu, %#lx stub.\n", iface, wine_dbgstr_longlong(server), debugstr_a(cmdline), create_flags,
             pid, attach_flags);
 
     return E_NOTIMPL;
@@ -480,21 +480,21 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetProcessOptions(IDebugClient7 *if
 
 static HRESULT STDMETHODCALLTYPE debugclient_AddProcessOptions(IDebugClient7 *iface, ULONG options)
 {
-    FIXME("%p, %#x stub.\n", iface, options);
+    FIXME("%p, %#lx stub.\n", iface, options);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugclient_RemoveProcessOptions(IDebugClient7 *iface, ULONG options)
 {
-    FIXME("%p, %#x stub.\n", iface, options);
+    FIXME("%p, %#lx stub.\n", iface, options);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugclient_SetProcessOptions(IDebugClient7 *iface, ULONG options)
 {
-    FIXME("%p, %#x stub.\n", iface, options);
+    FIXME("%p, %#lx stub.\n", iface, options);
 
     return E_NOTIMPL;
 }
@@ -508,14 +508,14 @@ static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFile(IDebugClient7 *iface,
 
 static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFile(IDebugClient7 *iface, const char *filename, ULONG qualifier)
 {
-    FIXME("%p, %s, %u stub.\n", iface, debugstr_a(filename), qualifier);
+    FIXME("%p, %s, %lu stub.\n", iface, debugstr_a(filename), qualifier);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugclient_ConnectSession(IDebugClient7 *iface, ULONG flags, ULONG history_limit)
 {
-    FIXME("%p, %#x, %u stub.\n", iface, flags, history_limit);
+    FIXME("%p, %#lx, %lu stub.\n", iface, flags, history_limit);
 
     return E_NOTIMPL;
 }
@@ -530,7 +530,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_StartServer(IDebugClient7 *iface, c
 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);
+    FIXME("%p, %lu, %s, %#lx stub.\n", iface, output_control, debugstr_a(machine), flags);
 
     return E_NOTIMPL;
 }
@@ -559,7 +559,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_DetachProcesses(IDebugClient7 *ifac
 
 static HRESULT STDMETHODCALLTYPE debugclient_EndSession(IDebugClient7 *iface, ULONG flags)
 {
-    FIXME("%p, %#x stub.\n", iface, flags);
+    FIXME("%p, %#lx stub.\n", iface, flags);
 
     return E_NOTIMPL;
 }
@@ -573,7 +573,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetExitCode(IDebugClient7 *iface, U
 
 static HRESULT STDMETHODCALLTYPE debugclient_DispatchCallbacks(IDebugClient7 *iface, ULONG timeout)
 {
-    FIXME("%p, %u stub.\n", iface, timeout);
+    FIXME("%p, %lu stub.\n", iface, timeout);
 
     return E_NOTIMPL;
 }
@@ -629,7 +629,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetOutputMask(IDebugClient7 *iface,
 
 static HRESULT STDMETHODCALLTYPE debugclient_SetOutputMask(IDebugClient7 *iface, ULONG mask)
 {
-    FIXME("%p, %#x stub.\n", iface, mask);
+    FIXME("%p, %#lx stub.\n", iface, mask);
 
     return E_NOTIMPL;
 }
@@ -643,7 +643,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetOtherOutputMask(IDebugClient7 *i
 
 static HRESULT STDMETHODCALLTYPE debugclient_SetOtherOutputMask(IDebugClient7 *iface, IDebugClient *client, ULONG mask)
 {
-    FIXME("%p, %p, %#x stub.\n", iface, client, mask);
+    FIXME("%p, %p, %#lx stub.\n", iface, client, mask);
 
     return E_NOTIMPL;
 }
@@ -657,7 +657,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetOutputWidth(IDebugClient7 *iface
 
 static HRESULT STDMETHODCALLTYPE debugclient_SetOutputWidth(IDebugClient7 *iface, ULONG columns)
 {
-    FIXME("%p, %u stub.\n", iface, columns);
+    FIXME("%p, %lu stub.\n", iface, columns);
 
     return E_NOTIMPL;
 }
@@ -665,7 +665,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetOutputWidth(IDebugClient7 *iface
 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);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, prefix_size);
 
     return E_NOTIMPL;
 }
@@ -680,7 +680,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetOutputLinePrefix(IDebugClient7 *
 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);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, identity_size);
 
     return E_NOTIMPL;
 }
@@ -688,7 +688,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetIdentity(IDebugClient7 *iface, c
 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));
+    FIXME("%p, %lu, %#lx, %s stub.\n", iface, output_control, flags, debugstr_a(format));
 
     return E_NOTIMPL;
 }
@@ -732,13 +732,13 @@ static HRESULT STDMETHODCALLTYPE debugclient_FlushCallbacks(IDebugClient7 *iface
 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));
+    FIXME("%p, %s, %lu, %#lx, %s.\n", iface, debugstr_a(dumpfile), qualifier, flags, debugstr_a(comment));
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugclient_AddDumpInformationFile(IDebugClient7 *iface, const char *infofile, ULONG type)
 {
-    FIXME("%p, %s, %d.\n", iface, debugstr_a(infofile), type);
+    FIXME("%p, %s, %lu.\n", iface, debugstr_a(infofile), type);
     return E_NOTIMPL;
 }
 
@@ -750,7 +750,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_EndProcessServer(IDebugClient7 *ifa
 
 static HRESULT STDMETHODCALLTYPE debugclient_WaitForProcessServerEnd(IDebugClient7 *iface, ULONG timeout)
 {
-    FIXME("%p, %d.\n", iface, timeout);
+    FIXME("%p, %lu.\n", iface, timeout);
     return E_NOTIMPL;
 }
 
@@ -781,28 +781,28 @@ static HRESULT STDMETHODCALLTYPE debugclient_AbandonCurrentProcess(IDebugClient7
 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);
+    FIXME("%p, %s, %s, %#lx, %p.\n", iface, wine_dbgstr_longlong(server), debugstr_w(exename), flags, id);
     return E_NOTIMPL;
 }
 
 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,
+    FIXME("%p, %s, %lu, %#lx, %s, %lu, %p, %s, %lu, %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(IDebugClient7 *iface, ULONG64 server, WCHAR *commandline, ULONG flags)
 {
-    FIXME("%p, %s, %s, 0x%08x.\n", iface, wine_dbgstr_longlong(server), debugstr_w(commandline), flags);
+    FIXME("%p, %s, %s, %#lx.\n", iface, wine_dbgstr_longlong(server), debugstr_w(commandline), flags);
     return E_NOTIMPL;
 }
 
 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);
+    FIXME("%p, %s, %s, %#lx, %lu, %#lx.\n", iface, wine_dbgstr_longlong(server), debugstr_w(commandline), flags, processid, attachflags);
     return E_NOTIMPL;
 }
 
@@ -815,7 +815,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_OpenDumpFileWide(IDebugClient7 *ifa
 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),
+    FIXME("%p, %s, %s, %lu, %#lx, %s.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle),
                 qualifier, flags, debugstr_w(comment));
     return E_NOTIMPL;
 }
@@ -823,7 +823,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_WriteDumpFileWide(IDebugClient7 *if
 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);
+    FIXME("%p, %s, %s, %lu.\n", iface, debugstr_w(filename), wine_dbgstr_longlong(handle), type);
     return E_NOTIMPL;
 }
 
@@ -836,27 +836,27 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetNumberDumpFiles(IDebugClient7 *i
 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);
+    FIXME("%p, %lu, %p, %lu, %p, %p, %p.\n", iface, index, buffer, buf_size, name_size, handle, type);
     return E_NOTIMPL;
 }
 
 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);
+    FIXME("%p, %lu, %p, %lu, %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));
+    FIXME("%p, %#lx, %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);
+    FIXME("%p, %p, %lu, %p.\n", iface, buffer, buf_size, size);
     return E_NOTIMPL;
 }
 
@@ -868,7 +868,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetKernelConnectionOptionsWide(IDeb
 
 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);
+    FIXME("%p, %#lx, %s, %p.\n", iface, flags, debugstr_w(options), reserved);
     return E_NOTIMPL;
 }
 
@@ -886,7 +886,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_StartServerWide(IDebugClient7 *ifac
 
 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);
+    FIXME("%p, %lu, %s, %#lx.\n", iface, control, debugstr_w(machine), flags);
     return E_NOTIMPL;
 }
 
@@ -904,7 +904,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetOutputCallbacksWide(IDebugClient
 
 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);
+    FIXME("%p, %p, %lu, %p.\n", iface, buffer, buf_size, size);
     return E_NOTIMPL;
 }
 
@@ -916,13 +916,13 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetOutputLinePrefixWide(IDebugClien
 
 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);
+    FIXME("%p, %p, %lu, %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));
+    FIXME("%p, %ld, %#lx, %s.\n", iface, control, flags, debugstr_w(format));
     return E_NOTIMPL;
 }
 
@@ -941,7 +941,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetEventCallbacksWide(IDebugClient7
 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,
+    FIXME("%p, %s, %s, %p, %ld, %s, %s.\n", iface, wine_dbgstr_longlong(server), debugstr_a(command), options,
             buf_size, debugstr_a(initial), debugstr_a(environment));
     return E_NOTIMPL;
 }
@@ -949,7 +949,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess2(IDebugClient7 *iface
 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,
+    FIXME("%p, %s, %s, %p, %ld, %s, %s.\n", iface, wine_dbgstr_longlong(server), debugstr_w(command), options,
             size, debugstr_w(initial), debugstr_w(environment));
     return E_NOTIMPL;
 }
@@ -957,7 +957,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_CreateProcess2Wide(IDebugClient7 *i
 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,
+    FIXME("%p, %s, %s, %p, %ld, %s, %s, %ld, %#lx.\n", iface, wine_dbgstr_longlong(server), debugstr_a(command), options,
             buf_size, debugstr_a(initial), debugstr_a(environment), processid, flags);
     return E_NOTIMPL;
 }
@@ -965,7 +965,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_CreateProcessAndAttach2(IDebugClien
 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,
+    FIXME("%p %s, %s, %p, %ld, %s, %s, %ld, %#lx.\n", iface, wine_dbgstr_longlong(server), debugstr_w(command), buffer,
             buf_size, debugstr_w(initial), debugstr_w(environment), processid, flags);
     return E_NOTIMPL;
 }
@@ -1002,13 +1002,13 @@ static HRESULT STDMETHODCALLTYPE debugclient_GetNumberOutputCallbacks(IDebugClie
 
 static HRESULT STDMETHODCALLTYPE debugclient_GetNumberEventCallbacks(IDebugClient7 *iface, ULONG flags, ULONG *count)
 {
-    FIXME("%p, 0x%08x, %p.\n", iface, flags, count);
+    FIXME("%p, %#lx, %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);
+    FIXME("%p, %s, %ld, %p.\n", iface, debugstr_a(buffer), buf_size, size);
     return E_NOTIMPL;
 }
 
@@ -1020,7 +1020,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetQuitLockString(IDebugClient7 *if
 
 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);
+    FIXME("%p, %s, %ld, %p.\n", iface, debugstr_w(buffer), buf_size, size);
     return E_NOTIMPL;
 }
 
@@ -1038,7 +1038,7 @@ static HRESULT STDMETHODCALLTYPE debugclient_SetEventContextCallbacks(IDebugClie
 
 static HRESULT STDMETHODCALLTYPE debugclient_SetClientContext(IDebugClient7 *iface, void *context, ULONG size)
 {
-    FIXME("%p, %p, %d.\n", iface, context, size);
+    FIXME("%p, %p, %ld.\n", iface, context, size);
     return E_NOTIMPL;
 }
 
@@ -1178,7 +1178,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadVirtual(IDebugDataSpaces *i
     HRESULT hr = S_OK;
     SIZE_T length;
 
-    TRACE("%p, %s, %p, %u, %p.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
+    TRACE("%p, %s, %p, %lu, %p.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
 
     if (!(target = debug_client_get_target(debug_client)))
         return E_UNEXPECTED;
@@ -1191,7 +1191,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadVirtual(IDebugDataSpaces *i
     else
     {
         hr = HRESULT_FROM_WIN32(GetLastError());
-        WARN("Failed to read process memory %#x.\n", hr);
+        WARN("Failed to read process memory %#lx.\n", hr);
     }
 
     return hr;
@@ -1200,7 +1200,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadVirtual(IDebugDataSpaces *i
 static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteVirtual(IDebugDataSpaces *iface, ULONG64 offset, void *buffer,
         ULONG buffer_size, ULONG *written)
 {
-    FIXME("%p, %s, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
+    FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
 
     return E_NOTIMPL;
 }
@@ -1208,7 +1208,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteVirtual(IDebugDataSpaces *
 static HRESULT STDMETHODCALLTYPE debugdataspaces_SearchVirtual(IDebugDataSpaces *iface, ULONG64 offset, ULONG64 length,
         void *pattern, ULONG pattern_size, ULONG pattern_granularity, ULONG64 *ret_offset)
 {
-    FIXME("%p, %s, %s, %p, %u, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(length),
+    FIXME("%p, %s, %s, %p, %lu, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(length),
             pattern, pattern_size, pattern_granularity, ret_offset);
 
     return E_NOTIMPL;
@@ -1217,7 +1217,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_SearchVirtual(IDebugDataSpaces
 static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadVirtualUncached(IDebugDataSpaces *iface, ULONG64 offset,
         void *buffer, ULONG buffer_size, ULONG *read_len)
 {
-    FIXME("%p, %s, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
+    FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
 
     return E_NOTIMPL;
 }
@@ -1225,7 +1225,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadVirtualUncached(IDebugDataS
 static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteVirtualUncached(IDebugDataSpaces *iface, ULONG64 offset,
         void *buffer, ULONG buffer_size, ULONG *written)
 {
-    FIXME("%p, %s, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
+    FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
 
     return E_NOTIMPL;
 }
@@ -1233,7 +1233,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteVirtualUncached(IDebugData
 static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadPointersVirtual(IDebugDataSpaces *iface, ULONG count,
         ULONG64 offset, ULONG64 *pointers)
 {
-    FIXME("%p, %u, %s, %p stub.\n", iface, count, wine_dbgstr_longlong(offset), pointers);
+    FIXME("%p, %lu, %s, %p stub.\n", iface, count, wine_dbgstr_longlong(offset), pointers);
 
     return E_NOTIMPL;
 }
@@ -1241,7 +1241,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadPointersVirtual(IDebugDataS
 static HRESULT STDMETHODCALLTYPE debugdataspaces_WritePointersVirtual(IDebugDataSpaces *iface, ULONG count,
         ULONG64 offset, ULONG64 *pointers)
 {
-    FIXME("%p, %u, %s, %p stub.\n", iface, count, wine_dbgstr_longlong(offset), pointers);
+    FIXME("%p, %lu, %s, %p stub.\n", iface, count, wine_dbgstr_longlong(offset), pointers);
 
     return E_NOTIMPL;
 }
@@ -1249,7 +1249,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_WritePointersVirtual(IDebugData
 static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadPhysical(IDebugDataSpaces *iface, ULONG64 offset, void *buffer,
         ULONG buffer_size, ULONG *read_len)
 {
-    FIXME("%p, %s, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
+    FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
 
     return E_NOTIMPL;
 }
@@ -1257,7 +1257,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadPhysical(IDebugDataSpaces *
 static HRESULT STDMETHODCALLTYPE debugdataspaces_WritePhysical(IDebugDataSpaces *iface, ULONG64 offset, void *buffer,
         ULONG buffer_size, ULONG *written)
 {
-    FIXME("%p, %s, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
+    FIXME("%p, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
 
     return E_NOTIMPL;
 }
@@ -1265,7 +1265,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_WritePhysical(IDebugDataSpaces
 static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadControl(IDebugDataSpaces *iface, ULONG processor, ULONG64 offset,
         void *buffer, ULONG buffer_size, ULONG *read_len)
 {
-    FIXME("%p, %u, %s, %p, %u, %p stub.\n", iface, processor, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
+    FIXME("%p, %lu, %s, %p, %lu, %p stub.\n", iface, processor, wine_dbgstr_longlong(offset), buffer, buffer_size, read_len);
 
     return E_NOTIMPL;
 }
@@ -1273,7 +1273,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadControl(IDebugDataSpaces *i
 static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteControl(IDebugDataSpaces *iface, ULONG processor, ULONG64 offset,
         void *buffer, ULONG buffer_size, ULONG *written)
 {
-    FIXME("%p, %u, %s, %p, %u, %p stub.\n", iface, processor, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
+    FIXME("%p, %lu, %s, %p, %lu, %p stub.\n", iface, processor, wine_dbgstr_longlong(offset), buffer, buffer_size, written);
 
     return E_NOTIMPL;
 }
@@ -1281,7 +1281,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteControl(IDebugDataSpaces *
 static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadIo(IDebugDataSpaces *iface, ULONG type, ULONG bus_number,
         ULONG address_space, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *read_len)
 {
-    FIXME("%p, %u, %u, %u, %s, %p, %u, %p stub.\n", iface, type, bus_number, address_space, wine_dbgstr_longlong(offset),
+    FIXME("%p, %lu, %lu, %lu, %s, %p, %lu, %p stub.\n", iface, type, bus_number, address_space, wine_dbgstr_longlong(offset),
             buffer, buffer_size, read_len);
 
     return E_NOTIMPL;
@@ -1290,7 +1290,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadIo(IDebugDataSpaces *iface,
 static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteIo(IDebugDataSpaces *iface, ULONG type, ULONG bus_number,
         ULONG address_space, ULONG64 offset, void *buffer, ULONG buffer_size, ULONG *written)
 {
-    FIXME("%p, %u, %u, %u, %s, %p, %u, %p stub.\n", iface, type, bus_number, address_space, wine_dbgstr_longlong(offset),
+    FIXME("%p, %lu, %lu, %lu, %s, %p, %lu, %p stub.\n", iface, type, bus_number, address_space, wine_dbgstr_longlong(offset),
             buffer, buffer_size, written);
 
     return E_NOTIMPL;
@@ -1298,14 +1298,14 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteIo(IDebugDataSpaces *iface
 
 static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadMsr(IDebugDataSpaces *iface, ULONG msr, ULONG64 *value)
 {
-    FIXME("%p, %u, %p stub.\n", iface, msr, value);
+    FIXME("%p, %lu, %p stub.\n", iface, msr, value);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteMsr(IDebugDataSpaces *iface, ULONG msr, ULONG64 value)
 {
-    FIXME("%p, %u, %s stub.\n", iface, msr, wine_dbgstr_longlong(value));
+    FIXME("%p, %lu, %s stub.\n", iface, msr, wine_dbgstr_longlong(value));
 
     return E_NOTIMPL;
 }
@@ -1313,7 +1313,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteMsr(IDebugDataSpaces *ifac
 static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadBusData(IDebugDataSpaces *iface, ULONG data_type,
         ULONG bus_number, ULONG slot_number, ULONG offset, void *buffer, ULONG buffer_size, ULONG *read_len)
 {
-    FIXME("%p, %u, %u, %u, %u, %p, %u, %p stub.\n", iface, data_type, bus_number, slot_number, offset, buffer,
+    FIXME("%p, %lu, %lu, %lu, %lu, %p, %lu, %p stub.\n", iface, data_type, bus_number, slot_number, offset, buffer,
             buffer_size, read_len);
 
     return E_NOTIMPL;
@@ -1322,7 +1322,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadBusData(IDebugDataSpaces *i
 static HRESULT STDMETHODCALLTYPE debugdataspaces_WriteBusData(IDebugDataSpaces *iface, ULONG data_type,
         ULONG bus_number, ULONG slot_number, ULONG offset, void *buffer, ULONG buffer_size, ULONG *written)
 {
-    FIXME("%p, %u, %u, %u, %u, %p, %u, %p stub.\n", iface, data_type, bus_number, slot_number, offset, buffer,
+    FIXME("%p, %lu, %lu, %lu, %lu, %p, %lu, %p stub.\n", iface, data_type, bus_number, slot_number, offset, buffer,
             buffer_size, written);
 
     return E_NOTIMPL;
@@ -1338,7 +1338,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_CheckLowMemory(IDebugDataSpaces
 static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadDebuggerData(IDebugDataSpaces *iface, ULONG index, void *buffer,
         ULONG buffer_size, ULONG *data_size)
 {
-    FIXME("%p, %u, %p, %u, %p stub.\n", iface, index, buffer, buffer_size, data_size);
+    FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, data_size);
 
     return E_NOTIMPL;
 }
@@ -1346,7 +1346,7 @@ static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadDebuggerData(IDebugDataSpac
 static HRESULT STDMETHODCALLTYPE debugdataspaces_ReadProcessorSystemData(IDebugDataSpaces *iface, ULONG processor,
         ULONG index, void *buffer, ULONG buffer_size, ULONG *data_size)
 {
-    FIXME("%p, %u, %u, %p, %u, %p stub.\n", iface, processor, index, buffer, buffer_size, data_size);
+    FIXME("%p, %lu, %lu, %p, %lu, %p stub.\n", iface, processor, index, buffer, buffer_size, data_size);
 
     return E_NOTIMPL;
 }
@@ -1408,21 +1408,21 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolOptions(IDebugSymbols3 *i
 
 static HRESULT STDMETHODCALLTYPE debugsymbols_AddSymbolOptions(IDebugSymbols3 *iface, ULONG options)
 {
-    FIXME("%p, %#x stub.\n", iface, options);
+    FIXME("%p, %#lx stub.\n", iface, options);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugsymbols_RemoveSymbolOptions(IDebugSymbols3 *iface, ULONG options)
 {
-    FIXME("%p, %#x stub.\n", iface, options);
+    FIXME("%p, %#lx stub.\n", iface, options);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugsymbols_SetSymbolOptions(IDebugSymbols3 *iface, ULONG options)
 {
-    FIXME("%p, %#x stub.\n", iface, options);
+    FIXME("%p, %#lx stub.\n", iface, options);
 
     return E_NOTIMPL;
 }
@@ -1430,7 +1430,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_SetSymbolOptions(IDebugSymbols3 *i
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetNameByOffset(IDebugSymbols3 *iface, ULONG64 offset, char *buffer,
         ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
 {
-    FIXME("%p, %s, %p, %u, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size,
+    FIXME("%p, %s, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size,
             name_size, displacement);
 
     return E_NOTIMPL;
@@ -1447,7 +1447,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByName(IDebugSymbols3 *if
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetNearNameByOffset(IDebugSymbols3 *iface, ULONG64 offset, LONG delta,
         char *buffer, ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
 {
-    FIXME("%p, %s, %d, %p, %u, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), delta, buffer, buffer_size,
+    FIXME("%p, %s, %ld, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), delta, buffer, buffer_size,
             name_size, displacement);
 
     return E_NOTIMPL;
@@ -1456,7 +1456,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetNearNameByOffset(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetLineByOffset(IDebugSymbols3 *iface, ULONG64 offset, ULONG *line,
         char *buffer, ULONG buffer_size, ULONG *file_size, ULONG64 *displacement)
 {
-    FIXME("%p, %s, %p, %p, %u, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), line, buffer, buffer_size,
+    FIXME("%p, %s, %p, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), line, buffer, buffer_size,
             file_size, displacement);
 
     return E_NOTIMPL;
@@ -1465,7 +1465,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetLineByOffset(IDebugSymbols3 *if
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByLine(IDebugSymbols3 *iface, ULONG line, const char *file,
         ULONG64 *offset)
 {
-    FIXME("%p, %u, %s, %p stub.\n", iface, line, debugstr_a(file), offset);
+    FIXME("%p, %lu, %s, %p stub.\n", iface, line, debugstr_a(file), offset);
 
     return E_NOTIMPL;
 }
@@ -1496,7 +1496,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByIndex(IDebugSymbols3 *i
     const struct module_info *info;
     struct target_process *target;
 
-    TRACE("%p, %u, %p.\n", iface, index, base);
+    TRACE("%p, %lu, %p.\n", iface, index, base);
 
     if (!(target = debug_client_get_target(debug_client)))
         return E_UNEXPECTED;
@@ -1512,7 +1512,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByIndex(IDebugSymbols3 *i
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleName(IDebugSymbols3 *iface, const char *name,
         ULONG start_index, ULONG *index, ULONG64 *base)
 {
-    FIXME("%p, %s, %u, %p, %p stub.\n", iface, debugstr_a(name), start_index, index, base);
+    FIXME("%p, %s, %lu, %p, %p stub.\n", iface, debugstr_a(name), start_index, index, base);
 
     return E_NOTIMPL;
 }
@@ -1524,7 +1524,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByOffset(IDebugSymbols3 *
     static struct target_process *target;
     const struct module_info *info;
 
-    TRACE("%p, %s, %u, %p, %p.\n", iface, wine_dbgstr_longlong(offset), start_index, index, base);
+    TRACE("%p, %s, %lu, %p, %p.\n", iface, wine_dbgstr_longlong(offset), start_index, index, base);
 
     if (!(target = debug_client_get_target(debug_client)))
         return E_UNEXPECTED;
@@ -1551,7 +1551,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleNames(IDebugSymbols3 *ifa
         ULONG module_name_buffer_size, ULONG *module_name_size, char *loaded_image_name,
         ULONG loaded_image_name_buffer_size, ULONG *loaded_image_size)
 {
-    FIXME("%p, %u, %s, %p, %u, %p, %p, %u, %p, %p, %u, %p stub.\n", iface, index, wine_dbgstr_longlong(base),
+    FIXME("%p, %lu, %s, %p, %lu, %p, %p, %lu, %p, %p, %lu, %p stub.\n", iface, index, wine_dbgstr_longlong(base),
             image_name, image_name_buffer_size, image_name_size, module_name, module_name_buffer_size,
             module_name_size, loaded_image_name, loaded_image_name_buffer_size, loaded_image_size);
 
@@ -1566,7 +1566,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleParameters(IDebugSymbols3
     struct target_process *target;
     unsigned int i;
 
-    TRACE("%p, %u, %p, %u, %p.\n", iface, count, bases, start, params);
+    TRACE("%p, %lu, %p, %lu, %p.\n", iface, count, bases, start, params);
 
     if (!(target = debug_client_get_target(debug_client)))
         return E_UNEXPECTED;
@@ -1609,7 +1609,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolModule(IDebugSymbols3 *if
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeName(IDebugSymbols3 *iface, ULONG64 base, ULONG type_id,
         char *buffer, ULONG buffer_size, ULONG *name_size)
 {
-    FIXME("%p, %s, %u, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(base), type_id, buffer,
+    FIXME("%p, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(base), type_id, buffer,
             buffer_size, name_size);
 
     return E_NOTIMPL;
@@ -1626,7 +1626,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeId(IDebugSymbols3 *iface, U
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeSize(IDebugSymbols3 *iface, ULONG64 base, ULONG type_id,
         ULONG *size)
 {
-    FIXME("%p, %s, %u, %p stub.\n", iface, wine_dbgstr_longlong(base), type_id, size);
+    FIXME("%p, %s, %lu, %p stub.\n", iface, wine_dbgstr_longlong(base), type_id, size);
 
     return E_NOTIMPL;
 }
@@ -1634,7 +1634,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeSize(IDebugSymbols3 *iface,
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldOffset(IDebugSymbols3 *iface, ULONG64 base, ULONG type_id,
         const char *field, ULONG *offset)
 {
-    FIXME("%p, %s, %u, %s, %p stub.\n", iface, wine_dbgstr_longlong(base), type_id, debugstr_a(field), offset);
+    FIXME("%p, %s, %lu, %s, %p stub.\n", iface, wine_dbgstr_longlong(base), type_id, debugstr_a(field), offset);
 
     return E_NOTIMPL;
 }
@@ -1658,7 +1658,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetTypeId(IDebugSymbols3 *if
 static HRESULT STDMETHODCALLTYPE debugsymbols_ReadTypedDataVirtual(IDebugSymbols3 *iface, ULONG64 offset, ULONG64 base,
         ULONG type_id, void *buffer, ULONG buffer_size, ULONG *read_len)
 {
-    FIXME("%p, %s, %s, %u, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
+    FIXME("%p, %s, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
             type_id, buffer, buffer_size, read_len);
 
     return E_NOTIMPL;
@@ -1667,7 +1667,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_ReadTypedDataVirtual(IDebugSymbols
 static HRESULT STDMETHODCALLTYPE debugsymbols_WriteTypedDataVirtual(IDebugSymbols3 *iface, ULONG64 offset, ULONG64 base,
         ULONG type_id, void *buffer, ULONG buffer_size, ULONG *written)
 {
-    FIXME("%p, %s, %s, %u, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
+    FIXME("%p, %s, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
             type_id, buffer, buffer_size, written);
 
     return E_NOTIMPL;
@@ -1676,7 +1676,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_WriteTypedDataVirtual(IDebugSymbol
 static HRESULT STDMETHODCALLTYPE debugsymbols_OutputTypedDataVirtual(IDebugSymbols3 *iface, ULONG output_control,
         ULONG64 offset, ULONG64 base, ULONG type_id, ULONG flags)
 {
-    FIXME("%p, %#x, %s, %s, %u, %#x stub.\n", iface, output_control, wine_dbgstr_longlong(offset),
+    FIXME("%p, %#lx, %s, %s, %lu, %#lx stub.\n", iface, output_control, wine_dbgstr_longlong(offset),
             wine_dbgstr_longlong(base), type_id, flags);
 
     return E_NOTIMPL;
@@ -1685,7 +1685,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_OutputTypedDataVirtual(IDebugSymbo
 static HRESULT STDMETHODCALLTYPE debugsymbols_ReadTypedDataPhysical(IDebugSymbols3 *iface, ULONG64 offset, ULONG64 base,
         ULONG type_id, void *buffer, ULONG buffer_size, ULONG *read_len)
 {
-    FIXME("%p, %s, %s, %u, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
+    FIXME("%p, %s, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
             type_id, buffer, buffer_size, read_len);
 
     return E_NOTIMPL;
@@ -1694,7 +1694,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_ReadTypedDataPhysical(IDebugSymbol
 static HRESULT STDMETHODCALLTYPE debugsymbols_WriteTypedDataPhysical(IDebugSymbols3 *iface, ULONG64 offset,
         ULONG64 base, ULONG type_id, void *buffer, ULONG buffer_size, ULONG *written)
 {
-    FIXME("%p, %s, %s, %u, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
+    FIXME("%p, %s, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), wine_dbgstr_longlong(base),
             type_id, buffer, buffer_size, written);
 
     return E_NOTIMPL;
@@ -1703,7 +1703,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_WriteTypedDataPhysical(IDebugSymbo
 static HRESULT STDMETHODCALLTYPE debugsymbols_OutputTypedDataPhysical(IDebugSymbols3 *iface, ULONG output_control,
         ULONG64 offset, ULONG64 base, ULONG type_id, ULONG flags)
 {
-    FIXME("%p, %#x, %s, %s, %u, %#x stub.\n", iface, output_control, wine_dbgstr_longlong(offset),
+    FIXME("%p, %#lx, %s, %s, %lu, %#lx stub.\n", iface, output_control, wine_dbgstr_longlong(offset),
             wine_dbgstr_longlong(base), type_id, flags);
 
     return E_NOTIMPL;
@@ -1712,7 +1712,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_OutputTypedDataPhysical(IDebugSymb
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetScope(IDebugSymbols3 *iface, ULONG64 *instr_offset,
         DEBUG_STACK_FRAME *frame, void *scope_context, ULONG scope_context_size)
 {
-    FIXME("%p, %p, %p, %p, %u stub.\n", iface, instr_offset, frame, scope_context, scope_context_size);
+    FIXME("%p, %p, %p, %p, %lu stub.\n", iface, instr_offset, frame, scope_context, scope_context_size);
 
     return E_NOTIMPL;
 }
@@ -1720,7 +1720,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetScope(IDebugSymbols3 *iface, UL
 static HRESULT STDMETHODCALLTYPE debugsymbols_SetScope(IDebugSymbols3 *iface, ULONG64 instr_offset,
         DEBUG_STACK_FRAME *frame, void *scope_context, ULONG scope_context_size)
 {
-    FIXME("%p, %s, %p, %p, %u stub.\n", iface, wine_dbgstr_longlong(instr_offset), frame, scope_context,
+    FIXME("%p, %s, %p, %p, %lu stub.\n", iface, wine_dbgstr_longlong(instr_offset), frame, scope_context,
             scope_context_size);
 
     return E_NOTIMPL;
@@ -1736,7 +1736,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_ResetScope(IDebugSymbols3 *iface)
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetScopeSymbolGroup(IDebugSymbols3 *iface, ULONG flags,
         IDebugSymbolGroup *update, IDebugSymbolGroup **symbols)
 {
-    FIXME("%p, %#x, %p, %p stub.\n", iface, flags, update, symbols);
+    FIXME("%p, %#lx, %p, %p stub.\n", iface, flags, update, symbols);
 
     return E_NOTIMPL;
 }
@@ -1759,7 +1759,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_StartSymbolMatch(IDebugSymbols3 *i
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetNextSymbolMatch(IDebugSymbols3 *iface, ULONG64 handle, char *buffer,
         ULONG buffer_size, ULONG *match_size, ULONG64 *offset)
 {
-    FIXME("%p, %s, %p, %u, %p, %p stub.\n", iface, wine_dbgstr_longlong(handle), buffer, buffer_size, match_size, offset);
+    FIXME("%p, %s, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(handle), buffer, buffer_size, match_size, offset);
 
     return E_NOTIMPL;
 }
@@ -1781,7 +1781,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_Reload(IDebugSymbols3 *iface, cons
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolPath(IDebugSymbols3 *iface, char *buffer, ULONG buffer_size,
         ULONG *path_size)
 {
-    FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, path_size);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
 
     return E_NOTIMPL;
 }
@@ -1803,7 +1803,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSymbolPath(IDebugSymbols3 *i
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetImagePath(IDebugSymbols3 *iface, char *buffer, ULONG buffer_size,
         ULONG *path_size)
 {
-    FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, path_size);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
 
     return E_NOTIMPL;
 }
@@ -1825,7 +1825,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_AppendImagePath(IDebugSymbols3 *if
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourcePath(IDebugSymbols3 *iface, char *buffer, ULONG buffer_size,
         ULONG *path_size)
 {
-    FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, path_size);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
 
     return E_NOTIMPL;
 }
@@ -1833,7 +1833,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourcePath(IDebugSymbols3 *ifac
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourcePathElement(IDebugSymbols3 *iface, ULONG index, char *buffer,
         ULONG buffer_size, ULONG *element_size)
 {
-    FIXME("%p, %u, %p, %u, %p stub.\n", iface, index, buffer, buffer_size, element_size);
+    FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, element_size);
 
     return E_NOTIMPL;
 }
@@ -1855,7 +1855,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSourcePath(IDebugSymbols3 *i
 static HRESULT STDMETHODCALLTYPE debugsymbols_FindSourceFile(IDebugSymbols3 *iface, ULONG start, const char *file,
         ULONG flags, ULONG *found_element, char *buffer, ULONG buffer_size, ULONG *found_size)
 {
-    FIXME("%p, %u, %s, %#x, %p, %p, %u, %p stub.\n", iface, start, debugstr_a(file), flags, found_element, buffer,
+    FIXME("%p, %lu, %s, %#lx, %p, %p, %lu, %p stub.\n", iface, start, debugstr_a(file), flags, found_element, buffer,
             buffer_size, found_size);
 
     return E_NOTIMPL;
@@ -1864,7 +1864,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_FindSourceFile(IDebugSymbols3 *ifa
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceFileLineOffsets(IDebugSymbols3 *iface, const char *file,
         ULONG64 *buffer, ULONG buffer_lines, ULONG *file_lines)
 {
-    FIXME("%p, %s, %p, %u, %p stub.\n", iface, debugstr_a(file), buffer, buffer_lines, file_lines);
+    FIXME("%p, %s, %p, %lu, %p stub.\n", iface, debugstr_a(file), buffer, buffer_lines, file_lines);
 
     return E_NOTIMPL;
 }
@@ -1880,7 +1880,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleVersionInformation(IDebug
     DWORD handle;
     UINT size;
 
-    TRACE("%p, %u, %s, %s, %p, %u, %p.\n", iface, index, wine_dbgstr_longlong(base), debugstr_a(item), buffer,
+    TRACE("%p, %lu, %s, %s, %p, %lu, %p.\n", iface, index, wine_dbgstr_longlong(base), debugstr_a(item), buffer,
             buffer_size, info_size);
 
     if (!(target = debug_client_get_target(debug_client)))
@@ -1934,7 +1934,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleNameString(IDebugSymbols3
     struct target_process *target;
     HRESULT hr;
 
-    TRACE("%p, %u, %u, %s, %p, %u, %p.\n", iface, which, index, wine_dbgstr_longlong(base), buffer, buffer_size,
+    TRACE("%p, %lu, %lu, %s, %p, %lu, %p.\n", iface, which, index, wine_dbgstr_longlong(base), buffer, buffer_size,
             name_size);
 
     if (!(target = debug_client_get_target(debug_client)))
@@ -1960,10 +1960,10 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleNameString(IDebugSymbols3
         case DEBUG_MODNAME_LOADED_IMAGE:
         case DEBUG_MODNAME_SYMBOL_FILE:
         case DEBUG_MODNAME_MAPPED_IMAGE:
-            FIXME("Unsupported name info %d.\n", which);
+            FIXME("Unsupported name info %ld.\n", which);
             return E_NOTIMPL;
         default:
-            WARN("Unknown name info %d.\n", which);
+            WARN("Unknown name info %ld.\n", which);
             return E_INVALIDARG;
     }
 
@@ -1973,7 +1973,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleNameString(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetConstantName(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id,
         ULONG64 value, char *buffer, ULONG buffer_size, ULONG *name_size)
 {
-    FIXME("%p, %s, %u, %s, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id,
+    FIXME("%p, %s, %lu, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id,
             wine_dbgstr_longlong(value), buffer, buffer_size, name_size);
 
     return E_NOTIMPL;
@@ -1982,7 +1982,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetConstantName(IDebugSymbols3 *if
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldName(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id,
         ULONG field_index, char *buffer, ULONG buffer_size, ULONG *name_size)
 {
-    FIXME("%p, %s, %u, %u, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, field_index, buffer,
+    FIXME("%p, %s, %lu, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, field_index, buffer,
             buffer_size, name_size);
 
     return E_NOTIMPL;
@@ -1997,21 +1997,21 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeOptions(IDebugSymbols3 *ifa
 
 static HRESULT STDMETHODCALLTYPE debugsymbols_AddTypeOptions(IDebugSymbols3 *iface, ULONG options)
 {
-    FIXME("%p, %#x stub.\n", iface, options);
+    FIXME("%p, %#lx stub.\n", iface, options);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugsymbols_RemoveTypeOptions(IDebugSymbols3 *iface, ULONG options)
 {
-    FIXME("%p, %#x stub.\n", iface, options);
+    FIXME("%p, %#lx stub.\n", iface, options);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugsymbols_SetTypeOptions(IDebugSymbols3 *iface, ULONG options)
 {
-    FIXME("%p, %#x stub.\n", iface, options);
+    FIXME("%p, %#lx stub.\n", iface, options);
 
     return E_NOTIMPL;
 }
@@ -2019,7 +2019,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_SetTypeOptions(IDebugSymbols3 *ifa
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetNameByOffsetWide(IDebugSymbols3 *iface, ULONG64 offset, WCHAR *buffer,
         ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
 {
-    FIXME("%p, %s, %p, %u, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, name_size,
+    FIXME("%p, %s, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), buffer, buffer_size, name_size,
             displacement);
 
     return E_NOTIMPL;
@@ -2036,7 +2036,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByNameWide(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetNearNameByOffsetWide(IDebugSymbols3 *iface, ULONG64 offset,
         LONG delta, WCHAR *buffer, ULONG buffer_size, ULONG *name_size, ULONG64 *displacement)
 {
-    FIXME("%p, %s, %d, %p, %u, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), delta, buffer, buffer_size,
+    FIXME("%p, %s, %ld, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), delta, buffer, buffer_size,
             name_size, displacement);
 
     return E_NOTIMPL;
@@ -2045,7 +2045,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetNearNameByOffsetWide(IDebugSymb
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetLineByOffsetWide(IDebugSymbols3 *iface, ULONG64 offset, ULONG *line,
         WCHAR *buffer, ULONG buffer_size, ULONG *file_size, ULONG64 *displacement)
 {
-    FIXME("%p, %s, %p, %p, %u, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), line, buffer, buffer_size,
+    FIXME("%p, %s, %p, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), line, buffer, buffer_size,
             file_size, displacement);
 
     return E_NOTIMPL;
@@ -2054,7 +2054,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetLineByOffsetWide(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByLineWide(IDebugSymbols3 *iface, ULONG line, const WCHAR *file,
         ULONG64 *offset)
 {
-    FIXME("%p, %u, %s, %p stub.\n", iface, line, debugstr_w(file), offset);
+    FIXME("%p, %lu, %s, %p stub.\n", iface, line, debugstr_w(file), offset);
 
     return E_NOTIMPL;
 }
@@ -2062,7 +2062,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetOffsetByLineWide(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleNameWide(IDebugSymbols3 *iface, const WCHAR *name,
         ULONG start_index, ULONG *index, ULONG64 *base)
 {
-    FIXME("%p, %s, %u, %p, %p stub.\n", iface, debugstr_w(name), start_index, index, base);
+    FIXME("%p, %s, %lu, %p, %p stub.\n", iface, debugstr_w(name), start_index, index, base);
 
     return E_NOTIMPL;
 }
@@ -2078,7 +2078,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolModuleWide(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeNameWide(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id,
         WCHAR *buffer, ULONG buffer_size, ULONG *name_size)
 {
-    FIXME("%p, %s, %u, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, buffer, buffer_size,
+    FIXME("%p, %s, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, buffer, buffer_size,
             name_size);
 
     return E_NOTIMPL;
@@ -2095,7 +2095,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetTypeIdWide(IDebugSymbols3 *ifac
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldOffsetWide(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id,
         const WCHAR *field, ULONG *offset)
 {
-    FIXME("%p, %s, %u, %s, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, debugstr_w(field), offset);
+    FIXME("%p, %s, %lu, %s, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, debugstr_w(field), offset);
 
     return E_NOTIMPL;
 }
@@ -2111,7 +2111,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolTypeIdWide(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetScopeSymbolGroup2(IDebugSymbols3 *iface, ULONG flags,
         PDEBUG_SYMBOL_GROUP2 update, PDEBUG_SYMBOL_GROUP2 *symbols)
 {
-    FIXME("%p, %#x, %p, %p stub.\n", iface, flags, update, symbols);
+    FIXME("%p, %#lx, %p, %p stub.\n", iface, flags, update, symbols);
 
     return E_NOTIMPL;
 }
@@ -2134,7 +2134,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_StartSymbolMatchWide(IDebugSymbols
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetNextSymbolMatchWide(IDebugSymbols3 *iface, ULONG64 handle,
         WCHAR *buffer, ULONG buffer_size, ULONG *match_size, ULONG64 *offset)
 {
-    FIXME("%p, %s, %p, %u, %p, %p stub.\n", iface, wine_dbgstr_longlong(handle), buffer, buffer_size, match_size, offset);
+    FIXME("%p, %s, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(handle), buffer, buffer_size, match_size, offset);
 
     return E_NOTIMPL;
 }
@@ -2149,7 +2149,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_ReloadWide(IDebugSymbols3 *iface,
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolPathWide(IDebugSymbols3 *iface, WCHAR *buffer, ULONG buffer_size,
         ULONG *path_size)
 {
-    FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, path_size);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
 
     return E_NOTIMPL;
 }
@@ -2171,7 +2171,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSymbolPathWide(IDebugSymbols
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetImagePathWide(IDebugSymbols3 *iface, WCHAR *buffer, ULONG buffer_size,
         ULONG *path_size)
 {
-    FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, path_size);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
 
     return E_NOTIMPL;
 }
@@ -2193,7 +2193,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_AppendImagePathWide(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourcePathWide(IDebugSymbols3 *iface, WCHAR *buffer, ULONG buffer_size,
         ULONG *path_size)
 {
-    FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, path_size);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, path_size);
 
     return E_NOTIMPL;
 }
@@ -2201,7 +2201,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourcePathWide(IDebugSymbols3 *
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourcePathElementWide(IDebugSymbols3 *iface, ULONG index,
         WCHAR *buffer, ULONG buffer_size, ULONG *element_size)
 {
-    FIXME("%p, %u, %p, %u, %p stub.\n", iface, index, buffer, buffer_size, element_size);
+    FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, element_size);
 
     return E_NOTIMPL;
 }
@@ -2223,7 +2223,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_AppendSourcePathWide(IDebugSymbols
 static HRESULT STDMETHODCALLTYPE debugsymbols_FindSourceFileWide(IDebugSymbols3 *iface, ULONG start_element,
         const WCHAR *file, ULONG flags, ULONG *found_element, WCHAR *buffer, ULONG buffer_size, ULONG *found_size)
 {
-    FIXME("%p, %u, %s, %#x, %p, %p, %u, %p stub.\n", iface, start_element, debugstr_w(file), flags, found_element,
+    FIXME("%p, %lu, %s, %#lx, %p, %p, %lu, %p stub.\n", iface, start_element, debugstr_w(file), flags, found_element,
             buffer, buffer_size, found_size);
 
     return E_NOTIMPL;
@@ -2232,7 +2232,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_FindSourceFileWide(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceFileLineOffsetsWide(IDebugSymbols3 *iface, const WCHAR *file,
         ULONG64 *buffer, ULONG buffer_lines, ULONG *file_lines)
 {
-    FIXME("%p, %s, %p, %u, %p stub.\n", iface, debugstr_w(file), buffer, buffer_lines, file_lines);
+    FIXME("%p, %s, %p, %lu, %p stub.\n", iface, debugstr_w(file), buffer, buffer_lines, file_lines);
 
     return E_NOTIMPL;
 }
@@ -2240,7 +2240,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceFileLineOffsetsWide(IDebu
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleVersionInformationWide(IDebugSymbols3 *iface, ULONG index,
         ULONG64 base, const WCHAR *item, void *buffer, ULONG buffer_size, ULONG *version_info_size)
 {
-    FIXME("%p, %u, %s, %s, %p, %u, %p stub.\n", iface, index, wine_dbgstr_longlong(base), debugstr_w(item), buffer,
+    FIXME("%p, %lu, %s, %s, %p, %lu, %p stub.\n", iface, index, wine_dbgstr_longlong(base), debugstr_w(item), buffer,
             buffer_size, version_info_size);
 
     return E_NOTIMPL;
@@ -2249,7 +2249,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleVersionInformationWide(ID
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleNameStringWide(IDebugSymbols3 *iface, ULONG which, ULONG index,
         ULONG64 base, WCHAR *buffer, ULONG buffer_size, ULONG *name_size)
 {
-    FIXME("%p, %u, %u, %s, %p, %u, %p stub.\n", iface, which, index, wine_dbgstr_longlong(base), buffer, buffer_size,
+    FIXME("%p, %lu, %lu, %s, %p, %lu, %p stub.\n", iface, which, index, wine_dbgstr_longlong(base), buffer, buffer_size,
             name_size);
 
     return E_NOTIMPL;
@@ -2258,7 +2258,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleNameStringWide(IDebugSymb
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetConstantNameWide(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id,
         ULONG64 value, WCHAR *buffer, ULONG buffer_size, ULONG *name_size)
 {
-    FIXME("%p, %s, %u, %s, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id,
+    FIXME("%p, %s, %lu, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id,
             wine_dbgstr_longlong(value), buffer, buffer_size, name_size);
 
     return E_NOTIMPL;
@@ -2267,7 +2267,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetConstantNameWide(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldNameWide(IDebugSymbols3 *iface, ULONG64 module, ULONG type_id,
         ULONG field_index, WCHAR *buffer, ULONG buffer_size, ULONG *name_size)
 {
-    FIXME("%p, %s, %u, %u, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, field_index, buffer,
+    FIXME("%p, %s, %lu, %lu, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(module), type_id, field_index, buffer,
             buffer_size, name_size);
 
     return E_NOTIMPL;
@@ -2275,7 +2275,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldNameWide(IDebugSymbols3 *i
 
 static HRESULT STDMETHODCALLTYPE debugsymbols_IsManagedModule(IDebugSymbols3 *iface, ULONG index, ULONG64 base)
 {
-    FIXME("%p, %u, %s stub.\n", iface, index, wine_dbgstr_longlong(base));
+    FIXME("%p, %lu, %s stub.\n", iface, index, wine_dbgstr_longlong(base));
 
     return E_NOTIMPL;
 }
@@ -2283,7 +2283,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_IsManagedModule(IDebugSymbols3 *if
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleName2(IDebugSymbols3 *iface, const char *name,
         ULONG start_index, ULONG flags, ULONG *index, ULONG64 *base)
 {
-    FIXME("%p, %s, %u, %#x, %p, %p stub.\n", iface, debugstr_a(name), start_index, flags, index, base);
+    FIXME("%p, %s, %lu, %#lx, %p, %p stub.\n", iface, debugstr_a(name), start_index, flags, index, base);
 
     return E_NOTIMPL;
 }
@@ -2291,7 +2291,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleName2(IDebugSymbo
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleName2Wide(IDebugSymbols3 *iface, const WCHAR *name,
         ULONG start_index, ULONG flags, ULONG *index, ULONG64 *base)
 {
-    FIXME("%p, %s, %u, %#x, %p, %p stub.\n", iface, debugstr_w(name), start_index, flags, index, base);
+    FIXME("%p, %s, %lu, %#lx, %p, %p stub.\n", iface, debugstr_w(name), start_index, flags, index, base);
 
     return E_NOTIMPL;
 }
@@ -2299,7 +2299,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByModuleName2Wide(IDebugS
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByOffset2(IDebugSymbols3 *iface, ULONG64 offset,
         ULONG start_index, ULONG flags, ULONG *index, ULONG64 *base)
 {
-    FIXME("%p, %s, %u, %#x, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), start_index, flags, index, base);
+    FIXME("%p, %s, %lu, %#lx, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), start_index, flags, index, base);
 
     return E_NOTIMPL;
 }
@@ -2307,7 +2307,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleByOffset2(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_AddSyntheticModule(IDebugSymbols3 *iface, ULONG64 base, ULONG size,
         const char *image_path, const char *module_name, ULONG flags)
 {
-    FIXME("%p, %s, %u, %s, %s, %#x stub.\n", iface, wine_dbgstr_longlong(base), size, debugstr_a(image_path),
+    FIXME("%p, %s, %lu, %s, %s, %#lx stub.\n", iface, wine_dbgstr_longlong(base), size, debugstr_a(image_path),
             debugstr_a(module_name), flags);
 
     return E_NOTIMPL;
@@ -2316,7 +2316,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_AddSyntheticModule(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_AddSyntheticModuleWide(IDebugSymbols3 *iface, ULONG64 base, ULONG size,
         const WCHAR *image_path, const WCHAR *module_name, ULONG flags)
 {
-    FIXME("%p, %s, %u, %s, %s, %#x stub.\n", iface, wine_dbgstr_longlong(base), size, debugstr_w(image_path),
+    FIXME("%p, %s, %lu, %s, %s, %#lx stub.\n", iface, wine_dbgstr_longlong(base), size, debugstr_w(image_path),
             debugstr_w(module_name), flags);
 
     return E_NOTIMPL;
@@ -2338,7 +2338,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetCurrentScopeFrameIndex(IDebugSy
 
 static HRESULT STDMETHODCALLTYPE debugsymbols_SetScopeFrameByIndex(IDebugSymbols3 *iface, ULONG index)
 {
-    FIXME("%p, %u stub.\n", iface, index);
+    FIXME("%p, %lu stub.\n", iface, index);
 
     return E_NOTIMPL;
 }
@@ -2346,7 +2346,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_SetScopeFrameByIndex(IDebugSymbols
 static HRESULT STDMETHODCALLTYPE debugsymbols_SetScopeFromJitDebugInfo(IDebugSymbols3 *iface, ULONG output_control,
         ULONG64 info_offset)
 {
-    FIXME("%p, %u, %s stub.\n", iface, output_control, wine_dbgstr_longlong(info_offset));
+    FIXME("%p, %lu, %s stub.\n", iface, output_control, wine_dbgstr_longlong(info_offset));
 
     return E_NOTIMPL;
 }
@@ -2361,7 +2361,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_SetScopeFromStoredEvent(IDebugSymb
 static HRESULT STDMETHODCALLTYPE debugsymbols_OutputSymbolByOffset(IDebugSymbols3 *iface, ULONG output_control,
         ULONG flags, ULONG64 offset)
 {
-    FIXME("%p, %u, %#x, %s stub.\n", iface, output_control, flags, wine_dbgstr_longlong(offset));
+    FIXME("%p, %lu, %#lx, %s stub.\n", iface, output_control, flags, wine_dbgstr_longlong(offset));
 
     return E_NOTIMPL;
 }
@@ -2369,7 +2369,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_OutputSymbolByOffset(IDebugSymbols
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetFunctionEntryByOffset(IDebugSymbols3 *iface, ULONG64 offset,
         ULONG flags, void *buffer, ULONG buffer_size, ULONG *needed_size)
 {
-    FIXME("%p, %s, %#x, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, buffer, buffer_size,
+    FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, buffer, buffer_size,
             needed_size);
 
     return E_NOTIMPL;
@@ -2378,7 +2378,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetFunctionEntryByOffset(IDebugSym
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldTypeAndOffset(IDebugSymbols3 *iface, ULONG64 module,
         ULONG container_type_id, const char *field, ULONG *field_type_id, ULONG *offset)
 {
-    FIXME("%p, %s, %u, %s, %p, %p stub.\n", iface, wine_dbgstr_longlong(module), container_type_id, debugstr_a(field),
+    FIXME("%p, %s, %lu, %s, %p, %p stub.\n", iface, wine_dbgstr_longlong(module), container_type_id, debugstr_a(field),
             field_type_id, offset);
 
     return E_NOTIMPL;
@@ -2387,7 +2387,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldTypeAndOffset(IDebugSymbol
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldTypeAndOffsetWide(IDebugSymbols3 *iface, ULONG64 module,
         ULONG container_type_id, const WCHAR *field, ULONG *field_type_id, ULONG *offset)
 {
-    FIXME("%p, %s, %u, %s, %p, %p stub.\n", iface, wine_dbgstr_longlong(module), container_type_id, debugstr_w(field),
+    FIXME("%p, %s, %lu, %s, %p, %p stub.\n", iface, wine_dbgstr_longlong(module), container_type_id, debugstr_w(field),
             field_type_id, offset);
 
     return E_NOTIMPL;
@@ -2396,7 +2396,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetFieldTypeAndOffsetWide(IDebugSy
 static HRESULT STDMETHODCALLTYPE debugsymbols_AddSyntheticSymbol(IDebugSymbols3 *iface, ULONG64 offset, ULONG size,
         const char *name, ULONG flags, DEBUG_MODULE_AND_ID *id)
 {
-    FIXME("%p, %s, %u, %s, %#x, %p stub.\n", iface, wine_dbgstr_longlong(offset), size, debugstr_a(name), flags, id);
+    FIXME("%p, %s, %lu, %s, %#lx, %p stub.\n", iface, wine_dbgstr_longlong(offset), size, debugstr_a(name), flags, id);
 
     return E_NOTIMPL;
 }
@@ -2404,7 +2404,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_AddSyntheticSymbol(IDebugSymbols3
 static HRESULT STDMETHODCALLTYPE debugsymbols_AddSyntheticSymbolWide(IDebugSymbols3 *iface, ULONG64 offset, ULONG size,
         const WCHAR *name, ULONG flags, DEBUG_MODULE_AND_ID *id)
 {
-    FIXME("%p, %s, %u, %s, %#x, %p stub.\n", iface, wine_dbgstr_longlong(offset), size, debugstr_w(name), flags, id);
+    FIXME("%p, %s, %lu, %s, %#lx, %p stub.\n", iface, wine_dbgstr_longlong(offset), size, debugstr_w(name), flags, id);
 
     return E_NOTIMPL;
 }
@@ -2419,7 +2419,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_RemoveSyntheticSymbol(IDebugSymbol
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntriesByOffset(IDebugSymbols3 *iface, ULONG64 offset,
         ULONG flags, DEBUG_MODULE_AND_ID *ids, LONG64 *displacements, ULONG count, ULONG *entries)
 {
-    FIXME("%p, %s, %#x, %p, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, ids, displacements, count,
+    FIXME("%p, %s, %#lx, %p, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, ids, displacements, count,
             entries);
 
     return E_NOTIMPL;
@@ -2428,7 +2428,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntriesByOffset(IDebugSym
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntriesByName(IDebugSymbols3 *iface, const char *symbol,
         ULONG flags, DEBUG_MODULE_AND_ID *ids, ULONG count, ULONG *entries)
 {
-    FIXME("%p, %s, %#x, %p, %u, %p stub.\n", iface, debugstr_a(symbol), flags, ids, count, entries);
+    FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, debugstr_a(symbol), flags, ids, count, entries);
 
     return E_NOTIMPL;
 }
@@ -2436,7 +2436,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntriesByName(IDebugSymbo
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntriesByNameWide(IDebugSymbols3 *iface, const WCHAR *symbol,
         ULONG flags, DEBUG_MODULE_AND_ID *ids, ULONG count, ULONG *entries)
 {
-    FIXME("%p, %s, %#x, %p, %u, %p stub.\n", iface, debugstr_w(symbol), flags, ids, count, entries);
+    FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, debugstr_w(symbol), flags, ids, count, entries);
 
     return E_NOTIMPL;
 }
@@ -2460,7 +2460,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryInformation(IDebugSy
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryString(IDebugSymbols3 *iface, DEBUG_MODULE_AND_ID *id,
         ULONG which, char *buffer, ULONG buffer_size, ULONG *string_size)
 {
-    FIXME("%p, %p, %u, %p, %u, %p stub.\n", iface, id, which, buffer, buffer_size, string_size);
+    FIXME("%p, %p, %lu, %p, %lu, %p stub.\n", iface, id, which, buffer, buffer_size, string_size);
 
     return E_NOTIMPL;
 }
@@ -2468,7 +2468,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryString(IDebugSymbols
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryStringWide(IDebugSymbols3 *iface, DEBUG_MODULE_AND_ID *id,
         ULONG which, WCHAR *buffer, ULONG buffer_size, ULONG *string_size)
 {
-    FIXME("%p, %p, %u, %p, %u, %p stub.\n", iface, id, which, buffer, buffer_size, string_size);
+    FIXME("%p, %p, %lu, %p, %lu, %p stub.\n", iface, id, which, buffer, buffer_size, string_size);
 
     return E_NOTIMPL;
 }
@@ -2476,7 +2476,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryStringWide(IDebugSym
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryOffsetRegions(IDebugSymbols3 *iface, DEBUG_MODULE_AND_ID *id,
         ULONG flags, DEBUG_OFFSET_REGION *regions, ULONG regions_count, ULONG *regions_avail)
 {
-    FIXME("%p, %p, %#x, %p, %u, %p stub.\n", iface, id, flags, regions, regions_count, regions_avail);
+    FIXME("%p, %p, %#lx, %p, %lu, %p stub.\n", iface, id, flags, regions, regions_count, regions_avail);
 
     return E_NOTIMPL;
 }
@@ -2484,7 +2484,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryOffsetRegions(IDebug
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryBySymbolEntry(IDebugSymbols3 *iface,
         DEBUG_MODULE_AND_ID *from_id, ULONG flags, DEBUG_MODULE_AND_ID *to_id)
 {
-    FIXME("%p, %p, %#x, %p stub.\n", iface, from_id, flags, to_id);
+    FIXME("%p, %p, %#lx, %p stub.\n", iface, from_id, flags, to_id);
 
     return E_NOTIMPL;
 }
@@ -2492,7 +2492,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSymbolEntryBySymbolEntry(IDebug
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntriesByOffset(IDebugSymbols3 *iface, ULONG64 offset,
         ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *entries, ULONG count, ULONG *entries_avail)
 {
-    FIXME("%p, %s, %#x, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, entries, count, entries_avail);
+    FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, entries, count, entries_avail);
 
     return E_NOTIMPL;
 }
@@ -2500,7 +2500,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntriesByOffset(IDebugSym
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntriesByLine(IDebugSymbols3 *iface, ULONG line,
         const char *file, ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *entries, ULONG count, ULONG *entries_avail)
 {
-    FIXME("%p, %s, %#x, %p, %u, %p stub.\n", iface, debugstr_a(file), flags, entries, count, entries_avail);
+    FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, debugstr_a(file), flags, entries, count, entries_avail);
 
     return E_NOTIMPL;
 }
@@ -2508,7 +2508,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntriesByLine(IDebugSymbo
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntriesByLineWide(IDebugSymbols3 *iface, ULONG line,
         const WCHAR *file, ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *entries, ULONG count, ULONG *entries_avail)
 {
-    FIXME("%p, %s, %#x, %p, %u, %p stub.\n", iface, debugstr_w(file), flags, entries, count, entries_avail);
+    FIXME("%p, %s, %#lx, %p, %lu, %p stub.\n", iface, debugstr_w(file), flags, entries, count, entries_avail);
 
     return E_NOTIMPL;
 }
@@ -2516,7 +2516,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntriesByLineWide(IDebugS
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryString(IDebugSymbols3 *iface,
         DEBUG_SYMBOL_SOURCE_ENTRY *entry, ULONG which, char *buffer, ULONG buffer_size, ULONG *string_size)
 {
-    FIXME("%p, %p, %u, %p, %u, %p stub.\n", iface, entry, which, buffer, buffer_size, string_size);
+    FIXME("%p, %p, %lu, %p, %lu, %p stub.\n", iface, entry, which, buffer, buffer_size, string_size);
 
     return E_NOTIMPL;
 }
@@ -2524,7 +2524,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryString(IDebugSymbols
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryStringWide(IDebugSymbols3 *iface,
         DEBUG_SYMBOL_SOURCE_ENTRY *entry, ULONG which, WCHAR *buffer, ULONG buffer_size, ULONG *string_size)
 {
-    FIXME("%p, %p, %u, %p, %u, %p stub.\n", iface, entry, which, buffer, buffer_size, string_size);
+    FIXME("%p, %p, %lu, %p, %lu, %p stub.\n", iface, entry, which, buffer, buffer_size, string_size);
 
     return E_NOTIMPL;
 }
@@ -2532,7 +2532,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryStringWide(IDebugSym
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryOffsetRegions(IDebugSymbols3 *iface,
         DEBUG_SYMBOL_SOURCE_ENTRY *entry, ULONG flags, DEBUG_OFFSET_REGION *regions, ULONG count, ULONG *regions_avail)
 {
-    FIXME("%p, %p, %#x, %p, %u, %p stub.\n", iface, entry, flags, regions, count, regions_avail);
+    FIXME("%p, %p, %#lx, %p, %lu, %p stub.\n", iface, entry, flags, regions, count, regions_avail);
 
     return E_NOTIMPL;
 }
@@ -2540,7 +2540,7 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryOffsetRegions(IDebug
 static HRESULT STDMETHODCALLTYPE debugsymbols_GetSourceEntryBySourceEntry(IDebugSymbols3 *iface,
         DEBUG_SYMBOL_SOURCE_ENTRY *from_entry, ULONG flags, DEBUG_SYMBOL_SOURCE_ENTRY *to_entry)
 {
-    FIXME("%p, %p, %#x, %p stub.\n", iface, from_entry, flags, to_entry);
+    FIXME("%p, %p, %#lx, %p stub.\n", iface, from_entry, flags, to_entry);
 
     return E_NOTIMPL;
 }
@@ -2707,7 +2707,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetInterrupt(IDebugControl2 *iface
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetInterrupt(IDebugControl2 *iface, ULONG flags)
 {
-    FIXME("%p, %#x stub.\n", iface, flags);
+    FIXME("%p, %#lx stub.\n", iface, flags);
 
     return E_NOTIMPL;
 }
@@ -2721,7 +2721,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetInterruptTimeout(IDebugControl2
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetInterruptTimeout(IDebugControl2 *iface, ULONG timeout)
 {
-    FIXME("%p, %u stub.\n", iface, timeout);
+    FIXME("%p, %lu stub.\n", iface, timeout);
 
     return E_NOTIMPL;
 }
@@ -2729,7 +2729,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_SetInterruptTimeout(IDebugControl2
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetLogFile(IDebugControl2 *iface, char *buffer, ULONG buffer_size,
         ULONG *file_size, BOOL *append)
 {
-    FIXME("%p, %p, %u, %p, %p stub.\n", iface, buffer, buffer_size, file_size, append);
+    FIXME("%p, %p, %lu, %p, %p stub.\n", iface, buffer, buffer_size, file_size, append);
 
     return E_NOTIMPL;
 }
@@ -2755,7 +2755,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetLogMask(IDebugControl2 *iface,
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetLogMask(IDebugControl2 *iface, ULONG mask)
 {
-    FIXME("%p, %#x stub.\n", iface, mask);
+    FIXME("%p, %#lx stub.\n", iface, mask);
 
     return E_NOTIMPL;
 }
@@ -2763,7 +2763,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_SetLogMask(IDebugControl2 *iface,
 static HRESULT STDMETHODCALLTYPE debugcontrol_Input(IDebugControl2 *iface, char *buffer, ULONG buffer_size,
         ULONG *input_size)
 {
-    FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, input_size);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, input_size);
 
     return E_NOTIMPL;
 }
@@ -2777,7 +2777,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_ReturnInput(IDebugControl2 *iface,
 
 static HRESULT STDMETHODVCALLTYPE debugcontrol_Output(IDebugControl2 *iface, ULONG mask, const char *format, ...)
 {
-    FIXME("%p, %#x, %s stub.\n", iface, mask, debugstr_a(format));
+    FIXME("%p, %#lx, %s stub.\n", iface, mask, debugstr_a(format));
 
     return E_NOTIMPL;
 }
@@ -2785,7 +2785,7 @@ static HRESULT STDMETHODVCALLTYPE debugcontrol_Output(IDebugControl2 *iface, ULO
 static HRESULT STDMETHODCALLTYPE debugcontrol_OutputVaList(IDebugControl2 *iface, ULONG mask, const char *format,
         va_list args)
 {
-    FIXME("%p, %#x, %s stub.\n", iface, mask, debugstr_a(format));
+    FIXME("%p, %#lx, %s stub.\n", iface, mask, debugstr_a(format));
 
     return E_NOTIMPL;
 }
@@ -2793,7 +2793,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_OutputVaList(IDebugControl2 *iface
 static HRESULT STDMETHODVCALLTYPE debugcontrol_ControlledOutput(IDebugControl2 *iface, ULONG output_control,
         ULONG mask, const char *format, ...)
 {
-    FIXME("%p, %u, %#x, %s stub.\n", iface, output_control, mask, debugstr_a(format));
+    FIXME("%p, %lu, %#lx, %s stub.\n", iface, output_control, mask, debugstr_a(format));
 
     return E_NOTIMPL;
 }
@@ -2801,7 +2801,7 @@ static HRESULT STDMETHODVCALLTYPE debugcontrol_ControlledOutput(IDebugControl2 *
 static HRESULT STDMETHODCALLTYPE debugcontrol_ControlledOutputVaList(IDebugControl2 *iface, ULONG output_control,
         ULONG mask, const char *format, va_list args)
 {
-    FIXME("%p, %u, %#x, %s stub.\n", iface, output_control, mask, debugstr_a(format));
+    FIXME("%p, %lu, %#lx, %s stub.\n", iface, output_control, mask, debugstr_a(format));
 
     return E_NOTIMPL;
 }
@@ -2809,7 +2809,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_ControlledOutputVaList(IDebugContr
 static HRESULT STDMETHODVCALLTYPE debugcontrol_OutputPrompt(IDebugControl2 *iface, ULONG output_control,
         const char *format, ...)
 {
-    FIXME("%p, %u, %s stub.\n", iface, output_control, debugstr_a(format));
+    FIXME("%p, %lu, %s stub.\n", iface, output_control, debugstr_a(format));
 
     return E_NOTIMPL;
 }
@@ -2817,7 +2817,7 @@ static HRESULT STDMETHODVCALLTYPE debugcontrol_OutputPrompt(IDebugControl2 *ifac
 static HRESULT STDMETHODCALLTYPE debugcontrol_OutputPromptVaList(IDebugControl2 *iface, ULONG output_control,
         const char *format, va_list args)
 {
-    FIXME("%p, %u, %s stub.\n", iface, output_control, debugstr_a(format));
+    FIXME("%p, %lu, %s stub.\n", iface, output_control, debugstr_a(format));
 
     return E_NOTIMPL;
 }
@@ -2825,7 +2825,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_OutputPromptVaList(IDebugControl2
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetPromptText(IDebugControl2 *iface, char *buffer, ULONG buffer_size,
         ULONG *text_size)
 {
-    FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, text_size);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, text_size);
 
     return E_NOTIMPL;
 }
@@ -2833,14 +2833,14 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetPromptText(IDebugControl2 *ifac
 static HRESULT STDMETHODCALLTYPE debugcontrol_OutputCurrentState(IDebugControl2 *iface, ULONG output_control,
         ULONG flags)
 {
-    FIXME("%p, %u, %#x stub.\n", iface, output_control, flags);
+    FIXME("%p, %lu, %#lx stub.\n", iface, output_control, flags);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_OutputVersionInformation(IDebugControl2 *iface, ULONG output_control)
 {
-    FIXME("%p, %u stub.\n", iface, output_control);
+    FIXME("%p, %lu stub.\n", iface, output_control);
 
     return E_NOTIMPL;
 }
@@ -2870,7 +2870,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_Assemble(IDebugControl2 *iface, UL
 static HRESULT STDMETHODCALLTYPE debugcontrol_Disassemble(IDebugControl2 *iface, ULONG64 offset, ULONG flags,
         char *buffer, ULONG buffer_size, ULONG *disassm_size, ULONG64 *end_offset)
 {
-    FIXME("%p, %s, %#x, %p, %u, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, buffer, buffer_size,
+    FIXME("%p, %s, %#lx, %p, %lu, %p, %p stub.\n", iface, wine_dbgstr_longlong(offset), flags, buffer, buffer_size,
             disassm_size, end_offset);
 
     return E_NOTIMPL;
@@ -2886,7 +2886,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetDisassembleEffectiveOffset(IDeb
 static HRESULT STDMETHODCALLTYPE debugcontrol_OutputDisassembly(IDebugControl2 *iface, ULONG output_control,
         ULONG64 offset, ULONG flags, ULONG64 *end_offset)
 {
-    FIXME("%p, %u, %s, %#x, %p stub.\n", iface, output_control, wine_dbgstr_longlong(offset), flags, end_offset);
+    FIXME("%p, %lu, %s, %#lx, %p stub.\n", iface, output_control, wine_dbgstr_longlong(offset), flags, end_offset);
 
     return E_NOTIMPL;
 }
@@ -2895,7 +2895,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_OutputDisassemblyLines(IDebugContr
         ULONG prev_lines, ULONG total_lines, ULONG64 offset, ULONG flags, ULONG *offset_line, ULONG64 *start_offset,
         ULONG64 *end_offset, ULONG64 *line_offsets)
 {
-    FIXME("%p, %u, %u, %u, %s, %#x, %p, %p, %p, %p stub.\n", iface, output_control, prev_lines, total_lines,
+    FIXME("%p, %lu, %lu, %lu, %s, %#lx, %p, %p, %p, %p stub.\n", iface, output_control, prev_lines, total_lines,
             wine_dbgstr_longlong(offset), flags, offset_line, start_offset, end_offset, line_offsets);
 
     return E_NOTIMPL;
@@ -2904,7 +2904,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_OutputDisassemblyLines(IDebugContr
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetNearInstruction(IDebugControl2 *iface, ULONG64 offset, LONG delta,
         ULONG64 *instr_offset)
 {
-    FIXME("%p, %s, %d, %p stub.\n", iface, wine_dbgstr_longlong(offset), delta, instr_offset);
+    FIXME("%p, %s, %ld, %p stub.\n", iface, wine_dbgstr_longlong(offset), delta, instr_offset);
 
     return E_NOTIMPL;
 }
@@ -2912,7 +2912,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetNearInstruction(IDebugControl2
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetStackTrace(IDebugControl2 *iface, ULONG64 frame_offset,
         ULONG64 stack_offset, ULONG64 instr_offset, DEBUG_STACK_FRAME *frames, ULONG frames_size, ULONG *frames_filled)
 {
-    FIXME("%p, %s, %s, %s, %p, %u, %p stub.\n", iface, wine_dbgstr_longlong(frame_offset),
+    FIXME("%p, %s, %s, %s, %p, %lu, %p stub.\n", iface, wine_dbgstr_longlong(frame_offset),
             wine_dbgstr_longlong(stack_offset), wine_dbgstr_longlong(instr_offset), frames, frames_size, frames_filled);
 
     return E_NOTIMPL;
@@ -2928,7 +2928,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetReturnOffset(IDebugControl2 *if
 static HRESULT STDMETHODCALLTYPE debugcontrol_OutputStackTrace(IDebugControl2 *iface, ULONG output_control,
         DEBUG_STACK_FRAME *frames, ULONG frames_size, ULONG flags)
 {
-    FIXME("%p, %u, %p, %u, %#x stub.\n", iface, output_control, frames, frames_size, flags);
+    FIXME("%p, %lu, %p, %lu, %#lx stub.\n", iface, output_control, frames, frames_size, flags);
 
     return E_NOTIMPL;
 }
@@ -2990,7 +2990,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberPossibleExecutingProcesso
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetPossibleExecutingProcessorTypes(IDebugControl2 *iface, ULONG start,
         ULONG count, ULONG *types)
 {
-    FIXME("%p, %u, %u, %p stub.\n", iface, start, count, types);
+    FIXME("%p, %lu, %lu, %p stub.\n", iface, start, count, types);
 
     return E_NOTIMPL;
 }
@@ -3006,7 +3006,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetSystemVersion(IDebugControl2 *i
         ULONG *minor, char *sp_string, ULONG sp_string_size, ULONG *sp_string_used, ULONG *sp_number,
         char *build_string, ULONG build_string_size, ULONG *build_string_used)
 {
-    FIXME("%p, %p, %p, %p, %p, %u, %p, %p, %p, %u, %p stub.\n", iface, platform_id, major, minor, sp_string,
+    FIXME("%p, %p, %p, %p, %p, %lu, %p, %p, %p, %lu, %p stub.\n", iface, platform_id, major, minor, sp_string,
             sp_string_size, sp_string_used, sp_number, build_string, build_string_size, build_string_used);
 
     return E_NOTIMPL;
@@ -3045,7 +3045,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_IsPointer64Bit(IDebugControl2 *ifa
             hr = S_OK;
             break;
         default:
-            FIXME("Unexpected cpu type %#x.\n", target->cpu_type);
+            FIXME("Unexpected cpu type %#lx.\n", target->cpu_type);
             hr = E_UNEXPECTED;
     }
 
@@ -3070,7 +3070,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberSupportedProcessorTypes(I
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetSupportedProcessorTypes(IDebugControl2 *iface, ULONG start,
         ULONG count, ULONG *types)
 {
-    FIXME("%p, %u, %u, %p stub.\n", iface, start, count, types);
+    FIXME("%p, %lu, %lu, %p stub.\n", iface, start, count, types);
 
     return E_NOTIMPL;
 }
@@ -3079,7 +3079,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetProcessorTypeNames(IDebugContro
         ULONG full_name_buffer_size, ULONG *full_name_size, char *abbrev_name, ULONG abbrev_name_buffer_size,
         ULONG *abbrev_name_size)
 {
-    FIXME("%p, %u, %p, %u, %p, %p, %u, %p stub.\n", iface, type, full_name, full_name_buffer_size, full_name_size,
+    FIXME("%p, %lu, %p, %lu, %p, %p, %lu, %p stub.\n", iface, type, full_name, full_name_buffer_size, full_name_size,
             abbrev_name, abbrev_name_buffer_size, abbrev_name_size);
 
     return E_NOTIMPL;
@@ -3094,7 +3094,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetEffectiveProcessorType(IDebugCo
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetEffectiveProcessorType(IDebugControl2 *iface, ULONG type)
 {
-    FIXME("%p, %u stub.\n", iface, type);
+    FIXME("%p, %lu stub.\n", iface, type);
 
     return E_NOTIMPL;
 }
@@ -3108,7 +3108,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetExecutionStatus(IDebugControl2
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetExecutionStatus(IDebugControl2 *iface, ULONG status)
 {
-    FIXME("%p, %u stub.\n", iface, status);
+    FIXME("%p, %lu stub.\n", iface, status);
 
     return E_NOTIMPL;
 }
@@ -3122,7 +3122,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetCodeLevel(IDebugControl2 *iface
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetCodeLevel(IDebugControl2 *iface, ULONG level)
 {
-    FIXME("%p, %u stub.\n", iface, level);
+    FIXME("%p, %lu stub.\n", iface, level);
 
     return E_NOTIMPL;
 }
@@ -3142,7 +3142,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_AddEngineOptions(IDebugControl2 *i
 {
     struct debug_client *debug_client = impl_from_IDebugControl2(iface);
 
-    TRACE("%p, %#x.\n", iface, options);
+    TRACE("%p, %#lx.\n", iface, options);
 
     if (options & ~DEBUG_ENGOPT_ALL)
         return E_INVALIDARG;
@@ -3156,7 +3156,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_RemoveEngineOptions(IDebugControl2
 {
     struct debug_client *debug_client = impl_from_IDebugControl2(iface);
 
-    TRACE("%p, %#x.\n", iface, options);
+    TRACE("%p, %#lx.\n", iface, options);
 
     debug_client->engine_options &= ~options;
 
@@ -3167,7 +3167,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_SetEngineOptions(IDebugControl2 *i
 {
     struct debug_client *debug_client = impl_from_IDebugControl2(iface);
 
-    TRACE("%p, %#x.\n", iface, options);
+    TRACE("%p, %#lx.\n", iface, options);
 
     if (options & ~DEBUG_ENGOPT_ALL)
         return E_INVALIDARG;
@@ -3188,7 +3188,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetSystemErrorControl(IDebugContro
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetSystemErrorControl(IDebugControl2 *iface, ULONG output_level,
         ULONG break_level)
 {
-    FIXME("%p, %u, %u stub.\n", iface, output_level, break_level);
+    FIXME("%p, %lu, %lu stub.\n", iface, output_level, break_level);
 
     return E_NOTIMPL;
 }
@@ -3196,14 +3196,14 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_SetSystemErrorControl(IDebugContro
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetTextMacro(IDebugControl2 *iface, ULONG slot, char *buffer,
         ULONG buffer_size, ULONG *macro_size)
 {
-    FIXME("%p, %u, %p, %u, %p stub.\n", iface, slot, buffer, buffer_size, macro_size);
+    FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, slot, buffer, buffer_size, macro_size);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetTextMacro(IDebugControl2 *iface, ULONG slot, const char *macro)
 {
-    FIXME("%p, %u, %s stub.\n", iface, slot, debugstr_a(macro));
+    FIXME("%p, %lu, %s stub.\n", iface, slot, debugstr_a(macro));
 
     return E_NOTIMPL;
 }
@@ -3217,7 +3217,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetRadix(IDebugControl2 *iface, UL
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetRadix(IDebugControl2 *iface, ULONG radix)
 {
-    FIXME("%p, %u stub.\n", iface, radix);
+    FIXME("%p, %lu stub.\n", iface, radix);
 
     return E_NOTIMPL;
 }
@@ -3225,7 +3225,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_SetRadix(IDebugControl2 *iface, UL
 static HRESULT STDMETHODCALLTYPE debugcontrol_Evaluate(IDebugControl2 *iface, const char *expression,
         ULONG desired_type, DEBUG_VALUE *value, ULONG *remainder_index)
 {
-    FIXME("%p, %s, %u, %p, %p stub.\n", iface, debugstr_a(expression), desired_type, value, remainder_index);
+    FIXME("%p, %s, %lu, %p, %p stub.\n", iface, debugstr_a(expression), desired_type, value, remainder_index);
 
     return E_NOTIMPL;
 }
@@ -3233,7 +3233,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_Evaluate(IDebugControl2 *iface, co
 static HRESULT STDMETHODCALLTYPE debugcontrol_CoerceValue(IDebugControl2 *iface, DEBUG_VALUE input, ULONG output_type,
         DEBUG_VALUE *output)
 {
-    FIXME("%p, %u, %p stub.\n", iface, output_type, output);
+    FIXME("%p, %lu, %p stub.\n", iface, output_type, output);
 
     return E_NOTIMPL;
 }
@@ -3241,7 +3241,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_CoerceValue(IDebugControl2 *iface,
 static HRESULT STDMETHODCALLTYPE debugcontrol_CoerceValues(IDebugControl2 *iface, ULONG count, DEBUG_VALUE *input,
         ULONG *output_types, DEBUG_VALUE *output)
 {
-    FIXME("%p, %u, %p, %p, %p stub.\n", iface, count, input, output_types, output);
+    FIXME("%p, %lu, %p, %p, %p stub.\n", iface, count, input, output_types, output);
 
     return E_NOTIMPL;
 }
@@ -3249,7 +3249,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_CoerceValues(IDebugControl2 *iface
 static HRESULT STDMETHODCALLTYPE debugcontrol_Execute(IDebugControl2 *iface, ULONG output_control, const char *command,
         ULONG flags)
 {
-    FIXME("%p, %u, %s, %#x stub.\n", iface, output_control, debugstr_a(command), flags);
+    FIXME("%p, %lu, %s, %#lx stub.\n", iface, output_control, debugstr_a(command), flags);
 
     return E_NOTIMPL;
 }
@@ -3257,7 +3257,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_Execute(IDebugControl2 *iface, ULO
 static HRESULT STDMETHODCALLTYPE debugcontrol_ExecuteCommandFile(IDebugControl2 *iface, ULONG output_control,
         const char *command_file, ULONG flags)
 {
-    FIXME("%p, %u, %s, %#x stub.\n", iface, output_control, debugstr_a(command_file), flags);
+    FIXME("%p, %lu, %s, %#lx stub.\n", iface, output_control, debugstr_a(command_file), flags);
 
     return E_NOTIMPL;
 }
@@ -3272,14 +3272,14 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberBreakpoints(IDebugControl
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointByIndex(IDebugControl2 *iface, ULONG index,
         IDebugBreakpoint **bp)
 {
-    FIXME("%p, %u, %p stub.\n", iface, index, bp);
+    FIXME("%p, %lu, %p stub.\n", iface, index, bp);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointById(IDebugControl2 *iface, ULONG id, IDebugBreakpoint **bp)
 {
-    FIXME("%p, %u, %p stub.\n", iface, id, bp);
+    FIXME("%p, %lu, %p stub.\n", iface, id, bp);
 
     return E_NOTIMPL;
 }
@@ -3287,7 +3287,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointById(IDebugControl2 *
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointParameters(IDebugControl2 *iface, ULONG count, ULONG *ids,
         ULONG start, DEBUG_BREAKPOINT_PARAMETERS *parameters)
 {
-    FIXME("%p, %u, %p, %u, %p stub.\n", iface, count, ids, start, parameters);
+    FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, count, ids, start, parameters);
 
     return E_NOTIMPL;
 }
@@ -3295,7 +3295,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetBreakpointParameters(IDebugCont
 static HRESULT STDMETHODCALLTYPE debugcontrol_AddBreakpoint(IDebugControl2 *iface, ULONG type, ULONG desired_id,
         IDebugBreakpoint **bp)
 {
-    FIXME("%p, %u, %u, %p stub.\n", iface, type, desired_id, bp);
+    FIXME("%p, %lu, %lu, %p stub.\n", iface, type, desired_id, bp);
 
     return E_NOTIMPL;
 }
@@ -3310,7 +3310,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_RemoveBreakpoint(IDebugControl2 *i
 static HRESULT STDMETHODCALLTYPE debugcontrol_AddExtension(IDebugControl2 *iface, const char *path, ULONG flags,
         ULONG64 *handle)
 {
-    FIXME("%p, %s, %#x, %p stub.\n", iface, debugstr_a(path), flags, handle);
+    FIXME("%p, %s, %#lx, %p stub.\n", iface, debugstr_a(path), flags, handle);
 
     return E_NOTIMPL;
 }
@@ -3373,7 +3373,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberEventFilters(IDebugContro
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetEventFilterText(IDebugControl2 *iface, ULONG index, char *buffer,
         ULONG buffer_size, ULONG *text_size)
 {
-    FIXME("%p, %u, %p, %u, %p stub.\n", iface, index, buffer, buffer_size, text_size);
+    FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, text_size);
 
     return E_NOTIMPL;
 }
@@ -3381,7 +3381,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetEventFilterText(IDebugControl2
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetEventFilterCommand(IDebugControl2 *iface, ULONG index, char *buffer,
         ULONG buffer_size, ULONG *command_size)
 {
-    FIXME("%p, %u, %p, %u, %p stub.\n", iface, index, buffer, buffer_size, command_size);
+    FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, command_size);
 
     return E_NOTIMPL;
 }
@@ -3389,7 +3389,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetEventFilterCommand(IDebugContro
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetEventFilterCommand(IDebugControl2 *iface, ULONG index,
         const char *command)
 {
-    FIXME("%p, %u, %s stub.\n", iface, index, debugstr_a(command));
+    FIXME("%p, %lu, %s stub.\n", iface, index, debugstr_a(command));
 
     return E_NOTIMPL;
 }
@@ -3397,7 +3397,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_SetEventFilterCommand(IDebugContro
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetSpecificFilterParameters(IDebugControl2 *iface, ULONG start,
         ULONG count, DEBUG_SPECIFIC_FILTER_PARAMETERS *parameters)
 {
-    FIXME("%p, %u, %u, %p stub.\n", iface, start, count, parameters);
+    FIXME("%p, %lu, %lu, %p stub.\n", iface, start, count, parameters);
 
     return E_NOTIMPL;
 }
@@ -3405,7 +3405,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetSpecificFilterParameters(IDebug
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetSpecificFilterParameters(IDebugControl2 *iface, ULONG start,
         ULONG count, DEBUG_SPECIFIC_FILTER_PARAMETERS *parameters)
 {
-    FIXME("%p, %u, %u, %p stub.\n", iface, start, count, parameters);
+    FIXME("%p, %lu, %lu, %p stub.\n", iface, start, count, parameters);
 
     return E_NOTIMPL;
 }
@@ -3413,7 +3413,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_SetSpecificFilterParameters(IDebug
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetSpecificFilterArgument(IDebugControl2 *iface, ULONG index,
         char *buffer, ULONG buffer_size, ULONG *argument_size)
 {
-    FIXME("%p, %u, %p, %u, %p stub.\n", iface, index, buffer, buffer_size, argument_size);
+    FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, argument_size);
 
     return E_NOTIMPL;
 }
@@ -3421,7 +3421,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetSpecificFilterArgument(IDebugCo
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetSpecificFilterArgument(IDebugControl2 *iface, ULONG index,
         const char *argument)
 {
-    FIXME("%p, %u, %s stub.\n", iface, index, debugstr_a(argument));
+    FIXME("%p, %lu, %s stub.\n", iface, index, debugstr_a(argument));
 
     return E_NOTIMPL;
 }
@@ -3429,7 +3429,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_SetSpecificFilterArgument(IDebugCo
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetExceptionFilterParameters(IDebugControl2 *iface, ULONG count,
         ULONG *codes, ULONG start, DEBUG_EXCEPTION_FILTER_PARAMETERS *parameters)
 {
-    FIXME("%p, %u, %p, %u, %p stub.\n", iface, count, codes, start, parameters);
+    FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, count, codes, start, parameters);
 
     return E_NOTIMPL;
 }
@@ -3437,7 +3437,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetExceptionFilterParameters(IDebu
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetExceptionFilterParameters(IDebugControl2 *iface, ULONG count,
         DEBUG_EXCEPTION_FILTER_PARAMETERS *parameters)
 {
-    FIXME("%p, %u, %p stub.\n", iface, count, parameters);
+    FIXME("%p, %lu, %p stub.\n", iface, count, parameters);
 
     return E_NOTIMPL;
 }
@@ -3445,7 +3445,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_SetExceptionFilterParameters(IDebu
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetExceptionFilterSecondCommand(IDebugControl2 *iface, ULONG index,
         char *buffer, ULONG buffer_size, ULONG *command_size)
 {
-    FIXME("%p, %u, %p, %u, %p stub.\n", iface, index, buffer, buffer_size, command_size);
+    FIXME("%p, %lu, %p, %lu, %p stub.\n", iface, index, buffer, buffer_size, command_size);
 
     return E_NOTIMPL;
 }
@@ -3453,7 +3453,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetExceptionFilterSecondCommand(ID
 static HRESULT STDMETHODCALLTYPE debugcontrol_SetExceptionFilterSecondCommand(IDebugControl2 *iface, ULONG index,
         const char *command)
 {
-    FIXME("%p, %u, %s stub.\n", iface, index, debugstr_a(command));
+    FIXME("%p, %lu, %s stub.\n", iface, index, debugstr_a(command));
 
     return E_NOTIMPL;
 }
@@ -3463,7 +3463,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_WaitForEvent(IDebugControl2 *iface
     struct debug_client *debug_client = impl_from_IDebugControl2(iface);
     struct target_process *target;
 
-    TRACE("%p, %#x, %u.\n", iface, flags, timeout);
+    TRACE("%p, %#lx, %lu.\n", iface, flags, timeout);
 
     /* FIXME: only one target is used currently */
 
@@ -3490,7 +3490,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_WaitForEvent(IDebugControl2 *iface
         {
             status = NtSuspendProcess(target->handle);
             if (status)
-                WARN("Failed to suspend a process, status %#x.\n", status);
+                WARN("Failed to suspend a process, status %#lx.\n", status);
         }
 
         return S_OK;
@@ -3507,7 +3507,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetLastEventInformation(IDebugCont
         ULONG *tid, void *extra_info, ULONG extra_info_size, ULONG *extra_info_used, char *description,
         ULONG desc_size, ULONG *desc_used)
 {
-    FIXME("%p, %p, %p, %p, %p, %u, %p, %p, %u, %p stub.\n", iface, type, pid, tid, extra_info, extra_info_size,
+    FIXME("%p, %p, %p, %p, %p, %lu, %p, %p, %lu, %p stub.\n", iface, type, pid, tid, extra_info, extra_info_size,
             extra_info_used, description, desc_size, desc_used);
 
     return E_NOTIMPL;
@@ -3515,14 +3515,14 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetLastEventInformation(IDebugCont
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetCurrentTimeDate(IDebugControl2 *iface, ULONG timedate)
 {
-    FIXME("%p, %u stub.\n", iface, timedate);
+    FIXME("%p, %lu stub.\n", iface, timedate);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugcontrol_GetCurrentSystemUpTime(IDebugControl2 *iface, ULONG uptime)
 {
-    FIXME("%p, %u stub.\n", iface, uptime);
+    FIXME("%p, %lu stub.\n", iface, uptime);
 
     return E_NOTIMPL;
 }
@@ -3545,7 +3545,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_GetNumberTextReplacement(IDebugCon
         ULONG index, char *src_buffer, ULONG src_buffer_size, ULONG *src_size, char *dst_buffer,
         ULONG dst_buffer_size, ULONG *dst_size)
 {
-    FIXME("%p, %s, %u, %p, %u, %p, %p, %u, %p stub.\n", iface, debugstr_a(src_text), index, src_buffer,
+    FIXME("%p, %s, %lu, %p, %lu, %p, %p, %lu, %p stub.\n", iface, debugstr_a(src_text), index, src_buffer,
             src_buffer_size, src_size, dst_buffer, dst_buffer_size, dst_size);
 
     return E_NOTIMPL;
@@ -3569,7 +3569,7 @@ static HRESULT STDMETHODCALLTYPE debugcontrol_RemoveTextReplacements(IDebugContr
 static HRESULT STDMETHODCALLTYPE debugcontrol_OutputTextReplacements(IDebugControl2 *iface, ULONG output_control,
         ULONG flags)
 {
-    FIXME("%p, %u, %#x stub.\n", iface, output_control, flags);
+    FIXME("%p, %lu, %#lx stub.\n", iface, output_control, flags);
 
     return E_NOTIMPL;
 }
@@ -3705,7 +3705,7 @@ static ULONG STDMETHODCALLTYPE debugadvanced_Release(IDebugAdvanced *iface)
 static HRESULT STDMETHODCALLTYPE debugadvanced_GetThreadContext(IDebugAdvanced *iface, void *context,
         ULONG context_size)
 {
-    FIXME("%p, %p, %u stub.\n", iface, context, context_size);
+    FIXME("%p, %p, %lu stub.\n", iface, context, context_size);
 
     return E_NOTIMPL;
 }
@@ -3713,7 +3713,7 @@ static HRESULT STDMETHODCALLTYPE debugadvanced_GetThreadContext(IDebugAdvanced *
 static HRESULT STDMETHODCALLTYPE debugadvanced_SetThreadContext(IDebugAdvanced *iface, void *context,
         ULONG context_size)
 {
-    FIXME("%p, %p, %u stub.\n", iface, context, context_size);
+    FIXME("%p, %p, %lu stub.\n", iface, context, context_size);
 
     return E_NOTIMPL;
 }
@@ -3773,14 +3773,14 @@ static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentThreadId(IDebugSys
 
 static HRESULT STDMETHODCALLTYPE debugsystemobjects_SetCurrentThreadId(IDebugSystemObjects *iface, ULONG id)
 {
-    FIXME("%p, %u stub.\n", iface, id);
+    FIXME("%p, %lu stub.\n", iface, id);
 
     return E_NOTIMPL;
 }
 
 static HRESULT STDMETHODCALLTYPE debugsystemobjects_SetCurrentProcessId(IDebugSystemObjects *iface, ULONG id)
 {
-    FIXME("%p, %u stub.\n", iface, id);
+    FIXME("%p, %lu stub.\n", iface, id);
 
     return E_NOTIMPL;
 }
@@ -3803,7 +3803,7 @@ static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetTotalNumberThreads(IDebug
 static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetThreadIdsByIndex(IDebugSystemObjects *iface, ULONG start,
         ULONG count, ULONG *ids, ULONG *sysids)
 {
-    FIXME("%p, %u, %u, %p, %p stub.\n", iface, start, count, ids, sysids);
+    FIXME("%p, %lu, %lu, %p, %p stub.\n", iface, start, count, ids, sysids);
 
     return E_NOTIMPL;
 }
@@ -3811,7 +3811,7 @@ static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetThreadIdsByIndex(IDebugSy
 static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetThreadIdByProcessor(IDebugSystemObjects *iface, ULONG processor,
         ULONG *id)
 {
-    FIXME("%p, %u, %p stub.\n", iface, processor, id);
+    FIXME("%p, %lu, %p stub.\n", iface, processor, id);
 
     return E_NOTIMPL;
 }
@@ -3857,7 +3857,7 @@ static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentThreadSystemId(IDe
 static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetThreadIdBySystemId(IDebugSystemObjects *iface, ULONG sysid,
         ULONG *id)
 {
-    FIXME("%p, %u, %p stub.\n", iface, sysid, id);
+    FIXME("%p, %lu, %p stub.\n", iface, sysid, id);
 
     return E_NOTIMPL;
 }
@@ -3887,7 +3887,7 @@ static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetNumberProcesses(IDebugSys
 static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetProcessIdsByIndex(IDebugSystemObjects *iface, ULONG start,
         ULONG count, ULONG *ids, ULONG *sysids)
 {
-    FIXME("%p, %u, %u, %p, %p stub.\n", iface, start, count, ids, sysids);
+    FIXME("%p, %lu, %lu, %p, %p stub.\n", iface, start, count, ids, sysids);
 
     return E_NOTIMPL;
 }
@@ -3933,7 +3933,7 @@ static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentProcessSystemId(ID
 static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetProcessIdBySystemId(IDebugSystemObjects *iface, ULONG sysid,
         ULONG *id)
 {
-    FIXME("%p, %u, %p stub.\n", iface, sysid, id);
+    FIXME("%p, %lu, %p stub.\n", iface, sysid, id);
 
     return E_NOTIMPL;
 }
@@ -3957,7 +3957,7 @@ static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetProcessIdByHandle(IDebugS
 static HRESULT STDMETHODCALLTYPE debugsystemobjects_GetCurrentProcessExecutableName(IDebugSystemObjects *iface,
         char *buffer, ULONG buffer_size, ULONG *exe_size)
 {
-    FIXME("%p, %p, %u, %p stub.\n", iface, buffer, buffer_size, exe_size);
+    FIXME("%p, %p, %lu, %p stub.\n", iface, buffer, buffer_size, exe_size);
 
     return E_NOTIMPL;
 }
@@ -4059,7 +4059,7 @@ HRESULT WINAPI DebugCreate(REFIID riid, void **obj)
 */
 HRESULT WINAPI DebugCreateEx(REFIID riid, DWORD flags, void **obj)
 {
-    FIXME("(%s, %#x, %p): stub\n", debugstr_guid(riid), flags, obj);
+    FIXME("%s, %#lx, %p: stub\n", debugstr_guid(riid), flags, obj);
 
     return E_NOTIMPL;
 }
-- 
2.34.1




More information about the wine-devel mailing list