[PATCH 3/7] windows.media.speech/tests: Add interface query tests.
Zebediah Figura (she/her)
zfigura at codeweavers.com
Mon Mar 15 14:41:07 CDT 2021
On 3/12/21 5:31 AM, Rémi Bernon wrote:
> +START_TEST(statics)
> +{
> + HMODULE combase;
> +
> + if (!(combase = LoadLibraryW(L"combase.dll")))
> + {
> + win_skip("Failed to load combase.dll, skipping tests\n");
> + return;
> + }
> +
> +#define LOAD_FUNCPTR(x) \
> + if (!(p##x = (void*)GetProcAddress(combase, #x))) \
> + { \
> + win_skip("Failed to find %s in combase.dll, skipping tests.\n", #x); \
> + return; \
> + }
> +
> + LOAD_FUNCPTR(RoActivateInstance);
> + LOAD_FUNCPTR(RoGetActivationFactory);
> + LOAD_FUNCPTR(RoInitialize);
> + LOAD_FUNCPTR(RoUninitialize);
> + LOAD_FUNCPTR(WindowsCreateString);
> + LOAD_FUNCPTR(WindowsDeleteString);
> +#undef LOAD_FUNCPTR
> +
> + test_SpeechSynthesizer();
> + test_VoiceInformation();
> +}
>
Is there a point in loading combase dynamically?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210315/a85ce240/attachment.sig>
More information about the wine-devel
mailing list