Microsoft KB Archive/129542

{|
 * width="100%"|

How To Use the Registry Under Win32s

 * }

Q129542

-

The information in this article applies to:


 * Microsoft Win32s versions 1.2, 1.3, 1.30a, 1.3c

-

SUMMARY
A Win32s-based application running under Win32s is limited to the Windows version 3.1 view of the registry. This means that there are no named values. In addition, HKEY_CLASSES_ROOT is available, but not HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER.

The Windows version 3.1 registry is very limited in size. It is recommended that you store only the OLE registration information in the Windows registry.

MORE INFORMATION
While Win32s does support some Registry APIs that Windows does not, it does not support all of the Win32 Registry APIs. For a complete list of the Registry APIs supported under Win32s, please see the file WIN32API.CSV, that is included with the Win32 Software Development Kit (SDK) and in Microsoft Visual C++ (32-bit edition).

NOTE: All supported Registry APIs, except for RegQueryValueA and RegQueryValueExA, return the error codes defined for Windows version 3.1, not the codes defined by the Win32 API.

Additional query words: 1.20

Keywords : kbOSWin32s

Issue type :

Technology : kbWin32sSearch kbWin32s120 kbWin32s130 kbWin32s130a kbWin32s130c