Tools: [skip ci] Adjust comment about the creation of a bitmap handle
This commit is contained in:
@@ -259,7 +259,7 @@ STDMETHODIMP CThumbnailProvider::GetThumbnail(UINT cx,
|
||||
content.push_back(c);
|
||||
}
|
||||
|
||||
// pass the memory buffer to CxImage library to create the bitmap handle
|
||||
// pass the memory buffer to an IStream to create the bitmap handle
|
||||
IStream* stream = CreateStreamOnResource(&(content[0]), content.size());
|
||||
if (stream) {
|
||||
IWICBitmapSource* bmpSrc = LoadBitmapFromStream(stream);
|
||||
|
||||
Reference in New Issue
Block a user