Platform SDK: Win32 API

Windows 95/98 General Limitations

Certain functions and classes of functions, such as for security and event logging, are not supported by Windows 95/98. Windows 95/98 provides stub routines for these unsupported functions so that applications designed for other operating systems that fully support the Win32® application programming interface (API) can run on Windows 95/98 without errors.

The extended error codes returned by the GetLastError function are not guaranteed to be the same in Windows 95/98 and Windows NT/Windows 2000. This difference applies to extended error codes generated by calls to window management, GDI, and system services functions. For example, the ActivateKeyboardLayout, GetKeyboardLayoutName, and UnloadKeyboardLayout functions do not support extended error code values; that is, you cannot retrieve errors for these functions by using the GetLastError function.

By design, functions that take string parameters can handle either Unicode™ (wide character) or ANSI strings. However, Windows 95/98 does not implement the Unicode (or wide character) version of most functions. With few exceptions, these functions are implemented as stubs that simply return an error value. However, Windows 95/98 does provide Unicode implementations of the following functions.

EnumResourceLanguages
EnumResourceNames

EnumResourceTypes

ExtTextOut

FindResource
FindResourceEx
GetCharWidth
GetCommandLine
GetTextExtentPoint
GetTextExtentPoint32
lstrcat (Windows 98 only)
lstrcpy(Windows 98 only)
lstrlen
MessageBox

MessageBoxEx
TextOut

In addition, Windows 95/98 implements the MultiByteToWideChar and WideCharToMultiByte functions for converting strings to and from Unicode.