Table of Contents

Class HookHandle

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public abstract class HookHandle : SafeHandle, IDisposable
Inheritance
HookHandle
Implements
Derived
Inherited Members

Constructors

HookHandle(bool)

protected HookHandle(bool ownsHandle)

Parameters

ownsHandle bool

Properties

IsInvalid

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override sealed bool IsInvalid { get; }

Property Value

bool

true if the handle value is invalid; otherwise, false.

Methods

Equals(HookHandle?)

public bool Equals(HookHandle? other)

Parameters

other HookHandle

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetData()

public IntPtr GetData()

Returns

IntPtr

GetDestroy()

public DestroyNotify GetDestroy()

Returns

DestroyNotify

GetFlags()

public uint GetFlags()

Returns

uint

GetFunc()

public IntPtr GetFunc()

Returns

IntPtr

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetHookId()

public ulong GetHookId()

Returns

ulong

GetNext()

public IntPtr GetNext()

Returns

IntPtr

GetPrev()

public IntPtr GetPrev()

Returns

IntPtr

GetRefCount()

public uint GetRefCount()

Returns

uint

SetData(IntPtr)

public void SetData(IntPtr value)

Parameters

value IntPtr

SetDestroy(DestroyNotify)

public void SetDestroy(DestroyNotify value)

Parameters

value DestroyNotify

SetFlags(uint)

public void SetFlags(uint value)

Parameters

value uint

SetFunc(IntPtr)

public void SetFunc(IntPtr value)

Parameters

value IntPtr

SetHookId(ulong)

public void SetHookId(ulong value)

Parameters

value ulong

SetNext(IntPtr)

public void SetNext(IntPtr value)

Parameters

value IntPtr

SetPrev(IntPtr)

public void SetPrev(IntPtr value)

Parameters

value IntPtr

SetRefCount(uint)

public void SetRefCount(uint value)

Parameters

value uint