Certain functions and classes of functions, such as for security and event logging, are not supported by Windows 95. Windows 95 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 without errors.
The extended error codes returned by the GetLastError function are not guaranteed to be the same in Windows 95 and Windows NT. 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 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 does provide Unicode implementations of the following functions.
ExtTextOut GetCharWidth GetTextExtentExPoint GetTextExtentPoint |
MessageBox MessageBoxEx TextOut |
In addition, Windows 95 implements the MultiByteToWideChar and WideCharToMultiByte functions for converting strings to and from Unicode.