Commit Graph

39 Commits

Author SHA1 Message Date
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alistair Leslie-Hughes e482605548 sapi: Support create parameter in ISpObjectTokenCategory::SetId.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-21 22:21:20 +02:00
Alistair Leslie-Hughes 5d11517f6d sapi: Support create parameter in ISpObjectToken::SetId.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-21 22:21:07 +02:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 5d82baf974 winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard bd6b53740c winecrt0: Add a default implementation for DllCanUnloadNow().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Gijs Vermeulen 55e834948c sapi/tests: Remove SpResourceManager refcount tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50841
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-24 20:46:23 +01:00
Gijs Vermeulen 056e3fc7fd sapi: Fix typo in ISpVoice::SetOutput() trace.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-23 12:39:13 +01:00
Gijs Vermeulen cf49617c1a sapi: Add stub SpResourceManager object.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-13 22:01:56 +01:00
Gijs Vermeulen 04cf431735 sapi: Add stub SpStream object.
Needed by Assassin's Creed Valhalla.

Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-13 22:01:52 +01:00
Michael Stefaniuc 85458d804a sapi/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-28 10:03:20 +01:00
Michael Stefaniuc cc32682130 sapi: Zero terminate some WCHAR strings.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-28 10:03:07 +01:00
Alistair Leslie-Hughes 6eaa2d2df2 sapi: Return a default token in ISpVoice::GetVoice
GetVoice returns a default voice when one is not active.  This stops
a crash on startup with Scrivener.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-15 20:19:07 +02:00
Myah Caron 5d49d33483 sapi: Improve stub for ISpObjectToken::SetId.
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-16 17:13:50 +02:00
Myah Caron 64808e17b2 sapi: Add stubs for SpObjectToken.
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-16 17:13:50 +02:00
Myah Caron 0e53f6bfa1 sapi: Fix MMAudioOut registry key location.
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-16 17:13:50 +02:00
Myah Caron 2e11e2f33f sapi: Improve GetDefaultTokenId stub.
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-15 21:43:45 +02:00
Myah Caron 3f3c0086cb sapi: Add AudioOutput registry keys.
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-15 21:43:45 +02:00
Jactry Zeng b276bd58a7 sapi: Implement ISpStream stub.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-02 22:02:56 +01:00
Jactry Zeng 28121b494b sapi: Implement ISpeechFileStream stub.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-02 22:02:56 +01:00
Jactry Zeng e31b56b578 sapi: Add IConnectionPointContainer stub for ISpVoice.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-02 22:02:56 +01:00
Jactry Zeng 58b20d1db7 sapi: Implement ISpVoice stub.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-02 22:02:56 +01:00
Jactry Zeng 474a20a0b0 sapi: Implement ISpeechVoice stub.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-02 22:02:56 +01:00
Alexandre Julliard 5dedd2c641 sapi: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:06:34 +02:00
Michael Stefaniuc 6a21434a75 sapi: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 09:53:21 +01:00
Francois Gouget 3fbed4c4a7 sapi: Make some impl_from_Xxx() functions static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-04 21:46:59 +01:00
Huw Davies 682c1b9532 sapi: Add a partial implementation of SpObjectTokenCategory::EnumTokens().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:03:27 +02:00
Huw Davies 6a7259d8d1 sapi: Implement SpObjectTokenCategory::SetId().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:03:23 +02:00
Huw Davies c3a635c2a5 sapi: Add a stub SpObjectTokenCategory object implementation.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:03:19 +02:00
Huw Davies c522fedf19 sapi: Add a partial implementation of SpObjectTokenEnum::Next().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:03:14 +02:00
Huw Davies 211f2c7b93 sapi: Implement SpObjectTokenEnum::GetCount().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:03:10 +02:00
Huw Davies 77b7bd19c5 sapi: Implement SpObjectTokenEnum::SetAttribs().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:03:06 +02:00
Huw Davies 07e5593067 sapi: Add a stub SpObjectTokenEnum object implementation.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:02:56 +02:00
Huw Davies 41144614c7 sapi: Implement SpDataKey::SetKey().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:02:54 +02:00
Huw Davies c82d274293 sapi: Add a stub SpDataKey object implementation.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:02:35 +02:00
Huw Davies 35347b0e40 sapi: Create the Voices registry key.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 17:34:43 +02:00
Huw Davies d5308e809d sapi: Register the classes from sapiddk.idl that would otherwise not get registered.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 17:31:17 +02:00
Huw Davies ad2beedccd sapi: Register the typelib.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 17:27:39 +02:00
Huw Davies 2a332f4e5a sapi: Add a stub dll.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 17:09:00 +02:00