ISharedBitmap Interface
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.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[ComImportAttribute]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("091162a4-bc96-411f-aae8-c5122cd03363")]
public interface ISharedBitmap
<ComImportAttribute>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
<GuidAttribute("091162a4-bc96-411f-aae8-c5122cd03363")>
Public Interface ISharedBitmap
Dim instance As ISharedBitmap
[ComImportAttribute]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"091162a4-bc96-411f-aae8-c5122cd03363")]
public interface class ISharedBitmap
[<ComImportAttribute>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("091162a4-bc96-411f-aae8-c5122cd03363")>]
type ISharedBitmap = interface end
No code example is currently available or this language may not be supported.
Detach
|
Retrieves the bitmap contained in an ISharedBitmap object,
and returns a copy if the contained bitmap resides in shared memory.
After calling this method the bitmap is no longer associated with this ISharedBitmap object
and you cannot call GetSharedBitmap(IntPtr)
or Detach(IntPtr) on it again.
|
GetFormat
|
Retrieves the alpha type of the bitmap image..
|
GetSharedBitmap
|
Retrieves the bitmap contained in an ISharedBitmap object.
|
GetSize
|
Retrieves the size of the bitmap contained in an ISharedBitmap object.
|
InitializeBitmap
|
Initializes a new ISharedBitmap object with a given bitmap.
|