[PATCH 20/28] dlls/sapi: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Thu Feb 17 00:12:21 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 dlls/sapi/Makefile.in  |    1 -
 dlls/sapi/automation.c |   26 +++++++++++++-------------
 dlls/sapi/resource.c   |    4 ++--
 dlls/sapi/stream.c     |   18 +++++++++---------
 dlls/sapi/token.c      |   20 ++++++++++----------
 dlls/sapi/tts.c        |   48 ++++++++++++++++++++++++------------------------
 6 files changed, 58 insertions(+), 59 deletions(-)

diff --git a/dlls/sapi/Makefile.in b/dlls/sapi/Makefile.in
index e61773fb12a..e0f9a8cdd07 100644
--- a/dlls/sapi/Makefile.in
+++ b/dlls/sapi/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = sapi.dll
 IMPORTS   = uuid ole32 user32 advapi32
 
diff --git a/dlls/sapi/automation.c b/dlls/sapi/automation.c
index 7a9fa17f8f1..8a0e0203198 100644
--- a/dlls/sapi/automation.c
+++ b/dlls/sapi/automation.c
@@ -81,7 +81,7 @@ static ULONG WINAPI file_stream_AddRef(ISpeechFileStream *iface)
     struct file_stream *This = impl_from_ISpeechFileStream(iface);
     ULONG ref = InterlockedIncrement(&This->ref);
 
-    TRACE("(%p): ref=%u.\n", iface, ref);
+    TRACE("(%p): ref=%lu.\n", iface, ref);
 
     return ref;
 }
@@ -91,7 +91,7 @@ static ULONG WINAPI file_stream_Release(ISpeechFileStream *iface)
     struct file_stream *This = impl_from_ISpeechFileStream(iface);
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE("(%p): ref=%u.\n", iface, ref);
+    TRACE("(%p): ref=%lu.\n", iface, ref);
 
     if (!ref)
     {
@@ -111,7 +111,7 @@ static HRESULT WINAPI file_stream_GetTypeInfoCount(ISpeechFileStream *iface, UIN
 static HRESULT WINAPI file_stream_GetTypeInfo(ISpeechFileStream *iface, UINT info, LCID lcid,
                                               ITypeInfo **type_info)
 {
-    FIXME("(%p, %u, %u, %p): stub.\n", iface, info, lcid, type_info);
+    FIXME("(%p, %u, %lu, %p): stub.\n", iface, info, lcid, type_info);
 
     return E_NOTIMPL;
 }
@@ -119,7 +119,7 @@ static HRESULT WINAPI file_stream_GetTypeInfo(ISpeechFileStream *iface, UINT inf
 static HRESULT WINAPI file_stream_GetIDsOfNames(ISpeechFileStream *iface, REFIID riid, LPOLESTR *names,
                                                 UINT count, LCID lcid, DISPID *dispid)
 {
-    FIXME("(%p, %s, %p, %u, %u, %p): stub.\n", iface, debugstr_guid(riid), names, count, lcid, dispid);
+    FIXME("(%p, %s, %p, %u, %lu, %p): stub.\n", iface, debugstr_guid(riid), names, count, lcid, dispid);
 
     return E_NOTIMPL;
 }
@@ -128,7 +128,7 @@ static HRESULT WINAPI file_stream_Invoke(ISpeechFileStream *iface, DISPID dispid
                                          WORD flags, DISPPARAMS *params, VARIANT *result,
                                          EXCEPINFO *excepinfo, UINT *argerr)
 {
-    FIXME("(%p, %d, %s, %#x, %#x, %p, %p, %p, %p): stub.\n", iface, dispid, debugstr_guid(riid),
+    FIXME("(%p, %ld, %s, %#lx, %#x, %p, %p, %p, %p): stub.\n", iface, dispid, debugstr_guid(riid),
           lcid, flags, params, result, excepinfo, argerr);
 
     return E_NOTIMPL;
@@ -150,7 +150,7 @@ static HRESULT WINAPI file_stream_putref_Format(ISpeechFileStream *iface, ISpeec
 
 static HRESULT WINAPI file_stream_Read(ISpeechFileStream *iface, VARIANT *buffer, LONG written, LONG *read)
 {
-    FIXME("(%p, %p, %d, %p): stub.\n", iface, buffer, written, read);
+    FIXME("(%p, %p, %ld, %p): stub.\n", iface, buffer, written, read);
 
     return E_NOTIMPL;
 }
@@ -232,21 +232,21 @@ static ULONG WINAPI spstream_Release(ISpStream *iface)
 
 static HRESULT WINAPI spstream_Read(ISpStream *iface, void *pv, ULONG cb, ULONG *read)
 {
-    FIXME("(%p, %p, %d, %p): stub.\n", iface, pv, cb, read);
+    FIXME("(%p, %p, %ld, %p): stub.\n", iface, pv, cb, read);
 
     return E_NOTIMPL;
 }
 
 static HRESULT WINAPI spstream_Write(ISpStream *iface, const void *pv, ULONG cb, ULONG *written)
 {
-    FIXME("(%p, %p, %d, %p): stub.\n", iface, pv, cb, written);
+    FIXME("(%p, %p, %ld, %p): stub.\n", iface, pv, cb, written);
 
     return E_NOTIMPL;
 }
 
 static HRESULT WINAPI spstream_Seek(ISpStream *iface, LARGE_INTEGER mode, DWORD origin, ULARGE_INTEGER *position)
 {
-    FIXME("(%p, %s, %d, %p): stub.\n", iface, wine_dbgstr_longlong(mode.QuadPart), origin, position);
+    FIXME("(%p, %s, %ld, %p): stub.\n", iface, wine_dbgstr_longlong(mode.QuadPart), origin, position);
 
     return E_NOTIMPL;
 }
@@ -269,7 +269,7 @@ static HRESULT WINAPI spstream_CopyTo(ISpStream *iface, IStream *stream, ULARGE_
 
 static HRESULT WINAPI spstream_Commit(ISpStream *iface, DWORD flag)
 {
-    FIXME("(%p, %d): stub.\n", iface, flag);
+    FIXME("(%p, %ld): stub.\n", iface, flag);
 
     return E_NOTIMPL;
 }
@@ -283,7 +283,7 @@ static HRESULT WINAPI spstream_Revert(ISpStream *iface)
 
 static HRESULT WINAPI spstream_LockRegion(ISpStream *iface, ULARGE_INTEGER offset, ULARGE_INTEGER cb, DWORD type)
 {
-    FIXME("(%p, %s, %s, %d): stub.\n", iface, wine_dbgstr_longlong(offset.QuadPart),
+    FIXME("(%p, %s, %s, %ld): stub.\n", iface, wine_dbgstr_longlong(offset.QuadPart),
           wine_dbgstr_longlong(cb.QuadPart), type);
 
     return E_NOTIMPL;
@@ -291,7 +291,7 @@ static HRESULT WINAPI spstream_LockRegion(ISpStream *iface, ULARGE_INTEGER offse
 
 static HRESULT WINAPI spstream_UnlockRegion(ISpStream *iface, ULARGE_INTEGER offset, ULARGE_INTEGER cb, DWORD type)
 {
-    FIXME("(%p, %s, %s, %d): stub.\n", iface, wine_dbgstr_longlong(offset.QuadPart),
+    FIXME("(%p, %s, %s, %ld): stub.\n", iface, wine_dbgstr_longlong(offset.QuadPart),
           wine_dbgstr_longlong(cb.QuadPart), type);
 
     return E_NOTIMPL;
@@ -299,7 +299,7 @@ static HRESULT WINAPI spstream_UnlockRegion(ISpStream *iface, ULARGE_INTEGER off
 
 static HRESULT WINAPI spstream_Stat(ISpStream *iface, STATSTG *statstg, DWORD flag)
 {
-    FIXME("(%p, %p, %d): stub.\n", iface, statstg, flag);
+    FIXME("(%p, %p, %ld): stub.\n", iface, statstg, flag);
 
     return E_NOTIMPL;
 }
diff --git a/dlls/sapi/resource.c b/dlls/sapi/resource.c
index 85d4430f8ad..8db833b3b39 100644
--- a/dlls/sapi/resource.c
+++ b/dlls/sapi/resource.c
@@ -70,7 +70,7 @@ static ULONG WINAPI resource_manager_AddRef(ISpResourceManager *iface)
     struct resource_manager *This = impl_from_ISpResourceManager(iface);
     ULONG ref = InterlockedIncrement(&This->ref);
 
-    TRACE("(%p): ref=%u.\n", iface, ref);
+    TRACE("(%p): ref=%lu.\n", iface, ref);
 
     return ref;
 }
@@ -80,7 +80,7 @@ static ULONG WINAPI resource_manager_Release(ISpResourceManager *iface)
     struct resource_manager *This = impl_from_ISpResourceManager(iface);
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE("(%p): ref=%u.\n", iface, ref);
+    TRACE("(%p): ref=%lu.\n", iface, ref);
 
     if (!ref)
     {
diff --git a/dlls/sapi/stream.c b/dlls/sapi/stream.c
index 06ba4367b48..6df2768b5cc 100644
--- a/dlls/sapi/stream.c
+++ b/dlls/sapi/stream.c
@@ -70,7 +70,7 @@ static ULONG WINAPI spstream_AddRef(ISpStream *iface)
     struct spstream *This = impl_from_ISpStream(iface);
     ULONG ref = InterlockedIncrement(&This->ref);
 
-    TRACE("(%p): ref=%u.\n", iface, ref);
+    TRACE("(%p): ref=%lu.\n", iface, ref);
 
     return ref;
 }
@@ -80,7 +80,7 @@ static ULONG WINAPI spstream_Release(ISpStream *iface)
     struct spstream *This = impl_from_ISpStream(iface);
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE("(%p): ref=%u.\n", iface, ref);
+    TRACE("(%p): ref=%lu.\n", iface, ref);
 
     if (!ref)
     {
@@ -92,21 +92,21 @@ static ULONG WINAPI spstream_Release(ISpStream *iface)
 
 static HRESULT WINAPI spstream_Read(ISpStream *iface, void *pv, ULONG cb, ULONG *read)
 {
-    FIXME("(%p, %p, %d, %p): stub.\n", iface, pv, cb, read);
+    FIXME("(%p, %p, %ld, %p): stub.\n", iface, pv, cb, read);
 
     return E_NOTIMPL;
 }
 
 static HRESULT WINAPI spstream_Write(ISpStream *iface, const void *pv, ULONG cb, ULONG *written)
 {
-    FIXME("(%p, %p, %d, %p): stub.\n", iface, pv, cb, written);
+    FIXME("(%p, %p, %ld, %p): stub.\n", iface, pv, cb, written);
 
     return E_NOTIMPL;
 }
 
 static HRESULT WINAPI spstream_Seek(ISpStream *iface, LARGE_INTEGER mode, DWORD origin, ULARGE_INTEGER *position)
 {
-    FIXME("(%p, %s, %d, %p): stub.\n", iface, wine_dbgstr_longlong(mode.QuadPart), origin, position);
+    FIXME("(%p, %s, %ld, %p): stub.\n", iface, wine_dbgstr_longlong(mode.QuadPart), origin, position);
 
     return E_NOTIMPL;
 }
@@ -129,7 +129,7 @@ static HRESULT WINAPI spstream_CopyTo(ISpStream *iface, IStream *stream, ULARGE_
 
 static HRESULT WINAPI spstream_Commit(ISpStream *iface, DWORD flag)
 {
-    FIXME("(%p, %d): stub.\n", iface, flag);
+    FIXME("(%p, %ld): stub.\n", iface, flag);
 
     return E_NOTIMPL;
 }
@@ -143,7 +143,7 @@ static HRESULT WINAPI spstream_Revert(ISpStream *iface)
 
 static HRESULT WINAPI spstream_LockRegion(ISpStream *iface, ULARGE_INTEGER offset, ULARGE_INTEGER cb, DWORD type)
 {
-    FIXME("(%p, %s, %s, %d): stub.\n", iface, wine_dbgstr_longlong(offset.QuadPart),
+    FIXME("(%p, %s, %s, %ld): stub.\n", iface, wine_dbgstr_longlong(offset.QuadPart),
           wine_dbgstr_longlong(cb.QuadPart), type);
 
     return E_NOTIMPL;
@@ -151,7 +151,7 @@ static HRESULT WINAPI spstream_LockRegion(ISpStream *iface, ULARGE_INTEGER offse
 
 static HRESULT WINAPI spstream_UnlockRegion(ISpStream *iface, ULARGE_INTEGER offset, ULARGE_INTEGER cb, DWORD type)
 {
-    FIXME("(%p, %s, %s, %d): stub.\n", iface, wine_dbgstr_longlong(offset.QuadPart),
+    FIXME("(%p, %s, %s, %ld): stub.\n", iface, wine_dbgstr_longlong(offset.QuadPart),
           wine_dbgstr_longlong(cb.QuadPart), type);
 
     return E_NOTIMPL;
@@ -159,7 +159,7 @@ static HRESULT WINAPI spstream_UnlockRegion(ISpStream *iface, ULARGE_INTEGER off
 
 static HRESULT WINAPI spstream_Stat(ISpStream *iface, STATSTG *statstg, DWORD flag)
 {
-    FIXME("(%p, %p, %d): stub.\n", iface, statstg, flag);
+    FIXME("(%p, %p, %ld): stub.\n", iface, statstg, flag);
 
     return E_NOTIMPL;
 }
diff --git a/dlls/sapi/token.c b/dlls/sapi/token.c
index ba91a425e9e..2de3553b3ab 100644
--- a/dlls/sapi/token.c
+++ b/dlls/sapi/token.c
@@ -73,7 +73,7 @@ static ULONG WINAPI data_key_AddRef( ISpRegDataKey *iface )
     struct data_key *This = impl_from_ISpRegDataKey( iface );
     ULONG ref = InterlockedIncrement( &This->ref );
 
-    TRACE( "(%p) ref = %u\n", This, ref );
+    TRACE( "(%p) ref = %lu\n", This, ref );
     return ref;
 }
 
@@ -82,7 +82,7 @@ static ULONG WINAPI data_key_Release( ISpRegDataKey *iface )
     struct data_key *This = impl_from_ISpRegDataKey( iface );
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE( "(%p) ref = %u\n", This, ref );
+    TRACE( "(%p) ref = %lu\n", This, ref );
 
     if (!ref)
     {
@@ -265,7 +265,7 @@ static ULONG WINAPI token_category_AddRef( ISpObjectTokenCategory *iface )
     struct token_category *This = impl_from_ISpObjectTokenCategory( iface );
     ULONG ref = InterlockedIncrement( &This->ref );
 
-    TRACE( "(%p) ref = %u\n", This, ref );
+    TRACE( "(%p) ref = %lu\n", This, ref );
     return ref;
 }
 
@@ -274,7 +274,7 @@ static ULONG WINAPI token_category_Release( ISpObjectTokenCategory *iface )
     struct token_category *This = impl_from_ISpObjectTokenCategory( iface );
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE( "(%p) ref = %u\n", This, ref );
+    TRACE( "(%p) ref = %lu\n", This, ref );
 
     if (!ref)
     {
@@ -514,7 +514,7 @@ static HRESULT WINAPI token_category_GetDefaultTokenId( ISpObjectTokenCategory *
         return SPERR_NOT_FOUND;
     } else if (res != ERROR_SUCCESS) {
         /* probably not the correct return value */
-        FIXME( "returning %08x\n", res );
+        FIXME( "returning %08lx\n", res );
         return res;
     }
 
@@ -606,7 +606,7 @@ static ULONG WINAPI token_enum_AddRef( ISpObjectTokenEnumBuilder *iface )
     struct token_enum *This = impl_from_ISpObjectTokenEnumBuilder( iface );
     ULONG ref = InterlockedIncrement( &This->ref );
 
-    TRACE( "(%p) ref = %u\n", This, ref );
+    TRACE( "(%p) ref = %lu\n", This, ref );
     return ref;
 }
 
@@ -615,7 +615,7 @@ static ULONG WINAPI token_enum_Release( ISpObjectTokenEnumBuilder *iface )
     struct token_enum *This = impl_from_ISpObjectTokenEnumBuilder( iface );
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE( "(%p) ref = %u\n", This, ref );
+    TRACE( "(%p) ref = %lu\n", This, ref );
 
     if (!ref)
     {
@@ -633,7 +633,7 @@ static HRESULT WINAPI token_enum_Next( ISpObjectTokenEnumBuilder *iface,
 {
     struct token_enum *This = impl_from_ISpObjectTokenEnumBuilder( iface );
 
-    TRACE( "(%p)->(%u %p %p)\n", This, num, tokens, fetched );
+    TRACE( "(%p)->(%lu %p %p)\n", This, num, tokens, fetched );
 
     if (!This->init) return SPERR_UNINITIALIZED;
 
@@ -817,7 +817,7 @@ static ULONG WINAPI token_AddRef( ISpObjectToken *iface )
     struct object_token *This = impl_from_ISpObjectToken( iface );
     ULONG ref = InterlockedIncrement( &This->ref );
 
-    TRACE( "(%p) ref = %u\n", This, ref );
+    TRACE( "(%p) ref = %lu\n", This, ref );
     return ref;
 }
 
@@ -826,7 +826,7 @@ static ULONG WINAPI token_Release( ISpObjectToken *iface )
     struct object_token *This = impl_from_ISpObjectToken( iface );
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE( "(%p) ref = %u\n", This, ref );
+    TRACE( "(%p) ref = %lu\n", This, ref );
 
     if (!ref)
     {
diff --git a/dlls/sapi/tts.c b/dlls/sapi/tts.c
index 6c5e89de25c..9f60c70e6c4 100644
--- a/dlls/sapi/tts.c
+++ b/dlls/sapi/tts.c
@@ -88,7 +88,7 @@ static ULONG WINAPI speech_voice_AddRef(ISpeechVoice *iface)
     struct speech_voice *This = impl_from_ISpeechVoice(iface);
     ULONG ref = InterlockedIncrement(&This->ref);
 
-    TRACE("(%p): ref=%u.\n", iface, ref);
+    TRACE("(%p): ref=%lu.\n", iface, ref);
 
     return ref;
 }
@@ -98,7 +98,7 @@ static ULONG WINAPI speech_voice_Release(ISpeechVoice *iface)
     struct speech_voice *This = impl_from_ISpeechVoice(iface);
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE("(%p): ref=%u.\n", iface, ref);
+    TRACE("(%p): ref=%lu.\n", iface, ref);
 
     if (!ref)
     {
@@ -118,7 +118,7 @@ static HRESULT WINAPI speech_voice_GetTypeInfoCount(ISpeechVoice *iface, UINT *i
 static HRESULT WINAPI speech_voice_GetTypeInfo(ISpeechVoice *iface, UINT info, LCID lcid,
                                                ITypeInfo **type_info)
 {
-    FIXME("(%p, %u, %u, %p): stub.\n", iface, info, lcid, type_info);
+    FIXME("(%p, %u, %lu, %p): stub.\n", iface, info, lcid, type_info);
 
     return E_NOTIMPL;
 }
@@ -126,7 +126,7 @@ static HRESULT WINAPI speech_voice_GetTypeInfo(ISpeechVoice *iface, UINT info, L
 static HRESULT WINAPI speech_voice_GetIDsOfNames(ISpeechVoice *iface, REFIID riid, LPOLESTR *names,
                                                  UINT count, LCID lcid, DISPID *dispid)
 {
-    FIXME("(%p, %s, %p, %u, %u, %p): stub.\n", iface, debugstr_guid(riid), names, count, lcid, dispid);
+    FIXME("(%p, %s, %p, %u, %lu, %p): stub.\n", iface, debugstr_guid(riid), names, count, lcid, dispid);
 
     return E_NOTIMPL;
 }
@@ -135,7 +135,7 @@ static HRESULT WINAPI speech_voice_Invoke(ISpeechVoice *iface, DISPID dispid, RE
                                           WORD flags, DISPPARAMS *params, VARIANT *result,
                                           EXCEPINFO *excepinfo, UINT *argerr)
 {
-    FIXME("(%p, %d, %s, %#x, %#x, %p, %p, %p, %p): stub.\n", iface, dispid, debugstr_guid(riid),
+    FIXME("(%p, %ld, %s, %#lx, %#x, %p, %p, %p, %p): stub.\n", iface, dispid, debugstr_guid(riid),
           lcid, flags, params, result, excepinfo, argerr);
 
     return E_NOTIMPL;
@@ -199,7 +199,7 @@ static HRESULT WINAPI speech_voice_get_Rate(ISpeechVoice *iface, LONG *rate)
 
 static HRESULT WINAPI speech_voice_put_Rate(ISpeechVoice *iface, LONG rate)
 {
-    FIXME("(%p, %d): stub.\n", iface, rate);
+    FIXME("(%p, %ld): stub.\n", iface, rate);
 
     return E_NOTIMPL;
 }
@@ -213,7 +213,7 @@ static HRESULT WINAPI speech_voice_get_Volume(ISpeechVoice *iface, LONG *volume)
 
 static HRESULT WINAPI speech_voice_put_Volume(ISpeechVoice *iface, LONG volume)
 {
-    FIXME("(%p, %d): stub.\n", iface, volume);
+    FIXME("(%p, %ld): stub.\n", iface, volume);
 
     return E_NOTIMPL;
 }
@@ -277,7 +277,7 @@ static HRESULT WINAPI speech_voice_get_AlertBoundary(ISpeechVoice *iface, Speech
 
 static HRESULT WINAPI speech_voice_put_SynchronousSpeakTimeout(ISpeechVoice *iface, LONG timeout)
 {
-    FIXME("(%p, %d): stub.\n", iface, timeout);
+    FIXME("(%p, %ld): stub.\n", iface, timeout);
 
     return E_NOTIMPL;
 }
@@ -320,7 +320,7 @@ static HRESULT WINAPI speech_voice_Resume(ISpeechVoice *iface)
 
 static HRESULT WINAPI speech_voice_Skip(ISpeechVoice *iface, const BSTR type, LONG items, LONG *skipped)
 {
-    FIXME("(%p, %s, %d, %p): stub.\n", iface, debugstr_w(type), items, skipped);
+    FIXME("(%p, %s, %ld, %p): stub.\n", iface, debugstr_w(type), items, skipped);
 
     return E_NOTIMPL;
 }
@@ -343,7 +343,7 @@ static HRESULT WINAPI speech_voice_GetAudioOutputs(ISpeechVoice *iface, BSTR req
 
 static HRESULT WINAPI speech_voice_WaitUntilDone(ISpeechVoice *iface, LONG timeout, VARIANT_BOOL *done)
 {
-    FIXME("(%p, %d, %p): stub.\n", iface, timeout, done);
+    FIXME("(%p, %ld, %p): stub.\n", iface, timeout, done);
 
     return E_NOTIMPL;
 }
@@ -366,7 +366,7 @@ static HRESULT WINAPI speech_voice_IsUISupported(ISpeechVoice *iface, const BSTR
 static HRESULT WINAPI speech_voice_DisplayUI(ISpeechVoice *iface, LONG hwnd, BSTR title,
                                              const BSTR typeui, const VARIANT *data)
 {
-    FIXME("(%p, %d, %s, %s, %p): stub.\n", iface, hwnd, debugstr_w(title), debugstr_w(typeui), data);
+    FIXME("(%p, %ld, %s, %s, %p): stub.\n", iface, hwnd, debugstr_w(title), debugstr_w(typeui), data);
 
     return E_NOTIMPL;
 }
@@ -452,7 +452,7 @@ static HRESULT WINAPI spvoice_SetNotifySink(ISpVoice *iface, ISpNotifySink *sink
 static HRESULT WINAPI spvoice_SetNotifyWindowMessage(ISpVoice *iface, HWND hwnd, UINT msg,
                                                      WPARAM wparam, LPARAM lparam)
 {
-    FIXME("(%p, %p, %u, %lx, %lx): stub.\n", iface, hwnd, msg, wparam, lparam);
+    FIXME("(%p, %p, %u, %Ix, %Ix): stub.\n", iface, hwnd, msg, wparam, lparam);
 
     return E_NOTIMPL;
 }
@@ -460,7 +460,7 @@ static HRESULT WINAPI spvoice_SetNotifyWindowMessage(ISpVoice *iface, HWND hwnd,
 static HRESULT WINAPI spvoice_SetNotifyCallbackFunction(ISpVoice *iface, SPNOTIFYCALLBACK *callback,
                                                         WPARAM wparam, LPARAM lparam)
 {
-    FIXME("(%p, %p, %lx, %lx): stub.\n", iface, callback, wparam, lparam);
+    FIXME("(%p, %p, %Ix, %Ix): stub.\n", iface, callback, wparam, lparam);
 
     return E_NOTIMPL;
 }
@@ -468,7 +468,7 @@ static HRESULT WINAPI spvoice_SetNotifyCallbackFunction(ISpVoice *iface, SPNOTIF
 static HRESULT WINAPI spvoice_SetNotifyCallbackInterface(ISpVoice *iface, ISpNotifyCallback *callback,
                                                          WPARAM wparam, LPARAM lparam)
 {
-    FIXME("(%p, %p, %lx, %lx): stub.\n", iface, callback, wparam, lparam);
+    FIXME("(%p, %p, %Ix, %Ix): stub.\n", iface, callback, wparam, lparam);
 
     return E_NOTIMPL;
 }
@@ -482,7 +482,7 @@ static HRESULT WINAPI spvoice_SetNotifyWin32Event(ISpVoice *iface)
 
 static HRESULT WINAPI spvoice_WaitForNotifyEvent(ISpVoice *iface, DWORD milliseconds)
 {
-    FIXME("(%p, %d): stub.\n", iface, milliseconds);
+    FIXME("(%p, %ld): stub.\n", iface, milliseconds);
 
     return E_NOTIMPL;
 }
@@ -503,7 +503,7 @@ static HRESULT WINAPI spvoice_SetInterest(ISpVoice *iface, ULONGLONG event, ULON
 
 static HRESULT WINAPI spvoice_GetEvents(ISpVoice *iface, ULONG count, SPEVENT *array, ULONG *fetched)
 {
-    FIXME("(%p, %u, %p, %p): stub.\n", iface, count, array, fetched);
+    FIXME("(%p, %lu, %p, %p): stub.\n", iface, count, array, fetched);
 
     return E_NOTIMPL;
 }
@@ -566,14 +566,14 @@ static HRESULT WINAPI spvoice_GetVoice(ISpVoice *iface, ISpObjectToken **token)
 
 static HRESULT WINAPI spvoice_Speak(ISpVoice *iface, const WCHAR *contents, DWORD flags, ULONG *number)
 {
-    FIXME("(%p, %p, %#x, %p): stub.\n", iface, contents, flags, number);
+    FIXME("(%p, %p, %#lx, %p): stub.\n", iface, contents, flags, number);
 
     return E_NOTIMPL;
 }
 
 static HRESULT WINAPI spvoice_SpeakStream(ISpVoice *iface, IStream *stream, DWORD flags, ULONG *number)
 {
-    FIXME("(%p, %p, %#x, %p): stub.\n", iface, stream, flags, number);
+    FIXME("(%p, %p, %#lx, %p): stub.\n", iface, stream, flags, number);
 
     return E_NOTIMPL;
 }
@@ -587,7 +587,7 @@ static HRESULT WINAPI spvoice_GetStatus(ISpVoice *iface, SPVOICESTATUS *status,
 
 static HRESULT WINAPI spvoice_Skip(ISpVoice *iface, const WCHAR *type, LONG items, ULONG *skipped)
 {
-    FIXME("(%p, %s, %d, %p): stub.\n", iface, debugstr_w(type), items, skipped);
+    FIXME("(%p, %s, %ld, %p): stub.\n", iface, debugstr_w(type), items, skipped);
 
     return E_NOTIMPL;
 }
@@ -622,7 +622,7 @@ static HRESULT WINAPI spvoice_GetAlertBoundary(ISpVoice *iface, SPEVENTENUM *bou
 
 static HRESULT WINAPI spvoice_SetRate(ISpVoice *iface, LONG adjust)
 {
-    FIXME("(%p, %d): stub.\n", iface, adjust);
+    FIXME("(%p, %ld): stub.\n", iface, adjust);
 
     return E_NOTIMPL;
 }
@@ -650,14 +650,14 @@ static HRESULT WINAPI spvoice_GetVolume(ISpVoice *iface, USHORT *volume)
 
 static HRESULT WINAPI spvoice_WaitUntilDone(ISpVoice *iface, ULONG timeout)
 {
-    FIXME("(%p, %d): stub.\n", iface, timeout);
+    FIXME("(%p, %ld): stub.\n", iface, timeout);
 
     return E_NOTIMPL;
 }
 
 static HRESULT WINAPI spvoice_SetSyncSpeakTimeout(ISpVoice *iface, ULONG timeout)
 {
-    FIXME("(%p, %d): stub.\n", iface, timeout);
+    FIXME("(%p, %ld): stub.\n", iface, timeout);
 
     return E_NOTIMPL;
 }
@@ -679,7 +679,7 @@ static HANDLE WINAPI spvoice_SpeakCompleteEvent(ISpVoice *iface)
 static HRESULT WINAPI spvoice_IsUISupported(ISpVoice *iface, const WCHAR *type, void *extra,
                                             ULONG count, BOOL *supported)
 {
-    FIXME("(%p, %p, %p, %d, %p): stub.\n", iface, type, extra, count, supported);
+    FIXME("(%p, %p, %p, %ld, %p): stub.\n", iface, type, extra, count, supported);
 
     return E_NOTIMPL;
 }
@@ -687,7 +687,7 @@ static HRESULT WINAPI spvoice_IsUISupported(ISpVoice *iface, const WCHAR *type,
 static HRESULT WINAPI spvoice_DisplayUI(ISpVoice *iface, HWND parent, const WCHAR *title,
                                         const WCHAR *type, void *extra, ULONG count)
 {
-    FIXME("(%p, %p, %p, %p, %p, %d): stub.\n", iface, parent, title, type, extra, count);
+    FIXME("(%p, %p, %p, %p, %p, %ld): stub.\n", iface, parent, title, type, extra, count);
 
     return E_NOTIMPL;
 }




More information about the wine-devel mailing list