“If you’re writing a native Win32 program or just want to know what the OS is really doing underneath, you need John’s book. He covers the stuff that real systems programmers absolutely must know. Recommended.” –Chris Sells, Microsoft Corporation “This fourth edition does a great job of incorporating new features in the Vista, Windows 2008, and Windows 7 API, but also stays true to teaching the foundational elements of building applications that target the Windows OS.” –Jason Beres, Product Management, Infragistics The Definitive Guide to Windows API Programming, Fully Updated for Windows 7, Windows Server 2008, and Windows Vista Windows System Programming, Fourth Edition, now contains extensive new coverage of 64-bit programming, parallelism, multicore systems, and many other crucial topics. Johnson Hart’s robust code examples have been updated and streamlined throughout. They have been debugged and tested in both 32-bit and 64-bit versions, on single and multiprocessor systems, and under Windows 7, Vista, Server 2008, and Windows XP. To clarify program operation, sample programs are now illustrated with dozens of screenshots. Hart systematically covers Windows externals at the API level, presenting practical coverage of all the services Windows programmers need, and emphasizing how Windows functions actually behave and interact in real-world applications. Hart begins with features used in single-process applications and gradually progresses to more sophisticated functions and multithreaded environments. Topics covered include file systems, memory management, exceptions, processes, threads, synchronization, interprocess communication, Windows services, and security. New coverage in this edition includes Leveraging parallelism and maximizing performance in multicore systems Promoting source code portability and application interoperability across Windows, Linux, and UNIX Using 64-bit address spaces and ensuring 64-bit/32-bit portability Improving performance and scalability using threads, thread pools, and completion ports Techniques to improve program reliability and performance in all systems Windows performance-enhancing API features available starting with Windows Vista, such as slim reader/writer locks and condition variables A companion Web site, jmhartsoftware.com, contains all sample code, Visual Studio projects, additional examples, errata, reader comments, and Windows commentary and discussion. The Definitive Guide To Programming With The Windows Api - Now Updated For Microsoft's Latest Apis And Best Practices • •includes Extensive New Coverage Of Win64, Parallelism, Multicore System Performance, Source Code Portability, .net Coexistence, Security, Benchmarking, And Much More. •updated, Streamlined Code Examples Reflect Today's Most Effective Windows Programming Techniques. •the Perfect Practical Complement To Mark Russinovich's Windows Internals Windows System Programming, 4/e Is The Definitive Developer's Guide To Making The Most Of Of The Core Windows Api, Including Those Introduced With Windows Vista, Windows Server 2008, And Beyond. Thoroughly Updated To Reflect Microsoft's New Apis, This Book Focuses On Essential Core System Services -- File System, Memory, Processes And Threads, Synchronization, Communication, And Security -- Rather Than The More Commonly Featured Graphical User Interface Functions. Beginning With An Examination Of The Features Required In A Single-process Application, The Text Gradually Progresses To Increasingly Sophisticated Functions And Multithreaded Environments. Each Chapter Contains Realistic Examples, And This Edition's Code Samples Have Been Updated And Streamlined To Reflect Today's Best Practices For Windows Development And 64-bit Code Portability. This Edition's Extensive New Coverage Includes: ' An All-new Chapter On Parallelism And Performance In Multicore Systems ' Detailed New Coverage Of Source Code Portability Across Windows, Linux, And Unix ' New Coverage Of .net And Managed Code Impact And Co-existence ' When, Why, And How To Use The Windows Api Vs. .net ' More Coverage Of Security, Benchmarking, And Other Key Topics. Many Readers Have Noted That Hart's Book Perfectly Complements Mark Russinovich's Well-known Windows Internals. Hart Shows Us How To Make The Most Of The Features That Russinovich Describes. About the author Getting started with Windows Using the Windows file system and character I/O Advanced file and directory processing, and the registry Exception handling Memory management, memory-mapped files, and DLLs Process management Threads and scheduling Thread synchronization Locking, performance, and NT6 enhancements Advanced thread synchronization Interprocess communication Network programming with Windows sockets Windows services Asynchronous input/output and completion ports Securing Windows objects Using the sample programs Source code portability : Windows, UNIX, and Linux Performance results.