class Win32::Registry::PredefinedKey
Predefined Keys
Public Class Methods
new
(hkey, keyname)
# File ext/win32/lib/win32/registry.rb, line 204 def initialize(hkey, keyname) @hkey = hkey @parent = nil @keyname = keyname @disposition = REG_OPENED_EXISTING_KEY end
Public Instance Methods
class
()
Fake class
method for Registry#open
, Registry#create
# File ext/win32/lib/win32/registry.rb, line 217 def class Registry end
close
()
Predefined keys cannot be closed
# File ext/win32/lib/win32/registry.rb, line 212 def close raise Error.new(5) ## ERROR_ACCESS_DENIED end