MSDN 6.0 之 Platform SDK 内容导航
王天平,北京,荣丰2008
2005年7月3日
从头文件说起
实际上在每个用C编写的Windows程式的开头都可看到:
#include <windows.h>
WINDOWS.H是主要的引入头文件,它包含了其他Windows头文件,这些头文件的某些也包含了其他头文件。这些头文件中最重要的和最基本的是:
l WINDEF.H 基本类型定义。
l WINNT.H 支持Unicode的类型定义。
l WINBASE.H Kernel函数。对应:Windows Base Services
l WINUSER.H 使用者介面函数。对应:User Interface Services
l WINGDI.H 图形装置介面函数。对应: Graphics and Multimedia Services
到底这些头文件怎么使用呢?在构架上又是怎么回事呢?由于一直都在用SDK和DDK,对此思考较多,总结一条:从系统的看文档入手,从面上入手,然后找个点转进去,别有洞天的。由于DDK(IFS)的结构很清晰,没有必要列了,只是感觉SDK 2003后,文件特别多,搞的机器叫个不停,用起来不方便(内容当然不比MSDN/SDK 6.0差了),现在回到MSDN/SDK6.0,感觉真是好。特做此导航,鼓励鼓励上世纪90年代的M$。
本文讨论范围:MSDN lib Visual Studio 6.0/Platform SDK/;文章是英文,哪位如果有空,也可以翻译为中文的,偶不反对。
Contents of the Platform SDK
The following list shows the nodes that form the top-level organization of the Platform SDK. These nodes contain groups of related technologies.
- Windows Programming Guidelines
- Windows Base Services
- User Interface Services
- COM and ActiveX Object Services
- Internet, Intranets, and Extranet Services
- Networking and Distributed Services
- Database and Messaging Services
- Graphics and Multimedia Services
- Setup and Systems Management Services
- Reference
Windows Programming Guidelines
The Windows Programming Guidelines node contains general information that will help you create, build, and manipulate Win32-based applications. The following references are included in this node:
- Windows CE Programmer's Guide
- Windows CE-Specific Reference
- Platform SDK Tools
- Authoring
- Compiling
- Building
- Debugging
- Multimedia
- Testing
- Tuning
- Windows-based Terminal Server
- Meeting Enterprise Needs
- Windows Logo and Programming Guidelines
- BackOffice Programmer's Reference
- Developing Applications in the Microsoft BackOffice Environment
- Developing Microsoft Exchange Server Applications
- Developing Microsoft SQL Server Applications
- Developing Microsoft Systems Management Server Applications
- Developing Microsoft SNA Server Applications
- Win32 Programming
- Programming Tips and Techniques
Windows Base Services
The Windows Base Services node contains information that will help you take advantage of the base or core Windows services. The following overviews are included in this node:
- Microsoft Cluster Server
- Smart Card
- CryptoAPI 2.0
- Cryptographic Service Providers
- Certificate Server
- Debugging and Error Handling
- Debugging
- Errors
- Event Logging
- Structured Exception Handling
- Error Codes
- Executables
- Dynamic-Link Libraries
- Processes and Threads
- Services
- PE Image Helper (ImageHlp)
- Files and I/O
- Communications
- Consoles and Character-Mode Support
- Data Decompression Library
- File Systems
- File I/O
- Tape Backup
- General Library
- Generic Thunks
- Handles and Objects
- Large Integer Operations
- Memory Management
- Registry
- String Manipulation
- Time
- Timers
- Tool Help Library
- Hardware
- Device Input and Output
- Power Management
- System Messages
- International Features
- End-User-Defined Characters
- Input Method Editor
- National Language Support
- Unicode and Character Sets
- Locale Identifiers
- Interprocess Communication
- Interprocess Communication
- Atoms
- Clipboard
- Dynamic Data Exchange
- Dynamic Data Exchange Management Library
- Hooks
- File Mapping
- Mailslots
- Pipes
- Synchronization
- Removable Storage Manager Programmer's Reference
- Security
- Access Control
- Security SPI
- Window Stations and Desktops
- WinTrust
- Windows 95 Features
- Windows 95 Architecture
- Windows 95 System Limitations
- Version Differences
- Windows 95, OEM Service Release 2
- Device I/O Control
- Exclusive Volume Locking
- FAT32 File System
- Long Filenames
- MS-DOS Extensions
- Thunk Compiler
- Virtual Machine Services
- Windows 95 Service Control Manager
- Windows NT Features
- Performance Data Helper
- Process Status Helper
- Windows NT Performance Counters
User Interface Services
The User Interface Services node contains information that will help you create a user interface for your application and interact with the user's desktop (shell). The following overviews are included in this node:
- Microsoft Active Accessibility
- Shell and Common Controls
- Windows Shell API
- Common Controls
- Wizard97 Specifications
- Controls
- Controls
- Buttons
- Combo Boxes
- Edit Controls
- List Boxes
- Rich Edit Controls
- Scroll Bars
- Static Controls
- Resources
- Carets
- Cursors
- Icons
- Menus
- Resources
- User Input
- Accessibility
- Common Dialog Box Library
- Mouse Input
- Keyboard Accelerators
- Keyboard Input
- Virtual-Key Codes
- Windowing
- Dialog Boxes
- Message and Message Queues
- Multiple Document Interface
- Window Classes
- Window Procedures
- Window Properties
- Windows
COM and ActiveX Object Services
The COM and ActiveX Objects node contains information that will help you develop object-oriented applications or components. The following overviews are included in this node:
- COM
- The Component Object Model
- COM Clients and Servers
- Error Handling
- Monikers
- Connectable Objects
- Structured Storage
- Asynchronous Storage
- Data Transfer
- Property Pages and Property Sheets
- Class Store
- Compound Documents
- ActiveX Controls
- Component Categories Manager Implementation
- Defining COM Interfaces
- URL Open Stream Functions
- COM Tutorial Samples
- Component Development
- Automation
- Overview of Automation
- Exposing ActiveX Objects
- Accessing ActiveX Objects
- Standard Objects and Naming Guidelines
- Dispatch Interface and API Functions
- Data Types, Structures, and Enumerations
- Conversion and Manipulation Functions
- Type Libraries and the Object Description Language
- Type Description Interfaces
- Type Building Interfaces
- Error Handling Interfaces
- Microsoft Transaction Server 2.0
- MIDL
Internet, Intranet, and Extranet Services
The Internet, Intranets, and Extranets node contains information that will help you create dynamic content for your Web site. The following overviews are included in this node:
- Active Server Pages
- Index Server Programmer's Guide
- Dynamic HTML
- Delivering Content to the Web
- Internet Tools & Technologies
- Internet Information Server SDK
- Microsoft Agent
- Microsoft Application Foundation Classes for Java
- Microsoft SDK for Java
- About the Microsoft Virtual Machine
- Common Internet File System Protocol
- NetMeeting
- NetShow SDK
- NetShow Theater Server Administration SDK
- Media Player Control
- Scripting
- Site Server
- Component Library
Networking and Distributed Services
The Networking and Distributed Services node contains information that will help you create client/server applications. The following overviews are included in this node:
- Active Directory Service Interfaces (ADSI)
- Active Directory Schema
- Generic Quality of Service (GQOS)
- Windows Sockets Version 2
- The DLC Interface
- The NetBIOS Interface
- Network Dynamic Data Exchange
- Networking (Net)
- Remote Access Service
- Simple Network Management Protocol (SNMP)
- Windows Networking (WNet)
- Microsoft Message Queue Server (MSMQ)
- Routing and Remote Access Services
- Remote Procedure Calls (RPC)
- Microsoft SNA Server
- Telephony Application Programming Interface (TAPI)
Databases and Messaging Services
The Databases and Messaging node contains information that will help you add database and messaging services to your application. The following overviews are included in this node:
- DAO SDK
- Microsoft Data Access SDK
- Microsoft Exchange Server
- Messaging API (MAPI)
- Collaboration Data Objects
- Extending the Microsoft Exchange Client
- Microsoft SQL Server Programmer's Toolkit
Graphics and Multimedia Services
The Graphics and Multimedia node contains information that will help you add graphics and multimedia services to your application. The following overviews are included in this node:
- Broadcast Architecture
- Color Management
- DirectX 5
- DirectDraw
- DirectSound
- Direct3D Immediate Mode
- DirectInput
- DirectSetup
- AutoPlay
- DirectX Media SDK
- DirectAnimation SDK
- DirectPlay SDK
- DirectShow SDK
- Direct3D Retained Mode SDK
- GDI
- Bitmaps
- Brushes
- Clipping
- Colors
- Coordinate Spaces and Transformations
- Device Contexts
- Filled Shapes
- Fonts and Text
- Lines and Curves
- Metafiles
- Multiple Display Monitors
- Painting and Drawing
- Paths
- Pens
- Printing and Print Spooler
- Rectangles
- Regions
- Multimedia Audio
- Audio Compression Manager
- Audio Mixers
- MCIWnd Window Class
- MCI
- Musical Instrument Digital Interface ( MIDI )
- Waveform Audio
- Multimedia Input
- File Input and Output
- Joysticks
- Multimedia Timers
- Video for Windows
- AVIFile Functions and Macros
- Video Compression Manager
- Video Capture
- Custom File and Stream Handlers
- DrawDib
- Still Image
- OpenGL
Setup and Systems Management Services
The Setup and Systems Management node contains information that will help you manage your system and applications installed on the system. The following overviews are included in this node:
- Ensuring Your Application Migrates from Windows 9x to Windows NT
- Integrating Your Setup Program With Setup Computer Wizard
- File Installation Library
- License Service Application Programming Interface
- System Information
- System Policies
- System Shutdown
- Microsoft Systems Management Server
- Microsoft Management Console
- Setup API
- Windows Installer Programmer's Reference
- Task Scheduler API
- WBEM SDK
Reference
The Reference node contains information about 16-bit Windows Application Programming Interface (API) elements that were deleted or superseded in the Win32 API. It also contains a list of simple data types used in the Win32 API, and a glossary for the Win32 API. The Code Samples node contains files from the code samples included on the Platform SDK CD. The samples are grouped in a way that corresponds to the way the documentation for the various technologies are grouped.
The following books are included in this node:
- Deleted and Superseded Programming Elements
- Win32 Functions in Alpha Order
- Win32 Functions by Category
- Win32 Simple Data Types
- Win32 Glossary
- Code Samples
- BEGIN
- COM
- DBMSG
- GRAPHICS
- INTERNET
- NETDS
- SDKTOOLS
- SYSMGMT
- WINBASE
- WINUI
【完】