Table of Contents

Enum UioHookResult

Namespace
SharpHook.Data
Assembly
SharpHook.dll

Represents a result of an operation of libuiohook.

public enum UioHookResult

Fields

ErrorAxApiDisabled = 64

Accessibility API access is disabled for the process (macOS)

ErrorAxApiRevoked = 69

Accessibility API access has been revoked 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 has failed (macOS)

ErrorCreateRunLoopSource = 66

CFRunLoopSourceCreate or CFMachPortCreateRunLoopSource has failed (macOS)

ErrorGetModuleHandle = 49

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

ErrorGetRunLoop = 67

CFRunLoopGetCurrent has failed (macOS)

ErrorNull = 3

null was passed to PostText(string) or PostEvents(UioHookEvent[], uint)

ErrorOutOfMemory = 2

Out of memory

[Obsolete("Use ErrorNull instead")] ErrorPostTextNull = 3

null was passed to PostText(string) or PostEvents(UioHookEvent[], uint)

ErrorSetWindowsHookEx = 48

SetWindowsHookEx has failed (Windows)

ErrorXOpenDisplay = 32

XOpenDisplay has failed (X11)

ErrorXRecordAllocRange = 34

XRecordAllocRange has failed (X11)

ErrorXRecordCreateContext = 35

XRecordCreateContext has failed (X11)

ErrorXRecordEnableContext = 36

XRecordEnableContext has failed (X11)

ErrorXRecordGetContext = 37

XRecordGetContext has failed (X11)

ErrorXRecordNotFound = 33

XRecord not found (X11)

Failure = 1

Failure

Success = 0

Success

See Also