Class HookHandle
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
Methods
Equals(HookHandle?)
public bool Equals(HookHandle? other)
Parameters
other
HookHandle
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetData()
public nint GetData()
Returns
GetDestroy()
public DestroyNotify GetDestroy()
Returns
GetFlags()
public uint GetFlags()
Returns
GetFunc()
public nint GetFunc()
Returns
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
GetNext()
public nint GetNext()
Returns
GetPrev()
public nint GetPrev()
Returns
GetRefCount()
public uint GetRefCount()
Returns
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