Modern Systems Development for Windows 11
- From Kernel to Cloud: Mastering the Windows Platform Internals, APIs, and Architecture
Introduction: The Windows Platform at a Crossroads
- What This Book Covers
- Who Should Read This Book
- How to Use This Book
- The Windows Versions Covered
- A Note on Native vs Win32 APIs
Chapter 1: The Windows Architecture – A Modern Perspective
- The Layered Kernel Architecture
- User Mode versus Kernel Mode
- Executive Services and the Object Manager
- Hardware Abstraction and Driver Stack
- The Modern Windows Boot Process
- Platform Evolution: From NT to Windows 11
Chapter 2: Win32 API Fundamentals and Native APIs
- The Win32 Subsystem Architecture
- NTDLL and the Native API Surface
- Modern C++ Wrappers: WRL and Windows SDK Helpers
- Error Handling Patterns and HRESULT Semantics
- When to Use Win32 Versus Native APIs
- Legacy Compatibility and Deprecation Tracking
Chapter 3: Processes, Threads, and Execution Management
- Process Creation and Lifecycle Management
- Thread Internals and Scheduling
- Fibers and Lightweight Concurrency
- Job Objects and Resource Isolation
- Modern C++ Concurrency on Windows
- Performance Counters and Thread Profiling
Chapter 4: Memory Management and Virtual Address Spaces
- Virtual Memory Architecture
- Heap Implementation and Custom Allocators
- Large Pages and Memory-Mapped Files
- Commit Charge and Working Set Management
- Modern Memory APIs: VirtualAlloc2 and Beyond
- Memory Diagnostics and Leak Detection
Chapter 5: Synchronization, Locking, and Atomic Operations
- Critical Sections and Mutex Objects
- Semaphores, Events, and Wait Mechanisms
- Reader/Writer Locks and Slim Reader/Writer (SRW)
- Hardware Atomic Operations and Memory Barriers
- Condition Variables and Modern C++ Synchronization
- Deadlock Detection and Concurrency Debugging
Chapter 6: File Systems, Registry, and Storage Subsystems
- NTFS Architecture and Advanced Features
- ReFS and Modern Storage Requirements
- File System Filter Drivers and Minifilters
- Registry Internals and Configuration Management
- Volume Shadow Copy and Backup APIs
- Cloud Files and OneDrive Integration
- ACLs, SACLs, and Access Check Mechanism
- Mandatory Integrity Control and UAC
- File System and Registry Virtualization
- Modern Authentication: OAuth, Kerberos, and Windows Hello
- Secure Boot, TPM, and Hardware Root of Trust
- Modern Service Patterns with C++ and C#
- Driver Development Model and WDF
- IRP Processing and I/O Stack
- Plug and Play and Power Management
- Device Installation and Driver Signing
- WinHTTP and HTTP/2 Implementation
- TLS, SSL, and Certificate Management
- Network Isolation and Container Networking
- Cloud Integration Patterns and Azure SDK
Chapter 10: COM, WinRT, and Component Architecture
- COM Fundamentals and Object Lifetime
- Apartment Threading Model and Marshaling
- COM Registration and Activation
- WinRT: The Modern Component Platform
- Projections: C++, C#, and WinRT Interop
- ABI Contracts and Cross-Language Design
Chapter 11: Graphics, Multimedia, and UI Frameworks
- The Graphics Stack: From GDI to D3D12
- Direct3D 12 Architecture and Programming Model
- Direct2D, DirectWrite, and Text Rendering
- Multimedia: Media Foundation and Audio APIs
- WinUI 3 and the Windows App SDK
- XAML Architecture and Modern UI Patterns
Chapter 12: Shell Integration, IPC, and System Services
- Shell Extension Architecture
- Context Menus and File Handler Integration
- Named Pipes and Mailslot Communication
- Shared Memory and Memory-Mapped IPC
- Clipboard, Drag-and-Drop, and Data Exchange
- Modern IPC Patterns and Message Queues
WinDbg Preview commands (commonly used)
Debuggee machine (kernel debugger settings)
Debugger machine
- Memory Analysis and Crash Dump Diagnostics
- Performance Profiling with VTune and PerfView
- Production Diagnostics and Telemetry
- Application Verifier and Concurrency Violation Detection
Chapter 14: Modern Deployment, Virtualization, and Future Directions
- MSIX Packaging and Modern Deployment
- Windows Containers and Kubernetes Integration
- WSL Architecture and Interop Patterns
- Virtualization-Based Security and HVCI
- DirectML, ONNX Runtime, and AI on Windows
- Platform Evolution and Future Directions
Conclusion: Mastery Through Understanding
- Key Takeaways
- The Evolving Landscape
