Sha256: 1377d72d0135b10f7bd8928d428ce7a750edb7f02a182465eba75f437017a4de

Contents?: true

Size: 809 Bytes

Versions: 1

Compression:

Stored size: 809 Bytes

Contents

module RAutomation
  module Adapter
    module Ffi
      module Constants
        WM_GETTEXT = 0xD
        WM_SETTEXT = 0xC
        WM_GETTEXTLENGTH = 0xE
        WM_CLOSE = 0x10

        SW_MAXIMIZE = 3
        SW_MINIMIZE = 6
        SW_RESTORE = 9

        SMTO_ABORTIFHUNG = 0x2

        STANDARD_RIGHTS_REQUIRED = 0xF0000 
        SYNCHRONIZE = 0x100000
        PROCESS_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xFFF

        BM_CLICK = 0xF5

        # keybd_event constants
        # http://msdn.microsoft.com/en-us/library/ms646304(VS.85).aspx
        #
        # keycodes themselves are at:
        # http://msdn.microsoft.com/en-us/library/dd375731(v=VS.85).aspx
        KEYEVENTF_EXTENDEDKEY = 0x1
        KEYEVENTF_KEYUP = 0x2
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rautomation-0.1.0 lib/rautomation/adapter/ffi/constants.rb