End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Win32::Registry::API#EnumValue
EnumValue(hkey, index)
ext/win32/lib/win32/registry.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/ext/win32/lib/win32/registry.rb, line 301
def EnumValue(hkey, index)
name = WCHAR_NUL * Constants::MAX_KEY_LENGTH
size = packdw(Constants::MAX_KEY_LENGTH)
check RegEnumValueW.call(hkey, index, name, size, 0, 0, 0, 0)
name.byteslice(0, unpackdw(size) * WCHAR_SIZE)
end
No documentation available