Flylib.com
Programming Applications for Microsoft Windows (Microsoft Programming Series)
Programming Applications for Microsoft Windows (Microsoft Programming Series)
ISBN: 1572319968
EAN: 2147483647
Year: 1999
Pages: 193
Authors:
Jeffrey Richter
BUY ON AMAZON
Cover
LOC Page
Introduction
Today s Windows Platforms
Tomorrow s Windows Platforms (64-Bit Windows 2000)
What s New in the Fourth Edition
This Book Has No Mistakes
About the CD-ROMSystem Requirements
Support
Thanks for Your Help
About the Author
Dedication
Chapter 1 -- Error Handling
You Can Do This Too
The ErrorShow Sample Application
Chapter 2 -- Unicode
Character Sets
Why You Should Use Unicode
Windows 2000 and Unicode
Windows 98 and Unicode
Windows CE and Unicode
Keeping Score
A Quick Word About COM
How to Write Unicode Source Code
Making Your Application ANSI- and Unicode-Ready
Chapter 3 -- Kernel Objects
What Is a Kernel Object?
A Process s Kernel Object Handle Table
Sharing Kernel Objects Across Process Boundaries
Chapter 4 -- Processes
Writing Your First Windows Application
The CreateProcess Function
Terminating a Process
Child Processes
Enumerating the Processes Running in the System
Chapter 5 -- Jobs
Placing Restrictions on a Job s Processes
Placing a Process in a Job
Terminating All Processes in a Job
Querying Job Statistics
Job Notifications
The JobLab Sample Application
Chapter 6 -- Thread Basics
When to Create a Thread
When Not to Create a Thread
Writing Your First Thread Function
The CreateThread Function
Terminating a Thread
Some Thread Internals
CC Run-Time Library Considerations
Gaining a Sense of One s Own Identity
Chapter 7 -- Thread Scheduling, Priorities, and Affinities
Suspending and Resuming a Thread
Suspending and Resuming a Process
Sleeping
Switching to Another Thread
A Thread s Execution Times
Putting the Context in Context
Thread Priorities
An Abstract View of Priorities
Programming Priorities
Affinities
Chapter 8 -- Thread Synchronization in User Mode
Atomic Access: The Interlocked Family of Functions
Cache Lines
Advanced Thread Synchronization
Critical Sections
Chapter 9 -- Thread Synchronization with Kernel Objects
Wait Functions
Successful Wait Side Effects
Event Kernel Objects
Waitable Timer Kernel Objects
Semaphore Kernel Objects
Mutex Kernel Objects
A Handy Thread Synchronization Object Chart
Other Thread Synchronization Functions
Chapter 10 -- Thread Synchronization Toolkit
Implementing a Critical Section: The Optex
Creating Thread-Safe Datatypes and Inverse Semaphores
The Single WriterMultiple Reader Guard (SWMRG)
Implementing a WaitForMultipleExpressions Function
Chapter 11 -- Thread Pooling
Scenario 1: Call Functions Asynchronously
Scenario 2: Call Functions at Timed Intervals
Scenario 3: Call Functions When Single Kernel Objects Become Signaled
Scenario 4: Call Functions When Asynchronous IO Requests Complete
Chapter 12 -- Fibers
Working with Fibers
Chapter 13 -- Windows Memory Architecture
A Process s Virtual Address Space
How a Virtual Address Space Is Partitioned
Regions in an Address Space
Committing Physical Storage Within a Region
Physical Storage and the Paging File
Protection Attributes
Bringing It All Home
The Importance of Data Alignment
Chapter 14 -- Exploring Virtual Memory
System Information
Virtual Memory Status
Determining the State of an Address Space
Chapter 15 -- Using Virtual Memory in Your Own Applications
Reserving a Region in an Address Space
Committing Storage in a Reserved Region
Reserving a Region and Committing Storage Simultaneously
When to Commit Physical Storage
Decommitting Physical Storage and Releasing a Region
Changing Protection Attributes
Resetting the Contents of Physical Storage
Address Windowing Extensions (Windows 2000 only)
Chapter 16 -- A Thread s Stack
Chapter 17 -- Memory-Mapped Files
Memory-Mapped Executables and DLLs
Memory-Mapped Data Files
Using Memory-Mapped Files
Processing a Big File Using Memory-Mapped Files
Memory-Mapped Files and Coherence
Specifying the Base Address of a Memory-Mapped File
Implementation Details of Memory-Mapped Files
Using Memory-Mapped Files to Share Data Among Processes
Memory-Mapped Files Backed by the Paging File
Sparsely Committed Memory-Mapped Files
Chapter 18 -- Heaps
A Process s Default Heap
Reasons to Create Additional Heaps
How to Create an Additional Heap
Miscellaneous Heap Functions
Chapter 19 -- DLL Basics
DLLs and a Process s Address Space
The Overall Picture
Building the DLL Module
Building the Executable Module
Running the Executable Module
Chapter 20 -- DLL Advanced Techniques
Explicit DLL Module Loading and Symbol Linking
The DLL s Entry-Point Function
Delay-Loading a DLL
Function Forwarders
Known DLLs
DLL Redirection
Rebasing Modules
Binding Modules
Chapter 21 -- Thread-Local Storage
Dynamic TLS
Static TLS
Chapter 22 -- DLL Injection and API Hooking
DLL Injection: An Example
Injecting a DLL Using the Registry
Injecting a DLL Using Windows Hooks
Injecting a DLL Using Remote Threads
Injecting a DLL with a Trojan DLL
Injecting a DLL as a Debugger
Injecting Code with a Memory-Mapped File on Windows 98
Injecting Code with CreateProcess
API Hooking: An Example
Chapter 23 -- Termination Handlers
Understanding Termination Handlers by Example
Chapter 24 -- Exception Handlers and Software Exceptions
Understanding Exception Filters and Exception Handlers by Example
EXCEPTION_EXECUTE_HANDLER
EXCEPTION_CONTINUE_EXECUTION
EXCEPTION_CONTINUE_SEARCH
GetExceptionCode
GetExceptionInformation
Software Exceptions
Chapter 25 -- Unhandled Exceptions and C Exceptions
Just-In-Time Debugging
Turning Off the Exception Message Box
Calling UnhandledExceptionFilter Yourself
Inside the UnhandledExceptionFilter Function
Exceptions and the Debugger
C Exceptions Versus Structured Exceptions
Chapter 26 -- Window Messaging
A Thread s Message Queue
Posting Messages to a Thread s Message Queue
Sending Messages to a Window
Waking a Thread
Sending Data with Messages
How Windows Handle ANSIUnicode Characters and Strings
Chapter 27 -- The Hardware Input Model and Local Input State
The Raw Input Thread
Local Input State
Attaching Virtualized Input Queues and Local Input State Together
Appendix A -- The Build Environment
The CmnHdr.h Header File
Appendix B -- Message Crackers, Child Control Macros, and API Macros
Message Crackers
Child Control Macros
API Macros
Footnotes
About This Electronic Book
Programming Applications for Microsoft Windows (Microsoft Programming Series)
ISBN: 1572319968
EAN: 2147483647
Year: 1999
Pages: 193
Authors:
Jeffrey Richter
BUY ON AMAZON
Inside Network Security Assessment: Guarding Your IT Infrastructure
Network Vulnerability Assessment
Common Risk-Assessment Methodologies and Templates
Putting Together a Toolkit
Security Standards
Information Request Form
The CISSP and CAP Prep Guide: Platinum Edition
Security Architecture and Design
Operations Security
Legal, Regulations, Compliance, and Investigations
The Accreditation Phase
Appendix F Security Control Catalog
Cisco ASA: All-in-One Firewall, IPS, and VPN Adaptive Security Appliance
Intrusion Detection and Prevention Technologies
IP Multicast
User Administration
Configuring CRL Options
Functional Screens
802.11 Wireless Networks: The Definitive Guide, Second Edition
Frame Format
Gaussian Frequency Shift Keying (GFSK)
Direct Sequence Transmission
The Original Direct Sequence PHY
High Rate Direct Sequence PHY
GDI+ Programming with C#
Working with Brushes and Pens
Working with Images
Working with Icons
Drawing a Pie Chart
Designing Interactive GUI Applications
Python Standard Library (Nutshell Handbooks) with
The fileinput Module
Data Representation
The copy_reg Module
The smtplib Module
The ucnhash Module
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies