method

EnumValue

ruby latest stable - Class: Win32::Registry::API

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

EnumValue(hkey, index)
public

No documentation available.

# File ext/dl/win32/lib/win32/registry.rb, line 266
      def EnumValue(hkey, index)
        name = ' ' * Constants::MAX_KEY_LENGTH
        size = packdw(Constants::MAX_KEY_LENGTH)
        check RegEnumValueA.call(hkey, index, name, size, 0, 0, 0, 0)
        name[0, unpackdw(size)]
      end