Piotr Caban piotr@codeweavers.com wrote:
- char path[16384] = {0};
...
- r = GetTempPathA(MAX_PATH, path);
- ok(r, "GetTempPathA error: %u\n", GetLastError());
- lstrcatA(path, "testIOPendingFlag");
- r = CreateDirectoryA(path, NULL);
- ok(r, "CreateDirectoryA error: %d\n", GetLastError());
Why path[MAX_PATH] is not enough? Also you need to remove the created directory at the end of the test.