Skip to content

Latest commit

 

History

History
95 lines (67 loc) · 3.21 KB

nf-thumbcache-isharedbitmap-initializebitmap.md

File metadata and controls

95 lines (67 loc) · 3.21 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
NF:thumbcache.ISharedBitmap.InitializeBitmap
ISharedBitmap::InitializeBitmap (thumbcache.h)
Initializes a new ISharedBitmap object with a given bitmap.
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
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
ISharedBitmap::InitializeBitmap
thumbcache/ISharedBitmap::InitializeBitmap
c++
APIRef
kbSyntax
COM
Thumbcache.h
ISharedBitmap.InitializeBitmap

ISharedBitmap::InitializeBitmap

-description

Initializes a new ISharedBitmap object with a given bitmap.

-parameters

-param hbm [in]

Type: HBITMAP

A handle to the bitmap with which to initialize a new ISharedBitmap object. The bitmap must be a DIB.

-param wtsAT [in]

Type: WTS_ALPHATYPE

The alpha type of the bitmap image. May be one of the following values.

WTSAT_UNKNOWN

Cannot determine whether the bitmap has an alpha channel.

WTSAT_RGB

The bitmap does not contain an alpha channel for transparency.

WTSAT_ARGB

The bitmap contains an alpha channel for transparency.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

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.