This patch tries to fix the problem for Windows only.
The Windows Thumbnails files are cached in an internal file called
`Thumbs.db`.
Blender on the other hand saves thumb images to:
`C:\Users\%user%\.thumbnails\large`
This is inefficient as it forces the reading of the file and causes a huge
slowness at times.
In addition to taking up HD space.
---
This patch uses the Win 32 API to obtain an address that points to a bitmap
generated for the file.
Ref T87621
Thus, it is no longer necessary to read the file.
---
**Unresolved problems:**
- `SHSimpleIDListFromPath` is deprecated
- `SHSimpleIDListFromPath`, `SHCreateItemFromIDList` and `IThumbnailCache::GetThumbnail` do not work well in multithreaded (frequent crashes)
---
I've spent a lot of time on this patch and I can't waste too much time on
it anymore.
I would be happy if someone took the lead and solved the outstanding
problems.