DL Library - Ruby 1.9.2 - Windows

Does anybody know where documentation is for using the DL library in
1.9.2? I’m trying to understand the syntax, and how it differs from the
DL library in Ruby 1.8. Could someone give me a quick example of calling
the MessageBox function?
(MessageBox function (winuser.h) - Win32 apps | Microsoft Learn)

A starting point is: http://rubyforge.org/projects/win32utils/

The Win32Utils project is a series of libraries that provide Ruby
interfaces to various Windows systems and services. This project only
supports Windows 2000 and later.

In particular, look at win32-api.

have a good day,

Thank you for the response John. I assume you mean something like this:

require ‘Win32API’

msgbox = Win32API.new(“user32”, “MessageBox”, [‘i’,‘p’,‘p’,‘i’], ‘i’)
msgbox.call(0, ‘message’, “title”, 0)

I was looking for an example using the DL Library. I was under the
impression this library was reimplemented in version 1.9.2:
“About Ruby 1.9.2 … •dl is reimplemented on top of libffi.”