Status: ✅ COMPLETE

Scope: How the Windows desktop really works: Explorer as the shell, the taskbar and Start menu, windows and handles, the window manager and DWM, notifications and the clipboard, and how mouse and keyboard input reaches a program
Time to complete: 90–120 minutes of reading + lab
Prerequisites: Chapter 8 (Windows Architecture), Chapter 9 (Processes), Chapter 10 (Threads), Chapter 24 (Windows Authentication)
What you'll know after: What explorer.exe and dwm.exe do, what a window handle and message loop are, how a click travels from the mouse to a running program, and how to restart a frozen shell safely


INTRODUCTION

To most people, "Windows" is the desktop: the wallpaper, the icons, the taskbar and the Start menu. But all of that is ordinary programs drawing on top of the operating system. Once you know which program does what, a frozen taskbar, a "Not Responding" window or a slow right-click stops being a mystery.

This chapter uses plain words and diagrams. Every technical term is explained the first time it appears. It ends with one complete story that joins hardware, drivers, the kernel, Explorer, process creation and the graphics system: what really happens when you click an icon.

This chapter explains:

  • Why explorer.exe is both File Explorer and the shell, and why it can be restarted
  • What the desktop, taskbar, notification area and Start menu really are
  • What windows, handles (HWND), classes and message queues are
  • How the window manager and the Desktop Window Manager (DWM) draw the screen with the GPU
  • How toast notifications and the clipboard work as shared services
  • How keyboard and mouse input finds the right window
  • The full chain from a mouse movement to a new window on screen

CHAPTER OUTLINE


Chapter Status: Complete
Estimated reading time: 100 minutes
Practical time: 30 minutes
Knowledge check time: 30 minutes