Class: AutoItX3::AU3_Function

Inherits:
Win32::API
  • Object
show all
Defined in:
lib/AutoItX3/au3.rb

Overview

This subclass of Win32::API is only used internally to make it a bit easier to create bindings the functions of AutoItX3.

Instance Method Summary collapse

Constructor Details

#initialize(name, arguments, returnvalue = 'V') ⇒ AU3_Function

Creates a new AU3_Function object. Takes the name, the arguments and the returnvalue of the function. name will be prefixed by “AU3_” and the DLL is set to “AutoItX3.dll”. If you ommit the returnvalue, it’s assumed to be of void type (‘V’).



134
135
136
# File 'lib/AutoItX3/au3.rb', line 134

def initialize(name, arguments, returnvalue = 'V')
  super("AU3_#{name}", arguments, returnvalue, "AutoItX3.dll")
end