https://bugs.winehq.org/show_bug.cgi?id=27559
--- Comment #28 from Nikolay Sivov bunglehead@gmail.com --- --- trace:shell:SHGetKnownFolderIDList {cac52c1a-b53d-4edc-92d7-6b2e8ac19434}, 0x00001000, (nil), 0x149fdd0 fixme:shell:SHGetKnownFolderIDList unsupported flags: 0x00001000 trace:shell:SHGetKnownFolderPath {cac52c1a-b53d-4edc-92d7-6b2e8ac19434}, 0x00001000, (nil), 0x149fd68 trace:shell:SHGetKnownFolderPath Failed to get folder path, 0x80070057. trace:shell:SHGetKnownFolderIDList {a302545d-deff-464b-abe8-61c8648d939b}, 0x00001000, (nil), 0x149fdd0 fixme:shell:SHGetKnownFolderIDList unsupported flags: 0x00001000 trace:shell:SHGetKnownFolderPath {a302545d-deff-464b-abe8-61c8648d939b}, 0x00001000, (nil), 0x149fd68 trace:shell:SHGetKnownFolderPath Failed to get folder path, 0x80070057. ---
Failed to get folder path means CSIDL_Type_Disallowed in this case, it's not necessarily wrong. Hacking it to fail on unsupported flags most likely skips the rest of logic, and is not a real issue here.
I think it's possible it's another instance of bug 36866, but I haven't tested thoroughly.