Chapter 1:Introduction How the Win32 Library Is Structured How the Win32 Library Is Designed Chapter 2:What’s In This Volume? Processes and Threads Memory Interprocess Communications File Operations Debugging Unicode Chapter 3:Using Microsoft Reference Resources The Microsoft Developer Network(MSDN) Comparing MSDN and MSDN Online MSDN Subscriptions MSDN Library Subscription MSDN Professional Subscription MSDN Universal Subscription Purchasing an MSDN Subscription Using MSDN Exploring MSDN Quick Tips Using MSDN Online Exploring MSDN Online MSDN Online Features MSDN Online Registered Users The Windows Programming Reference Series Chapter 4:Finding the Developer Resources You Need Developer Support Online Resources Learning Products Conferences Other Resources Chapter 5:Getting the Most out of Win32 Technologies:Part 1 Overview Volume 2:User Interface Volume 3:GDI Volume 4:Common Controls Volume 5:The Windows Shell Solution Summary Chapter 6:Processes,Threads,and DLLs Processes and Threads About Processes and Threads Multitasking Scheduling Multiple Threads Child Processes Process Working Set Thread Pooling Job Objects Fibers Process and Thread Reference Process and Thread Functions Process and Thread Structures Process and Thread Macros Dynamic Link Libraries About Dynamic Link Libraries Advantages of Dynamic Linking Dynamic Link Library Creation Dynamic Link Library Entry-Point Function Load-Time Dynamic Linking Run-Time Dynamic Linking Dynamic Link Library Data Dynamic Link Library Redirection Dynamic Link Library Updates Dynamic Link Library Reference Dynamic Link Library Functions Synchronization Getting More Information About Synchronization About Synchronization Wait Functions Synchronization Objects Interprocess Synchronization Synchronization Object Security and Access Rights Synchronization and Overlapped Input and Output Asynchronous Procedure Calls Critical Section Objects Interlocked Variable Access Chapter 7:Memory Management About Memory Management Virtual Address Space Virtual Address Space and Physical Storage Page State Scope of Allocated Memory Virtual Memory Functions Allocating Virtual Memory Freeing Virtual Memory Working with Pages Heap Functions Access Validation Functions Address Windowing Extensions AWE Functions Global and Local Functions Standard C Library Functions Memory Management Reference Memory Management Structures Chapter 8:Interprocess Communications Interprocess Communications About Interprocess Communications Choosing an IPC Mechanism Using the Clipboard for IPC Using COM for IPC Using DDE for IPC Using a File Mapping for IPC Using a Mailslot for IPC Using Pipes for IPC Using RPC for IPC Using Windows Sockets for IPC Using WM_COPYDATA for IPC Interprocess Communications Reference Interprocess Communications Structures Interprocess Communications Messages Atoms About Atom Tables Global Atom Tables Local Atom Tables Atom Types Atom Reference Atom Functions Atom Macros Clipboard About the Cipboard Cipboard Formats Cipboard Reference Cipboard Functions? Cipboard Structures Cipboard Messages Handles and Objects About Handles and Objects Objects Manager Objects Interface Handle Limitations Handle Inheritance Object Categories User Objects GDI Objects Kernel Objects Handle and Object Reference Handle and Object Functions Hooks About Hooks Hook Chains Hook Procedures Hook Types Hook Reference Hook Functions Hook Structures Hook Messages Chapter 9:File I/O About File I/O File System Organization Accessing Files File Name Conventions Long File Names MS-DOS Device Names File Operations Creating and Opening Files with the CreateFile Function Creating Temporary Files Copying and Moving Files Reading from and Writing to a File Locking and Unlocking Files Searching for Files Monitoring Directories Closing and Deleting Files Directory Operations Asynchronous Input and Output I/O Completion Ports Getting Information About Files File Attributes File Type File Data and Time File Code Page Volume Information File and Directory Security File I/O Reference File I/O Functions File I/O Structures File I/O Enumeration Types Chapter 10:File Systems About File Systems Shared File System Features Opportunistic Locks Alternatives to Opportunistic Lock Operations Local Caching Data Coherency Typical Use Server Response to Open Requests on Locked Files Types of Opportunistic Locks Breaking Opportunistic Locks Opportunistic Lock Examples Opportunistic Lock Operations NTFS File System File System Recovery File Compression Compression Attribute Compression State Obtaining the Size of a Compressed File File Encryption Handling Encrypted Files and Directories Encrypted Files and User Keys Disk Quotas Disk Quotas Limits Disk Quotas States Administering Disk Quotas Sparse Files Sparse File Operations Obtaining the Size of a Sparse File Sparse File and Disk Quota Distributed Link Tracking Link Tracking Features Link Tracking Components Link Tracking Limitations Reparse Points Reparse Point Tags Reparse Point Operations Reparse Point and File Operations Reparse Point Restrictions Volume Mount Points and Mounting Volumes Unique Volume Names Path Lengths Mounting a Volume Enumerating Volumes Scanning Volume Mount Points on a Volume Checking Directories for Volume Mount Points Persistent Assignment of Drive Letters Volume Mount Point Reference NTFS Change Journal Using the Change Journal Identifier Creating,Modifying,and Deleting a Change Journal Obtaining a Volume Handle for Change Journal Operations Walking a Buffer of Change Journal Records Change Journal Operations Change Journal Structures FAT File System Protected-Mode FAT File System File System Reference File System Functions File System Control Codes File System Interfaces File System Structures File System Macros Disk Quota Interface Error Codes Chapter 11:Structured Exception and Error Handling Structured Exception Handling About Structured Exception Handling Exception Handling Frame-Based Exception Handling Termination Handling Handler Syntax Structured Exception Hadnling Reference Structured Exception Hadnling Structures Error Handling About Error Handling Process Error Code Notifying the User Message Tables Fatal Application Exit Error Message Guidelines Error Handling Reference Error Handling Functions Error Handling Structures Chapter 12:Unicode About Unicode and Character Sets Character Sets Single-Byte Character Sets Double-Byte Character Sets Unicode Surrogates Unicode in the Win32 API Win32 Data Types Win32 Function Prototypes Message Translation String Functions Standard C Functions Character Sets Used in Filenames Translation Between String Types Command-Line Arguments Unicode and Character Set Reference Unicode and Character Set Functions Unicode and Character Set Structures Unicode and Character Set Macros Unicode and Character Set Constants ANSI Code-Page Identifiers OEM Code-Page Identifiers Code-Page Identifiers Code-Page Bitfields Unicode Subset Bitfields Appendix A Appendix B