Sha256: d57345502b1ed6e0ee2fbd02f24258a8d7c69c8bbaef4dae18d56ad9ec375558

Contents?: true

Size: 631 Bytes

Versions: 2

Compression:

Stored size: 631 Bytes

Contents

module RAutomation
  module Adapter
    module Ffi
      # @private
      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
        KEYEVENTF_EXTENDEDKEY = 0x1
        KEYEVENTF_KEYUP = 0x2
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rautomation-0.2.1 lib/rautomation/adapter/ffi/constants.rb
rautomation-0.2.0 lib/rautomation/adapter/ffi/constants.rb