philippe carret
2010-11-11 13:40:10 UTC
Hi all happy Win32 developers ,
I'm trying to implement IThumbnailProvider with difficulties.
One of the main problem is IThumbnailProvider is working with IStream
and no more with file path
MS document says :
The object that implements this interface must also implement one of
the following interfaces.:
IInitializeWithStream. works
IInitializeWithItem (not working)
IInitializeWithFile (not working)
But because of specific needs, I need the full path to retrieve the
thumbnail of the file not an IStream
MS document says :
IStream "stat" contains pwcsName but it's not the full path just
filename
Any help ?
I could probably recreate a temp file to read the bitmap but sometime
file are 100 MB !
It would cost a lot of time just for thumbnails ...
Répondre Répondre à l'auteur Transférer
I'm trying to implement IThumbnailProvider with difficulties.
One of the main problem is IThumbnailProvider is working with IStream
and no more with file path
MS document says :
The object that implements this interface must also implement one of
the following interfaces.:
IInitializeWithStream. works
IInitializeWithItem (not working)
IInitializeWithFile (not working)
But because of specific needs, I need the full path to retrieve the
thumbnail of the file not an IStream
MS document says :
IStream "stat" contains pwcsName but it's not the full path just
filename
Any help ?
I could probably recreate a temp file to read the bitmap but sometime
file are 100 MB !
It would cost a lot of time just for thumbnails ...
Répondre Répondre à l'auteur Transférer