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 | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:thumbcache.ISharedBitmap.InitializeBitmap |
ISharedBitmap::InitializeBitmap (thumbcache.h) |
Initializes a new ISharedBitmap object with a given bitmap. |
|
shell\ISharedBitmap_InitializeBitmap.htm |
shell |
55018484-df70-43fa-b494-215035b90ceb |
12/05/2018 |
ISharedBitmap interface [Windows Shell],InitializeBitmap method, ISharedBitmap.InitializeBitmap, ISharedBitmap::InitializeBitmap, InitializeBitmap, InitializeBitmap method [Windows Shell], InitializeBitmap method [Windows Shell],ISharedBitmap interface, WTSAT_ARGB, WTSAT_RGB, WTSAT_UNKNOWN, _shell__InitializeBitmap, shell.ISharedBitmap_InitializeBitmap, thumbcache/ISharedBitmap::InitializeBitmap |
thumbcache.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Thumbcache.idl |
Windows |
19H1 |
|
|
|
|
|
|
Initializes a new ISharedBitmap object with a given bitmap.
Type: HBITMAP
A handle to the bitmap with which to initialize a new ISharedBitmap object. The bitmap must be a DIB.
Type: WTS_ALPHATYPE
The alpha type of the bitmap image. May be one of the following values.
Cannot determine whether the bitmap has an alpha channel.
The bitmap does not contain an alpha channel for transparency.
The bitmap contains an alpha channel for transparency.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
When an ISharedBitmap object is instantiated by the client (as opposed to being returned by the IThumbnailCache::GetThumbnailByID or IThumbnailCache::GetThumbnail methods), the underlying bitmap will not reside in shared memory.