This is part of Win16 API which allow to create versions of program from one source code to run under OS/2 and Win16. Under OS/2 program can be running under Win-OS/2 if program is Windows NE executable, and with help on Windows Libraries for OS/2, if it is OS/2 NE executable. Here is a WLO to OS/2 API mapping draft

Win16 Personality: A Windows 3.x Compatibility Layer

The Win16 Personality is a project to create a free, open-source reimplementation of the 16-bit Microsoft Windows 3.x operating environment. It aims to provide compatibility with Windows 3.0, Windows 3.1, and Windows 3.11 for running classic Win16 applications.

Project Goals

Provide binary compatibility for a range of applications built for Windows 3.1/3.11.

Reimplement core system components: KERNEL.EXE, USER.EXE, GDI.EXE.

Serve as a research and educational platform for the classic Windows 3.x architecture.

Integrate the Win16 environment as one of the “Personalities” within the osFree microkernel OS, and ensure it can also run on pure DOS.

Current Status

The project is in early development (alpha stage). Current work focuses on the core 16-bit KERNEL. Critical GUI subsystems USER and GDI, required to run most Windows 3.x programs, are not yet implemented. The first practical milestone is to correctly run simple system utilities like WinVer.

Components and Applications

As part of the project, clones of classic Windows 3.x applications are also being developed:

[https://github.com/osfree-project/winver WinVer] – a clone of the system utility displaying Windows version.

[https://github.com/osfree-project/taskman Task Manager] – a clone of the Task Manager.

[https://github.com/osfree-project/notepad Notepad] – a clone of the simple text editor.

The main project source code is available in the repository: [https://github.com/osfree-project/WIN16 osfree-project/WIN16]

Related Pages

[en:start Main osFree page]

[https://en.wikipedia.org/wiki/Windows_3.1x Windows 3.1x] – Wikipedia article about this OS family.

Applications

Name	Status
CALC (pure API)
CALENDAR
CARDFILE
CHARMAP (pure API)
Clipboard Viewer (pure API)	Done
Clock (pure API)	Done
Control Panel
DRWATSON
EXPAND	Done
FASTOPEN	Done
MPLAYER
MSD
Notepad (pure API)	Done
PACKAGER
PBRUSH (ATL)
PIF Editor (pure API)
PRINTMAN
Program Manager (pure API)
REGEDIT
SETUP
SOL (pure API)
Sound Recorder
System Configuration Editor (pure API)	Done
Task Manager (pure API)	Done
WINFILE (pure API)
WINHELP (pure API)
Minesweeper (pure API)	Done
WINSHELD
Windows Version (pure API)	Done
WRITE

API

BIOS API

DOS API

XMS API

Task List API

DOSX API

LOGO API

Screen grabbers API

Task switcher API

SYSTEM driver

KEYBOARD driver

MOUSE driver

DISPLAY driver

KERNEL modue

GDI module

USER module

SHELL module

LZEXPAND module