Lecture-1-Introduction to Windows-System-Programming
Lecture-1-Introduction to Windows-System-Programming
IntroductiontoWindows
SystemProgramming
Windows
Windows is an operating system developed by Microsoft.
Itprovidesa graphical user interface (GUI) for interacting
withyour computer.key Features:
Windows
OS provides these core features through the WindowsAPI,
enabling developers to interact seamlessly withsystem
resources.
Memory: The OS manages a large, flat, virtual
memoryaddressspaceand transparently moves information between
physical memoryanddiskand other secondary storage.
WindowsEvolution
Windows has evolved over time while maintaining a stable
API that ensures compatibility across different versions. Key
aspects of its evolution include:
Evolution of Windows OS
1 Windows 11 (2021)
Modern UI, better multitasking, gaming
enhancements, and AI integration.
2 Windows 10 (2015)
Classic Start menu returns, frequent updates,
improved security, and performance.
Windows 7 (2009)
3
Improved performance, better UI, enhanced security
features. 4 Windows XP (2001)
Highly stable, widely used, marking a significant
milestone.
5 Windows 2000/NT (1993-1999)
Built for professional use, introducing NTFS for
enhanced stability, scalability, and security.
Windows Architecture Windows operating system is built on
a modular architecture that ensures stability, performance, and security. It follows a hybrid
kernel model, combiningfeatures of monolithic and microkernel designs to balance flexibility
andefficiency. hybrid kernel model: is a type of operating system kernel that combines
features of both monolithic and microkernels.
Windows supports both 32-bit (Win32) and 64-bit (Win64) applications. 32-bit applications have a max 4GB memory addressing,4-byte
pointer size, and limited performance for large applications. 64-bit applications have larger memory access, 8-bytepointersize, and better
performance and security. 32-bit supports large files using 64-bit functions, while 64-bit is more efficient. Usedata types that support
both architectures, e.g., SIZE_T instead of int for memory sizes.
Advantages of Windows Development