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 IntPtr GetData()
Returns
GetDestroy()
public DestroyNotify GetDestroy()
Returns
GetFlags()
public uint GetFlags()
Returns
GetFunc()
public IntPtr GetFunc()
Returns
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
GetNext()
public IntPtr GetNext()
Returns
GetPrev()
public IntPtr GetPrev()
Returns
GetRefCount()
public uint GetRefCount()
Returns
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