How does it differ from the Win16 API?
• Integers are 32 bits wide: sizeof(int)==sizeof(long)==4 The 32 bit registers of the CPU (eax and siblings in the ‘386 and up) are used to manipulate these numbers, giving better performance. • Different parameter packing on some windows messages (especially WM_COMMAND) • lots of new API calls. Kernel: threads, lots of memory and asynchronous I/O stuff. Lots of new file handling routines, plus security built in. GDI: 32 bit co-ordinates, plus Co-ordinate Transform Matrices and paths (in NT) User: the Chicago common controls and shell extensions • Console mode apps can use all the API, and even create windows. Window-based apps can create consoles too -great for debugging. • Structured Exception handling can make your programs more robust, or at least allow them to tidy up after a crash. • The header files are a lot larger and better structured.