Table of Contents

Class Win32SurfaceClassUnownedHandle

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

Constructors

Win32SurfaceClassUnownedHandle(nint)

Creates a new instance of Win32SurfaceClassUnownedHandle. Assumes that the given pointer is unowned by the runtime.

public Win32SurfaceClassUnownedHandle(nint ptr)

Parameters

ptr nint

Properties

NullHandle

public static Win32SurfaceClassUnownedHandle NullHandle { get; }

Property Value

Win32SurfaceClassUnownedHandle

Methods

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.