[PATCH v4 2/5] winegstreamer: Add stub bytestream handler.

Nikolay Sivov nsivov at codeweavers.com
Tue Sep 1 02:29:27 CDT 2020


On 8/28/20 11:48 PM, Derek Lesho wrote:
> @@ -6030,7 +6030,7 @@ static HRESULT resolver_get_bytestream_handler(IMFByteStream *stream, const WCHA
>  
>      for (i = 0, hr = E_FAIL; i < ARRAY_SIZE(hkey_roots); ++i)
>      {
> -        const WCHAR *namesW[2] = { mimeW, url_ext };
> +        const WCHAR *namesW[3] = { mimeW, url_ext, L"wine/all" };
>          HKEY hkey, hkey_handler;
>  
>          if (RegOpenKeyA(hkey_roots[i], streamhandlerspath, &hkey))
Is it a way to avoid registering specific types/extensions? Could you
explain why this is better than regular registration.



More information about the wine-devel mailing list