| Class | Win32API |
| In: |
dl/lib/dl/win32.rb
|
| Parent: | Object |
| DLL | = | {} |
# File dl/lib/dl/win32.rb, line 8 def initialize(dllname, func, import, export = "0") prototype = (export + import.to_s).tr("VPpNnLlIi", "0SSI") handle = DLL[dllname] ||= DL::Handle.new(dllname) @sym = handle.sym(func, prototype) end