method

call

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Win32API

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

These similar methods exist in v2_5_5:

call(*args) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/dl/win32/lib/Win32API.rb, line 19
  def call(*args)
    import = @proto.split("")
    args.each_with_index do |x, i|
      args[i], = [x == 0 ? nil : x].pack("p").unpack("l!*") if import[i] == "S"
      args[i], = [x].pack("I").unpack("i") if import[i] == "I"
    end
    ret, = @func.call(args)
    return ret || 0
  end
Register or log in to add new notes.