[1/2] wininet: Partially implement FreeUrlCacheSpaceW.

Alexandre Julliard julliard at winehq.org
Tue Mar 8 08:31:08 CST 2011


Alexander Scott-Johns <alexander.scott.johns at googlemail.com> writes:

> +    if (file == INVALID_HANDLE_VALUE)
> +    {
> +        if (GetLastError() == ERROR_SHARING_VIOLATION)
> +        {
> +            WCHAR title[128];
> +            LoadStringW(WININET_hModule, IDS_CACHE_IN_USE, message, sizeof(message)/sizeof(*message));
> +            LoadStringW(WININET_hModule, IDS_WARNING, title, sizeof(title)/sizeof(*title));
> +            MessageBoxW(NULL, message, title, MB_OK);
> +        }

I don't think you want to show message boxes, particularly not for such
harmless errors.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list