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 nint GetData()

Returns

nint

GetDestroy()

public DestroyNotify GetDestroy()

Returns

DestroyNotify

GetFlags()

public uint GetFlags()

Returns

uint

GetFunc()

public nint GetFunc()

Returns

nint

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetHookId()

public CULong GetHookId()

Returns

CULong

GetNext()

public nint GetNext()

Returns

nint

GetPrev()

public nint GetPrev()

Returns

nint

GetRefCount()

public uint GetRefCount()

Returns

uint

SetData(nint)

public void SetData(nint value)

Parameters

value nint

SetDestroy(DestroyNotify)

public void SetDestroy(DestroyNotify value)

Parameters

value DestroyNotify

SetFlags(uint)

public void SetFlags(uint value)

Parameters

value uint

SetFunc(nint)

public void SetFunc(nint value)

Parameters

value nint

SetHookId(CULong)

public void SetHookId(CULong value)

Parameters

value CULong

SetNext(nint)

public void SetNext(nint value)

Parameters

value nint

SetPrev(nint)

public void SetPrev(nint value)

Parameters

value nint

SetRefCount(uint)

public void SetRefCount(uint value)

Parameters

value uint