Hello Hans,

On Tue, May 28, 2013 at 6:42 PM, Hans Leidekker <h...@codeweavers.com> wrote:
> +    hr = SHGetKnownFolderPath( &FOLDERID_Desktop, 0, NULL, &desktop_folder );
> +    if (FAILED( hr ))
> +    {
> +        WINE_ERR("Could not get user desktop folder\n");
> +        return;
> +    }
> +    hr = SHGetKnownFolderPath( &FOLDERID_PublicDesktop, 0, NULL, 
> &desktop_folder_public );
> +    if (FAILED( hr ))
> +    {
> +        WINE_ERR("Could not get public desktop folder\n");
> +        CoTaskMemFree( desktop_folder );
> +        return;
> +    }

Does KF_FLAG_CREATE look better here? Other wise every time a new
wineprefix created there is an err output.
Maybe I'm missing something here, thanks for your work.



--
Regards,
Qian Hong

-
http://www.winehq.org


Reply via email to