0%

Book Description

“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.

    Table of Contents

    1. Title Page
    2. Copyright Page
    3. Contents
    4. Figures
    5. Tables
    6. Programs
    7. Program Runs
    8. Preface
    9. About the Author
    10. Chapter 1. Getting Started with Windows
    11. Chapter 2. Using the Windows File System and Character I/O
    12. Chapter 3. Advanced File and Directory Processing, and the Registry
    13. Chapter 4. Exception Handling
    14. Chapter 5. Memory Management, Memory-Mapped Files, and DLLs
    15. Chapter 6. Process Management
    16. Chapter 7. Threads and Scheduling
    17. Chapter 8. Thread Synchronization
    18. Chapter 9. Locking, Performance, and NT6 Enhancements
    19. Chapter 10. Advanced Thread Synchronization
    20. Chapter 11. Interprocess Communication
    21. Chapter 12. Network Programming with Windows Sockets
    22. Chapter 13. Windows Services
    23. Chapter 14. Asynchronous Input/Output and Completion Ports
    24. Chapter 15. Securing Windows Objects
    25. Appendix A. Using the Sample Programs
    26. Appendix B. Source Code Portability: Windows, UNIX, and Linux
    27. Appendix C. Performance Results
    28. Bibliography
    29. Index
    18.218.55.14