ISharedBitmapDetach Method

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.

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 Detach(
	out IntPtr refHandle
)

Parameters

refHandle  IntPtr
When this method returns, contains a pointer to a handle to the bitmap to retrieve.

Return Value

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

Remarks

See Also