Table of Contents

Enum UioHookResult

Namespace
SharpHook.Native
Assembly
SharpHook.dll

Represents a result of an operation of libuiohook.

public enum UioHookResult

Fields

ErrorAxApiDisabled = 64

Accessibility API is disabled for the process (macOS)

ErrorCreateEventPort = 65

Failed to create an event port (macOS)

ErrorCreateInvisibleWindow = 50

Couldn't create an invisible window which will listen to screen changes (Windows)

ErrorCreateObserver = 68

CFRunLoopObserverCreate failed (macOS)

ErrorCreateRunLoopSource = 66

CFRunLoopSourceCreate or CFMachPortCreateRunLoopSource failed (macOS)

ErrorGetModuleHandle = 49

Couldn't get a module handle for SetWindowsHookEx (Windows)

ErrorGetRunLoop = 67

CFRunLoopGetCurrent failed (macOS)

ErrorOutOfMemory = 2

Out of memory

ErrorPostTextNull = 3

A null string was passed to PostText(string).

ErrorSetWindowsHookEx = 48

SetWindowsHookEx failed (Windows)

ErrorXOpenDisplay = 32

XOpenDisplay failed (X11)

ErrorXRecordAllocRange = 34

XRecordAllocRange failed (X11)

ErrorXRecordCreateContext = 35

XRecordCreateContext failed (X11)

ErrorXRecordEnableContext = 36

XRecordEnableContext failed (X11)

ErrorXRecordGetContext = 37

XRecordGetContext failed (X11)

ErrorXRecordNotFound = 33

XRecord not found (X11)

Failure = 1

Failure

Success = 0

Success

See Also