Skip to content

Latest commit

 

History

History
65 lines (55 loc) · 2.61 KB

nn-thumbcache-isharedbitmap.md

File metadata and controls

65 lines (55 loc) · 2.61 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:thumbcache.ISharedBitmap
ISharedBitmap (thumbcache.h)
Exposes memory-efficient methods for accessing bitmaps. This interface is used as a thin wrapper around HBITMAP objects, allowing those objects to be reference counted and protected from having their underlying data changed.
ISharedBitmap
ISharedBitmap interface [Windows Shell]
ISharedBitmap interface [Windows Shell]
described
_shell_ISharedBitmap
shell.ISharedBitmap
thumbcache/ISharedBitmap
shell\ISharedBitmap.htm
shell
72be7757-f969-4f4f-ada1-71789b8d1de0
12/05/2018
ISharedBitmap, ISharedBitmap interface [Windows Shell], ISharedBitmap interface [Windows Shell],described, _shell_ISharedBitmap, shell.ISharedBitmap, thumbcache/ISharedBitmap
thumbcache.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Thumbcache.idl
Windows
19H1
ISharedBitmap
thumbcache/ISharedBitmap
c++
APIRef
kbSyntax
COM
Thumbcache.h
ISharedBitmap

ISharedBitmap interface

-description

Exposes memory-efficient methods for accessing bitmaps. This interface is used as a thin wrapper around HBITMAP objects, allowing those objects to be reference counted and protected from having their underlying data changed.

-inheritance

The ISharedBitmap interface inherits from the IUnknown interface. ISharedBitmap also has these types of members:

-remarks

This interface is used in conjunction with the methods of IThumbnailCache. Bitmaps returned by IThumbnailCache::GetThumbnail and IThumbnailCache::GetThumbnailByID are of type ISharedBitmap.

When an ISharedBitmap object is retrieved from the thumbnail cache, the underlying bitmap may reside in shared memory to provide improved performance.

The underlying data of the memory-mapped bitmap is protected while the client is accessing it.