Flowdock
method

call

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Win32API
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.