mozilla
Your Search Results

    XPInstall API Reference:WinReg Object:WinRegValue

    winRegValue constructor

    (Windows only)

    Creates a WinRegValue object.

    Syntax

    WinRegValue ( int datatype, byte[] regdata);
    

    Parameters

    The WinRegValue constructor takes the following parameter:

    datatype
    An integer indicating the type of the data encapsulated by this object. The possible values are:
    WinRegValue.REG_SZ = 1
    WinRegValue.REG_EXPAND_SZ = 2
    WinRegValue.REG_BINARY = 3
    WinRegValue.REG_DWORD = 4
    WinRegValue.REG_DWORD_LITTLE_ENDIAN = 4
    WinRegValue.REG_DWORD_BIG_ENDIAN = 5
    WinRegValue.REG_LINK = 6
    WinRegValue.REG_MULTI_SZ = 7
    WinRegValue.REG_RESOURCE_LIST = 8
    WinRegValue.REG_FULL_RESOURCE_DESCRIPTOR = 9
    WinRegValue.REG_RESOURCE_REQUIREMENTS_LIST = 10
    regdata
    A Java byte array containing the data.

    Returns

    A new WinRegValue object, with the data members type and data set to the values passed to this constructor.

    Description

    Advanced Windows developers can use this object to manipulate non-string values for the Windows Registry.

    An object of this type has two fields: the type of the data and the value. For information on the possible data types for a registry value, see your Windows API documentation. You supply the value for these fields to the constructor for this class.

    Document Tags and Contributors

    Contributors to this page: Anonymous
    Last updated by: Anonymous,