本书是《Win32编程宝典丛书(影印版)》中的一本,介绍有关编程的参考知识,并概述了新的Windows 2000技术,例如作业对象、磁盘限额、文件加密等等。本书还介绍了进行Windows程序设计所必需的各种基本服务,例如进程和线程、动态链接库(DLL)、内存管理、进行间通信、文件操作和文件系统、异常处理等。\r\n 本书由微软公司的专家编写,技术深入,参考价值高,适合中、高级编程人员阅读。\r\n
Chapter 1:Introduction\r\n\r\nHow the Win32 Library Is Structured\r\nHow the Win32 Library Is Designed\r\n\r\nChapter 2:What’s In This Volume?\r\n\r\nProcesses and Threads\r\nMemory\r\nInterprocess Communications\r\nFile Operations\r\nDebugging\r\nUnicode\r\n\r\nChapter 3:Using Microsoft Reference Resources\r\n\r\nThe Microsoft Developer Network(MSDN)\r\nComparing MSDN and MSDN Online\r\nMSDN Subscriptions\r\nMSDN Library Subscription\r\nMSDN Professional Subscription\r\nMSDN Universal Subscription\r\nPurchasing an MSDN Subscription\r\nUsing MSDN\r\nExploring MSDN\r\nQuick Tips\r\nUsing MSDN Online\r\nExploring MSDN Online\r\nMSDN Online Features\r\nMSDN Online Registered Users\r\nThe Windows Programming Reference Series\r\n\r\nChapter 4:Finding the Developer Resources You Need\r\n\r\nDeveloper Support\r\nOnline Resources\r\nLearning Products\r\nConferences\r\nOther Resources\r\n\r\nChapter 5:Getting the Most out of Win32 Technologies:Part 1\r\n\r\nOverview\r\nVolume 2:User Interface\r\nVolume 3:GDI\r\nVolume 4:Common Controls\r\nVolume 5:The Windows Shell\r\nSolution Summary\r\n\r\nChapter 6:Processes,Threads,and DLLs\r\n\r\nProcesses and Threads\r\nAbout Processes and Threads\r\nMultitasking\r\nScheduling\r\nMultiple Threads\r\nChild Processes\r\nProcess Working Set\r\nThread Pooling\r\nJob Objects\r\nFibers\r\nProcess and Thread Reference\r\nProcess and Thread Functions\r\nProcess and Thread Structures\r\nProcess and Thread Macros\r\nDynamic Link Libraries\r\nAbout Dynamic Link Libraries\r\nAdvantages of Dynamic Linking\r\nDynamic Link Library Creation\r\nDynamic Link Library Entry-Point Function\r\nLoad-Time Dynamic Linking\r\nRun-Time Dynamic Linking\r\nDynamic Link Library Data\r\nDynamic Link Library Redirection\r\nDynamic Link Library Updates\r\nDynamic Link Library Reference\r\nDynamic Link Library Functions\r\nSynchronization\r\nGetting More Information About Synchronization\r\nAbout Synchronization\r\nWait Functions\r\nSynchronization Objects\r\nInterprocess Synchronization\r\nSynchronization Object Security and Access Rights\r\nSynchronization and Overlapped Input and Output\r\nAsynchronous Procedure Calls\r\nCritical Section Objects\r\nInterlocked Variable Access \r\n\r\nChapter 7:Memory Management\r\n\r\nAbout Memory Management\r\nVirtual Address Space\r\nVirtual Address Space and Physical Storage\r\nPage State\r\nScope of Allocated Memory\r\nVirtual Memory Functions\r\nAllocating Virtual Memory\r\nFreeing Virtual Memory\r\nWorking with Pages\r\nHeap Functions\r\nAccess Validation Functions\r\nAddress Windowing Extensions\r\nAWE Functions\r\nGlobal and Local Functions\r\nStandard C Library Functions\r\nMemory Management Reference\r\nMemory Management Structures\r\n\r\nChapter 8:Interprocess Communications\r\n\r\nInterprocess Communications\r\nAbout Interprocess Communications\r\nChoosing an IPC Mechanism\r\nUsing the Clipboard for IPC\r\nUsing COM for IPC\r\nUsing DDE for IPC\r\nUsing a File Mapping for IPC\r\nUsing a Mailslot for IPC\r\nUsing Pipes for IPC\r\nUsing RPC for IPC\r\nUsing Windows Sockets for IPC\r\nUsing WM_COPYDATA for IPC\r\nInterprocess Communications Reference\r\nInterprocess Communications Structures\r\nInterprocess Communications Messages\r\nAtoms\r\nAbout Atom Tables\r\nGlobal Atom Tables\r\nLocal Atom Tables\r\nAtom Types\r\nAtom Reference\r\nAtom Functions\r\nAtom Macros\r\nClipboard\r\nAbout the Cipboard\r\nCipboard Formats\r\nCipboard Reference\r\nCipboard Functions?\r\nCipboard Structures\r\nCipboard Messages\r\nHandles and Objects\r\nAbout Handles and Objects\r\nObjects Manager\r\nObjects Interface\r\nHandle Limitations\r\nHandle Inheritance\r\nObject Categories\r\nUser Objects\r\nGDI Objects\r\nKernel Objects\r\nHandle and Object Reference\r\nHandle and Object Functions\r\nHooks\r\nAbout Hooks\r\nHook Chains\r\nHook Procedures\r\nHook Types\r\nHook Reference\r\nHook Functions\r\nHook Structures\r\nHook Messages\r\n\r\nChapter 9:File I/O\r\n\r\nAbout File I/O\r\nFile System Organization\r\nAccessing Files\r\nFile Name Conventions\r\nLong File Names\r\nMS-DOS Device Names\r\nFile Operations\r\nCreating and Opening Files with the CreateFile Function\r\nCreating Temporary Files\r\nCopying and Moving Files\r\nReading from and Writing to a File\r\nLocking and Unlocking Files\r\nSearching for Files\r\nMonitoring Directories\r\nClosing and Deleting Files\r\nDirectory Operations\r\nAsynchronous Input and Output\r\nI/O Completion Ports\r\nGetting Information About Files\r\nFile Attributes\r\nFile Type\r\nFile Data and Time\r\nFile Code Page\r\nVolume Information\r\nFile and Directory Security\r\nFile I/O Reference\r\nFile I/O Functions\r\nFile I/O Structures\r\nFile I/O Enumeration Types\r\n\r\nChapter 10:File Systems\r\n\r\nAbout File Systems\r\nShared File System Features\r\nOpportunistic Locks\r\nAlternatives to Opportunistic Lock Operations\r\nLocal Caching\r\nData Coherency\r\nTypical Use\r\nServer Response to Open Requests on Locked Files\r\nTypes of Opportunistic Locks\r\nBreaking Opportunistic Locks\r\nOpportunistic Lock Examples\r\nOpportunistic Lock Operations\r\nNTFS File System\r\nFile System Recovery\r\nFile Compression\r\nCompression Attribute\r\nCompression State\r\nObtaining the Size of a Compressed File\r\nFile Encryption\r\nHandling Encrypted Files and Directories\r\nEncrypted Files and User Keys\r\nDisk Quotas\r\nDisk Quotas Limits\r\nDisk Quotas States\r\nAdministering Disk Quotas\r\nSparse Files\r\nSparse File Operations\r\nObtaining the Size of a Sparse File\r\nSparse File and Disk Quota\r\nDistributed Link Tracking\r\nLink Tracking Features\r\nLink Tracking Components\r\nLink Tracking Limitations\r\nReparse Points\r\nReparse Point Tags\r\nReparse Point Operations\r\nReparse Point and File Operations\r\nReparse Point Restrictions\r\nVolume Mount Points and Mounting Volumes\r\nUnique Volume Names\r\nPath Lengths\r\nMounting a Volume\r\nEnumerating Volumes\r\nScanning Volume Mount Points on a Volume\r\nChecking Directories for Volume Mount Points\r\nPersistent Assignment of Drive Letters\r\nVolume Mount Point Reference\r\nNTFS Change Journal\r\nUsing the Change Journal Identifier\r\nCreating,Modifying,and Deleting a Change Journal\r\nObtaining a Volume Handle for Change Journal Operations\r\nWalking a Buffer of Change Journal Records\r\nChange Journal Operations\r\nChange Journal Structures\r\nFAT File System\r\nProtected-Mode FAT File System\r\nFile System Reference\r\nFile System Functions\r\nFile System Control Codes\r\nFile System Interfaces\r\nFile System Structures\r\nFile System Macros\r\nDisk Quota Interface Error Codes\r\n\r\nChapter 11:Structured Exception and Error Handling\r\n\r\nStructured Exception Handling\r\nAbout Structured Exception Handling\r\nException Handling\r\nFrame-Based Exception Handling\r\nTermination Handling\r\nHandler Syntax\r\nStructured Exception Hadnling Reference\r\nStructured Exception Hadnling Structures\r\nError Handling\r\nAbout Error Handling\r\nProcess Error Code\r\nNotifying the User\r\nMessage Tables\r\nFatal Application Exit\r\nError Message Guidelines\r\nError Handling Reference\r\nError Handling Functions\r\nError Handling Structures\r\n\r\nChapter 12:Unicode\r\n\r\nAbout Unicode and Character Sets\r\nCharacter Sets\r\nSingle-Byte Character Sets\r\nDouble-Byte Character Sets\r\nUnicode\r\nSurrogates\r\nUnicode in the Win32 API\r\nWin32 Data Types\r\nWin32 Function Prototypes\r\nMessage Translation\r\nString Functions\r\nStandard C Functions\r\nCharacter Sets Used in Filenames\r\nTranslation Between String Types\r\nCommand-Line Arguments\r\nUnicode and Character Set Reference\r\nUnicode and Character Set Functions\r\nUnicode and Character Set Structures\r\nUnicode and Character Set Macros\r\nUnicode and Character Set Constants\r\nANSI Code-Page Identifiers \r\nOEM Code-Page Identifiers\r\nCode-Page Identifiers\r\nCode-Page Bitfields\r\nUnicode Subset Bitfields\r\n\r\nAppendix A\r\n\r\nAppendix B