Table of Contents

Class Win32HCursorClassOwnedHandle

Namespace
GdkWin32.Internal
Assembly
GdkWin32-4.0.dll
public class Win32HCursorClassOwnedHandle : Win32HCursorClassHandle, IDisposable
Inheritance
Win32HCursorClassOwnedHandle
Implements
Inherited Members

Constructors

Win32HCursorClassOwnedHandle(nint)

Creates a new instance of Win32HCursorClassOwnedHandle. Assumes that the given pointer is owned by the runtime.

public Win32HCursorClassOwnedHandle(nint ptr)

Parameters

ptr nint

Methods

FromUnowned(nint)

Create a Win32HCursorClassOwnedHandle from a pointer that is assumed unowned.

public static Win32HCursorClassOwnedHandle FromUnowned(nint ptr)

Parameters

ptr nint

A pointer to a Win32HCursorClass which is not owned by the runtime.

Returns

Win32HCursorClassOwnedHandle

A Win32HCursorClassOwnedHandle

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

protected override bool ReleaseHandle()

Returns

bool

true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.