文档介绍:Windows System Programming Third Edition
By Johnson M. Hart
Publisher: Addison Wesley Professional
Pub Date: October 26, 2004
ISBN: 0-321-25619-0
Table of Pages: 576
•
Contents
• Index
Copyright
Praise for Windows System Programming, Third Edition
Figures
Tables
Programs
Preface
Audience
Changes in the Third Edition
Organization
UNIX and C Library Notes and Tables
Examples
The Web Site
Acknowledgments
Chapter 1. Getting Started with Win32 and Win64
Operating System Essentials
Windows Evolution
Windows Versions
The Windows Market Role
Windows, Standards, and Open Systems
Windows Principles
Getting Ready for Win64
The Standard C Library: When to Use It for File Processing
What You Need to Use This Book
Example: A Simple Sequential File Copy
Summary
Exercises
Chapter 2. Using the Windows File System and Character I/O
The Windows File Systems
File Naming
1
Opening, Reading, Writing, and Closing Files
Interlude: Unicode and Generic Characters
Unicode Strategies
Standard Devices and Console I/O
Example: Printing and Prompting
Example: Error Processing
Example: Copying Multiple Files to Standard Output
Example: ASCII to Unicode Conversion
File and Directory Management
Example: Printing the Current Directory
Summary
Exercises
Chapter 3. Advanced File and Directory Processing, and the Registry
The 64-Bit File System
File Pointers
Getting the File Size
Example: Random Record Updates
File Attributes and Directory Processing
Mount Points
Example: Listing File Attributes
Example: Setting File Times
File Processing Strategies
File Locking
The Registry
Registry Management
Example: Listing Registry Keys and Contents
Summary
Exercises
Chapter 4. Exception Handling
Exceptions and Their Handlers
Floating-Point Exceptions
Errors and Exceptions
Example: Treating Errors as Exceptions
Termination Handlers
Example: Using Termination Handlers to Improve Program Quality
Exa