On Windows the thumbnails of the files in a folder are cached in an internal
file called Thumbs.db.
Blender does not read the thumbs from this file, instead (for supported files
with images, videos and .blend files), it loads, generates a thumb and saves
he image in a cache located in:
C:\Users\%user%\.thumbnails\large
This is inefficient as it forces the loading of the files and causing 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
in Thumbs.db generated for the file.
Thus, it is no longer necessary to load the file.
Ref T87621
Unresolved problems:
- SHCreateItemFromParsingName and IShellItemImageFactory::GetImage do not work well in multithreaded (frequent crashes)