Commit f0f4e105 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

windows.media.speech: Enable compilation with long types.

parent 05f0b754
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = windows.media.speech.dll MODULE = windows.media.speech.dll
IMPORTS = combase uuid IMPORTS = combase uuid
......
...@@ -81,7 +81,7 @@ static ULONG STDMETHODCALLTYPE vector_view_voice_information_AddRef( ...@@ -81,7 +81,7 @@ static ULONG STDMETHODCALLTYPE vector_view_voice_information_AddRef(
{ {
struct voice_information_vector *impl = impl_from_IVectorView_VoiceInformation(iface); struct voice_information_vector *impl = impl_from_IVectorView_VoiceInformation(iface);
ULONG ref = InterlockedIncrement(&impl->ref); ULONG ref = InterlockedIncrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref); TRACE("iface %p, ref %lu.\n", iface, ref);
return ref; return ref;
} }
...@@ -90,7 +90,7 @@ static ULONG STDMETHODCALLTYPE vector_view_voice_information_Release( ...@@ -90,7 +90,7 @@ static ULONG STDMETHODCALLTYPE vector_view_voice_information_Release(
{ {
struct voice_information_vector *impl = impl_from_IVectorView_VoiceInformation(iface); struct voice_information_vector *impl = impl_from_IVectorView_VoiceInformation(iface);
ULONG ref = InterlockedDecrement(&impl->ref); ULONG ref = InterlockedDecrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref); TRACE("iface %p, ref %lu.\n", iface, ref);
return ref; return ref;
} }
...@@ -222,7 +222,7 @@ static ULONG STDMETHODCALLTYPE speech_synthesizer_AddRef( ...@@ -222,7 +222,7 @@ static ULONG STDMETHODCALLTYPE speech_synthesizer_AddRef(
struct speech_synthesizer *impl = impl_from_ISpeechSynthesizer(iface); struct speech_synthesizer *impl = impl_from_ISpeechSynthesizer(iface);
ULONG ref = InterlockedIncrement(&impl->ref); ULONG ref = InterlockedIncrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref); TRACE("iface %p, ref %lu.\n", iface, ref);
return ref; return ref;
} }
...@@ -233,7 +233,7 @@ static ULONG STDMETHODCALLTYPE speech_synthesizer_Release( ...@@ -233,7 +233,7 @@ static ULONG STDMETHODCALLTYPE speech_synthesizer_Release(
struct speech_synthesizer *impl = impl_from_ISpeechSynthesizer(iface); struct speech_synthesizer *impl = impl_from_ISpeechSynthesizer(iface);
ULONG ref = InterlockedDecrement(&impl->ref); ULONG ref = InterlockedDecrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref); TRACE("iface %p, ref %lu.\n", iface, ref);
if (!ref) if (!ref)
free(impl); free(impl);
...@@ -326,7 +326,7 @@ static ULONG STDMETHODCALLTYPE closable_AddRef( ...@@ -326,7 +326,7 @@ static ULONG STDMETHODCALLTYPE closable_AddRef(
struct speech_synthesizer *impl = impl_from_IClosable(iface); struct speech_synthesizer *impl = impl_from_IClosable(iface);
ULONG ref = InterlockedIncrement(&impl->ref); ULONG ref = InterlockedIncrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref); TRACE("iface %p, ref %lu.\n", iface, ref);
return ref; return ref;
} }
...@@ -337,7 +337,7 @@ static ULONG STDMETHODCALLTYPE closable_Release( ...@@ -337,7 +337,7 @@ static ULONG STDMETHODCALLTYPE closable_Release(
struct speech_synthesizer *impl = impl_from_IClosable(iface); struct speech_synthesizer *impl = impl_from_IClosable(iface);
ULONG ref = InterlockedDecrement(&impl->ref); ULONG ref = InterlockedDecrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref); TRACE("iface %p, ref %lu.\n", iface, ref);
if (!ref) if (!ref)
free(impl); free(impl);
...@@ -442,7 +442,7 @@ static ULONG STDMETHODCALLTYPE windows_media_speech_AddRef( ...@@ -442,7 +442,7 @@ static ULONG STDMETHODCALLTYPE windows_media_speech_AddRef(
{ {
struct windows_media_speech *impl = impl_from_IActivationFactory(iface); struct windows_media_speech *impl = impl_from_IActivationFactory(iface);
ULONG ref = InterlockedIncrement(&impl->ref); ULONG ref = InterlockedIncrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref); TRACE("iface %p, ref %lu.\n", iface, ref);
return ref; return ref;
} }
...@@ -451,7 +451,7 @@ static ULONG STDMETHODCALLTYPE windows_media_speech_Release( ...@@ -451,7 +451,7 @@ static ULONG STDMETHODCALLTYPE windows_media_speech_Release(
{ {
struct windows_media_speech *impl = impl_from_IActivationFactory(iface); struct windows_media_speech *impl = impl_from_IActivationFactory(iface);
ULONG ref = InterlockedDecrement(&impl->ref); ULONG ref = InterlockedDecrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref); TRACE("iface %p, ref %lu.\n", iface, ref);
return ref; return ref;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment