2 Mar
2014
2 Mar
'14
2:49 a.m.
Qian Hong <qhong(a)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.