Bug #4203: broken RegCreateKeyExA definition in registry.rb
http://redmine.ruby-lang.org/issues/show/4203

Author: Rafa=C5=82 Michalski
Status: Open, Priority: High
Category: ext, Target version: 1.9.2
ruby -v: ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

in ext/dl/win32/lib/win32/registry.rb:

definition of advapi32.dll function: RegCreateKeyExA is broken (missing o=
ne argument). See: http://msdn.microsoft.com/en-us/library/ms724844%28v=3D=
vs.85%29.aspx
This bug was introduced in 1.9.2.

It is impossible (since 1.9.2) to create registry keys with Win32::Regist=
ry.create (raises ArgumentError) without this fix.


----------------------------------------
http://redmine.ruby-lang.org
SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBD
aGFuZ2VMb2cJKHdlcnNqYSAzMDM2NSkKKysrIENoYW5nZUxvZwkoa29waWEg
cm9ib2N6YSkKQEAgLTEsMyArMSw4IEBACitTYXQgRGVjIDI1IDIwOjMwOjMw
IDIwMTAgIFJhZmFsIE1pY2hhbHNraSAgPHJveWFsdG03NUBnbWFpbC5jb20+
CisKKwkqIGV4dC9kbC93aW4zMi9saWIvd2luMzIvcmVnaXN0cnkucmIgKEFQ
STo6UmVnQ3JlYXRlS2V5RXhBKToKKwkgIGluY29ycmVjdCBhcmd1bWVudCBs
aXN0ICh0b28gc2hvcnQpCisKIFNhdCBEZWMgMjUgMjA6MDE6NDAgMjAxMCAg
S09TQUtJIE1vdG9oaXJvICA8a29zYWtpLm1vdG9oaXJvQGdtYWlsLmNvbT4K
IAogCSogaW8uYyAocGlwZV9vcGVuKTogQWRkZWQgcmJfdGhyZWFkX2F0Zm9y
aygpLiBXZSBtdXN0IHJlaW5pdGlhbGl6ZQpJbmRleDogZXh0L2RsL3dpbjMy
L2xpYi93aW4zMi9yZWdpc3RyeS5yYgo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09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