OS/2 defines the base set of persistent keys in the DOS branch of the name space, hanging off WINOS2 node. The root of these registry keys is called winreg. Beneath winreg, the following structure exists:
winreg (root) --- | |-- REGH_WINOS2INI | |--- WIN.INI | |- WINI_FONTS | |- WINI_INTL | |- WINI_DEVICES | |- WINI_WINDOWS | |--- xxxxxxxxx (application ini file name) | |-- REGH_SYSINFO | |--TIME | |- TIME_SETTING | | --- REGH_INIMAPPING (All mappings take place under REGH_WINOS2INI directory) |----WIN.INI (contains value name "FONTS" with value "WIN.INI\WINI_INTL") (contains value name "DEVICES" with value "WIN.INI\WINI_DEVICES") (contains value name "WINDOWS" with value "WIN.INI\WINI_WINDOWS")
winreg is a name space node, not accessible through Windows 32-bit registry functions. In addition to actual key handles, you can use the following as input handles to Windows 32-bit registry functions:
They are defined in os2win.h.
The following describes the subdirectories in the tree:
REGH_WINOSINI
There is only one value contained in WINI_WINDOWS: the default printer device (value name device).