[PATCH 1/3] gdiplus/tests: Added more tests for image loading functions.

Dmitry Timoshkov dmitry at baikal.ru
Sat Mar 1 20:49:43 CST 2014


Qian Hong <qhong at codeweavers.com> wrote:

> +    WCHAR nonexistentW[] = {'n','o','n','e','x','i','s','t','.','b','m','p','\0'};
> +    WCHAR nonshareW[] = {'n','o','n','s','h','a','r','e','.','b','m','p','\0'};
> +    HANDLE hfile;
> +
> +    hfile = CreateFileW(nonshareW, GENERIC_READ, 0, NULL, CREATE_NEW, FILE_FLAG_DELETE_ON_CLOSE, 0);
> +    ok(hfile != INVALID_HANDLE_VALUE, "failed to create file\n");

Please use official temporary storage instead of creating files in
current directory.

-- 
Dmitry.



More information about the wine-devel mailing list