[3/3] [resend] wsdapi/tests: Add initial tests for WSDCreateDiscoveryPublisher

Alexandre Julliard julliard at winehq.org
Mon Apr 10 11:18:01 CDT 2017


Owen Rudge <orudge at codeweavers.com> writes:

> +START_TEST(discovery)
> +{
> +    HMODULE dllHandle;
> +
> +    CoInitialize(NULL);
> +
> +    dllHandle = LoadLibraryA("wsdapi.dll");
> +
> +    if (dllHandle)
> +    {
> +        BOOL ret;
> +
> +        ret = FreeLibrary(dllHandle);
> +        ok(ret, "FreeLibrary(1) returned %d\n", GetLastError());
> +    }

This test doesn't seem very useful. Also there shouldn't be any reason
to load the library dynamically, you could simply link to it.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list