ISharedBitmapInitializeBitmap Method

Initializes a new ISharedBitmap object with a given bitmap.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
HResult InitializeBitmap(
	IntPtr handle,
	ThumbnailAlphaType alphaType
)

Parameters

handle  IntPtr
A handle to the bitmap with which to initialize a new ISharedBitmap object.

The bitmap must be a DIB.

alphaType  ThumbnailAlphaType
The alpha type of the bitmap image.

Return Value

HResult
If the method succeeds, it returns S_OK. If it fails, it returns an HResult value.

Remarks

See Also