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.
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.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
HResult Detach(
out IntPtr refHandle
)
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Function Detach (
<OutAttribute> ByRef refHandle As IntPtr
) As HResult
Dim instance As ISharedBitmap
Dim refHandle As IntPtr
Dim returnValue As HResult
returnValue = instance.Detach(refHandle)
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
HResult Detach(
[OutAttribute] IntPtr% refHandle
)
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
abstract Detach :
refHandle : IntPtr byref -> HResult
No code example is currently available or this language may not be supported.
- refHandle IntPtr
-
When this method returns, contains a pointer to a handle to the bitmap to retrieve.
HResult
If the method succeeds, it returns
S_OK.
If it fails, it returns an
HResult value.