How To Use the Registry Under Win32s

ID: 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 : kbWin32s
Version : WINDOWS:1.2,1.3,1.30a,1.3c
Platform : WINDOWS
Issue type :


Last Reviewed: January 14, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.


Send feedback to MSDN.Look here for MSDN Online resources.