jruby/jruby — pull request #122 by GregMefford (2012-02-05 20:51:52+00:00)
Title: Resolves Major Bug in Win32OLE in 1.9 mode (JRUBY-5216)

Win32OLE does not load at all in Ruby1.9 mode, though it works in Ruby1.8 mode.
See http://jira.codehaus.org/browse/JRUBY-5216 for more details.

According to the Windows API docs, these functions come in ANSI and Unicode flavors, so I chose the ANSI flavor to match the others called out in the existing code.

See the following WinAPI docs:

* RegDeleteValue: http://msdn.microsoft.com/en-us/library/ms724851(v=vs.85).aspx
* RegDeleteKey: http://msdn.microsoft.com/en-us/library/ms724845(v=vs.85).aspx
* RegQueryInfoKey: http://msdn.microsoft.com/en-us/library/ms724902(v=vs.85).aspx