Updated sapi-ISpObjectToken-CreateInstance patchset

This commit is contained in:
Alistair Leslie-Hughes 2023-10-01 09:43:09 +11:00
parent 46ac00b4a4
commit c55fa81f35

View File

@ -54,7 +54,7 @@ index 6cc7ccd6d73..79594301c35 100644
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+ ULONG ref = InterlockedIncrement(&audio->ref);
+
+ TRACE("(%p): ref=%u.\n", audio, ref);
+ TRACE("(%p): ref=%lu.\n", audio, ref);
+
+ return ref;
+}
@ -64,7 +64,7 @@ index 6cc7ccd6d73..79594301c35 100644
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+ ULONG ref = InterlockedDecrement(&audio->ref);
+
+ TRACE("(%p): ref=%u.\n", audio, ref);
+ TRACE("(%p): ref=%lu.\n", audio, ref);
+
+ if (!ref)
+ {
@ -78,7 +78,7 @@ index 6cc7ccd6d73..79594301c35 100644
+{
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+
+ FIXME("%p, %p, %d %p\n", audio, pv, cb, pcbRead);
+ FIXME("%p, %p, %ld %p\n", audio, pv, cb, pcbRead);
+
+ return E_NOTIMPL;
+}
@ -87,7 +87,7 @@ index 6cc7ccd6d73..79594301c35 100644
+{
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+
+ FIXME("%p, %p, %d %p\n", audio, pv, cb, pcbWritten);
+ FIXME("%p, %p, %ld %p\n", audio, pv, cb, pcbWritten);
+
+ return E_NOTIMPL;
+}
@ -95,7 +95,7 @@ index 6cc7ccd6d73..79594301c35 100644
+static HRESULT WINAPI spaudio_Seek(ISpAudio *iface, LARGE_INTEGER dlibMove, DWORD dwOrigin, ULARGE_INTEGER *plibNewPosition)
+{
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+ FIXME("%p, %s, %d, %p\n", audio, wine_dbgstr_longlong(dlibMove.QuadPart), dwOrigin, plibNewPosition);
+ FIXME("%p, %s, %ld, %p\n", audio, wine_dbgstr_longlong(dlibMove.QuadPart), dwOrigin, plibNewPosition);
+ return E_NOTIMPL;
+}
+
@ -106,7 +106,7 @@ index 6cc7ccd6d73..79594301c35 100644
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI spaudio_CopyTo(ISpAudio *iface,IStream *pstm, ULARGE_INTEGER cb,
+static HRESULT WINAPI spaudio_CopyTo(ISpAudio *iface, IStream *pstm, ULARGE_INTEGER cb,
+ ULARGE_INTEGER *pcbRead, ULARGE_INTEGER *pcbWritten)
+{
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
@ -114,10 +114,10 @@ index 6cc7ccd6d73..79594301c35 100644
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI spaudio_Commit(ISpAudio *iface,DWORD grfCommitFlags)
+static HRESULT WINAPI spaudio_Commit(ISpAudio *iface, DWORD grfCommitFlags)
+{
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+ FIXME("(%p, %#x)\n", audio, grfCommitFlags);
+ FIXME("(%p, %#lx)\n", audio, grfCommitFlags);
+ return E_NOTIMPL;
+}
+
@ -131,7 +131,7 @@ index 6cc7ccd6d73..79594301c35 100644
+static HRESULT WINAPI spaudio_LockRegion(ISpAudio *iface, ULARGE_INTEGER offset, ULARGE_INTEGER cb, DWORD dwLockType)
+{
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+ FIXME("(%p, %s, %s, %d)\n", audio, wine_dbgstr_longlong(offset.QuadPart),
+ FIXME("(%p, %s, %s, %ld)\n", audio, wine_dbgstr_longlong(offset.QuadPart),
+ wine_dbgstr_longlong(cb.QuadPart), dwLockType);
+ return E_NOTIMPL;
+}
@ -139,7 +139,7 @@ index 6cc7ccd6d73..79594301c35 100644
+static HRESULT WINAPI spaudio_UnlockRegion(ISpAudio *iface,ULARGE_INTEGER offset, ULARGE_INTEGER cb, DWORD dwLockType)
+{
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+ FIXME("(%p, %s, %s, %d)\n", audio, wine_dbgstr_longlong(offset.QuadPart),
+ FIXME("(%p, %s, %s, %ld)\n", audio, wine_dbgstr_longlong(offset.QuadPart),
+ wine_dbgstr_longlong(cb.QuadPart), dwLockType);
+ return E_NOTIMPL;
+}
@ -147,7 +147,7 @@ index 6cc7ccd6d73..79594301c35 100644
+static HRESULT WINAPI spaudio_Stat(ISpAudio *iface, STATSTG *stg, DWORD flag)
+{
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+ FIXME("%p, %p, %d\n", audio, stg, flag);
+ FIXME("%p, %p, %lx\n", audio, stg, flag);
+ return E_NOTIMPL;
+}
+
@ -224,7 +224,7 @@ index 6cc7ccd6d73..79594301c35 100644
+static HRESULT WINAPI spaudio_SetVolumeLevel(ISpAudio *iface, ULONG level)
+{
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+ FIXME("%p, %d\n", audio, level);
+ FIXME("%p, %lu\n", audio, level);
+ return E_NOTIMPL;
+}
+
@ -238,7 +238,7 @@ index 6cc7ccd6d73..79594301c35 100644
+static HRESULT WINAPI spaudio_SetBufferNotifySize(ISpAudio *iface, ULONG size)
+{
+ struct speech_audio *audio = impl_from_ISpAudio(iface);
+ FIXME("%p, %d\n", audio, size);
+ FIXME("%p, %lu\n", audio, size);
+ return E_NOTIMPL;
+}
+