From: Bernhard Übelacker <bernhardu@mailbox.org> Followup of: 82ad0ecd12 --- dlls/shell32/recyclebin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shell32/recyclebin.c b/dlls/shell32/recyclebin.c index fc1b53a7bc9..494088168f3 100644 --- a/dlls/shell32/recyclebin.c +++ b/dlls/shell32/recyclebin.c @@ -123,11 +123,11 @@ static BOOL WINAPI init_trash_dirs( INIT_ONCE *once, void *param, void **context lstrcpyW( info, files ); lstrcatW( files, L"\\files" ); lstrcatW( info, L"\\info" ); - if (!CreateDirectoryW( info, NULL ) && GetLastError() != ERROR_ALREADY_EXISTS) goto done; + if (!SHCreateDirectoryExW( NULL, info, NULL ) && GetLastError() != ERROR_ALREADY_EXISTS) goto done; trash_info_dir = info; } - if (!CreateDirectoryW( files, NULL ) && GetLastError() != ERROR_ALREADY_EXISTS) goto done; + if (!SHCreateDirectoryExW( NULL, files, NULL ) && GetLastError() != ERROR_ALREADY_EXISTS) goto done; trash_dir = files; random_seed = GetTickCount(); return TRUE; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9960