Win32 System Services
Prentice Hall
978-0-13-022557-3 (ISBN)
- Titel ist leider vergriffen;
keine Neuauflage - Artikel merken
Fully updated to reflect Win32 enhancements in Windows 2000 and Windows 98, Marshall Brain's classic guide remains the most effective way for developers to master Win32 services in real-world application development. Brain introduces Win32 files, directory and drive structure, NT processes and threads, synchronization mechanisms, network communications, Remote Procedure Calls, NT services, NT security, consoles, communications ports, accessing system information, and using DLLs to modularize programs. Each self-contained chapter covers a different API service, with functions demonstrated clearly in code examples. Brain also shows how multiple services can be integrated to create larger, more sophisticated applications.
MARSHALL BRAIN is founder and principal of Interface Technologies, Research Triangle Park, NC. His firm specializes in software training for developers at leading financial companies. His recent Prentice Hall PTR books include Developing Professional Applications for Windows 98 and NT Using MFC and Windows CE 3.0: Application Programming (with Nick Gratten). RON REEVES is President of Computer Engineering, Inc., a leading consulting and training company based in Howell, MI.
1. Introduction.
One Hundred and Twenty-one Questions About Windows 2000 and 98. Compiling Code. Terminology. Error Handling. Handles and Objects. Using the Microsoft Documentation. Bugs in the 32-Bit API. Differences Between Windows 98 and Windows 2000.
2. Files.
The Possibilities. Overview. Opening and Reading from a File. Getting and Setting File Information. File Operations. Temporary Files. File Reading and Writing. Asynchronous File Operations. File Locking. Compressed Files. File Mapping. Conclusion.
3. Drives.
The Possibilities. Getting Volume Information. Getting Drive Types. Getting Free Space. Getting Logical Drives and Drive Strings. Setting the Volume Label. WNet Functions. Conclusion.
4. Directories.
The Possibilities. Creating and Deleting Directories. Getting and Setting the Current Directory. Searching for a File. Traversing Directory Trees. Combining Capabilities. Detecting Changes to Directories and Files. Conclusion.
5. Active Directory.
The Possibilities. Introduction to Active Directory. Active Directory Architecture. Frequently Asked Questions. Conclusion.
6. Process and Threads.
The Possibilities. Introduction. Simple Examples. Using Threads in GUI Applications. Matching the Number of Threads to the Number of CPU's. Using Thread Local Storage. Thread Priorities. Other Thread Functions. Processes. Inheriting Handles. Interprocess Communication. Jobs. Conclusion.
7. Synchronization.
Understanding the Problem. Four Different Synchronization Methods. Deadlocks, Starvation, and Other Synchronization Bugs. Wait Functions. Overlapped I/O. Change Functions. Integrating Synchronization into MFC Programs. Conclusion.
8. Network Communications.
The Possibilities. Understanding Your Options. Mailslots. Named Pipes. Named Pipe Client/Server Systems. Connection with UNIX and Other TCP/IP Machines. UDP Connections. TCP Connections. Conclusion.
9. Remote Procedure Calls.
The Possibilities. The Basic Idea. Design Issues. Creating RPCs. Understanding RPCs at a High Level. Parameter Passing. Understanding the Code. Setting up a Name Server in the Registry. Manual Binding with Implicit Handles. An RPC Server for Mandelbrot Sets. Improving the Mandelbrot RPC Server. Explicit Handles. Context Handles. Common Questions. Conclusion.
10. Distribute COM (DCOM).
DCOM Architecture. Components and Reuse. Location Independence. Connection Management. Scalability. Conclusion.
11. Communications.
The Possibilities. Understanding Serial Communications. A Simple Communications Application. Getting Communications Events. A Simple Bulletin Board System. Flow Control. A Simple TTY Terminal Program. Other Communications Functions. Conclusion.
12. Windows 2000 Services.
The Possibilities. Understanding Services. S ervice Choreography. The Simplest Service. Installing and Removing a Service. Displaying Dialogs from within a Service. Multiple Services in an Executable. Getting and Setting Configuration Information. Controlling Services. Enumerating Services. Placing an RPC Server in a Server. Conclusion.
13. Security.
The Possibilities. -Understanding the Terminology and Concepts of the Windows 2000 Security _System. Windows 2000 Security Vocabulary. Simple Examples. Securable Objects and Access Rights. Examining Existing Access Tokens and Security Descriptors. Privileges. Adding and Deleting ACEs. Impersonation. Conclusion.
14. Consoles.
The Possibilities. Raw versus Cooked Input. Simple Examples. Raw Input. Other Input Events. Other Capabilities. Conclusion.
15. Microsoft Management Console (MMC).
The Possibilities. MMC Interfaces and Methods. ATL Snap-In Wizard. Conclusion.
16. System Information.
The GetSystemInfo Function. Other System Information Functions. Getting and Setting Environment Strings. Shutting Down the System.
17. Dynamic Link Libraries.
The Possibilities. Overview. Creating a Simple DLL. Understanding a Simple DLL. Load-time versus Run-time Linking. DLL Entry Points. Memory Models. Conclusion.
18. Component Object Model (COM).
COM Fundamentals. Component Object Library. Summary.
19. COM+.
COM+ Programming Overview. COM+ Application Overview. Developing COM+ Applications. COM+ Design Assumptions and Principles. Conclusion.
20. -Windows Distributed Network _Architecture (DNA).
Frequently Asked Questions about Windows DNA. Microsoft Windows Distributed Internet Application Architecture. The Presentation Tier. Business Services Tier. Data Services Tier. Conclusion.
21. Miscellaneous.
Registry. The Event Log. Time. Memory. Structured Exception Handling. Error Handling.
Appendix A: Compiling the Code in This Book.
Appendix B: Contacting the Authors.
Appendix C: Error Codes.
Index.
Erscheint lt. Verlag | 12.12.2000 |
---|---|
Verlagsort | Upper Saddle River |
Sprache | englisch |
Maße | 184 x 230 mm |
Gewicht | 1128 g |
Themenwelt | Informatik ► Betriebssysteme / Server ► Windows |
Informatik ► Betriebssysteme / Server ► Windows Server | |
Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge | |
ISBN-10 | 0-13-022557-6 / 0130225576 |
ISBN-13 | 978-0-13-022557-3 / 9780130225573 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |