How To Use the Registry Under Win32s

ID: Q129542

1.20 1.30 1.30a 1.30c WINDOWS kbprg kbhowto

The information in this article applies to:

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.

KBCategory: kbprg kbhowto KBSubcategory: W32s Additional reference words: 1.20 1.30 1.30a 1.30c

Keywords          : kbWin32s 
Version           : 1.20 1.30 1.30a 1.30c
Platform          : WINDOWS

Last Reviewed: October 12, 1997