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