Windows 10 System Programming, Part 2
$19.90
Minimum price
$36.95
Suggested price

Windows 10 System Programming, Part 2

About the Book

About the Author

Table of Contents

  • Chapter 13: Working With Memory
    • Memory APIs
    • The VirtualAlloc* Functions
      • Decommitting / Releasing Memory
    • Reserving and Committing Memory
      • The Micro Excel Application
    • Working Sets
      • The Working Sets Application
    • Heaps
      • Private Heaps
      • Heap Types
      • Heap Debugging Features
      • The C/C++ Runtime
      • The Local/Global APIs
      • Other Heap Functions
    • Other Virtual Functions
      • Memory Protection
      • Locking Memory
      • Memory Block Information
      • Memory Hint Functions
    • Writing and Reading Other Processes
    • Large Pages
    • Address Windowing Extensions
    • NUMA
    • The VirtualAlloc2 Function
    • Sumamry
  • Chapter 14: Memory Mapped Files
    • Introduction
    • Mapping Files
      • The filehist Application
    • Sharing Memory
      • Sharing Memory with File Backing
    • The Micro Excel 2 Application
    • Other Memory Mapping Functions
    • Data Coherence
    • Summary
  • Chapter 15: Dynamic Link Libraries
    • Introduction
    • Building a DLL
    • Implicit and Explicit Linking
      • Implicit Linking
      • Explicit Linking
      • Calling Conventions
      • DLL Search and Redirection
    • The DllMain Function
    • DLL Injection
      • Injection with Remote Thread
      • Windows Hooks
      • DLL Injecting and Hooking with SetWindowsHookEx
    • API Hooking
      • IAT Hooking
      • “Detours” Style Hooking
    • DLL Base Address
    • Delay-Load DLLs
    • The LoadLibraryEx Function
    • Miscellaneous Functions
    • Summary
  • Chapter 16: Security
    • Introduction
      • WinLogon
      • LogonUI
      • LSASS
      • LsaIso
      • Security Reference Monitor
      • Event Logger
    • SIDs
    • Tokens
      • The Secondary Logon Service
      • Impersonation
      • Impersonation in Client/Server
    • Privileges
      • Super Privileges
    • Access Masks
    • Security Descriptors
      • The Default Security Descriptor
      • Building Security Descriptors
    • User Access Control
      • Elevation
      • Running As Admin Required
      • UAC Virtualization
    • Integrity Levels
      • UIPI
    • Specialized Security Mechanisms
      • Control Flow Guard
      • Process Mitigations
    • Summary
  • Chapter 17: The Registry
    • The Hives
      • HKEY_LOCAL_MACHINE
      • HKEY_USERS
      • HKEY_CURRENT_USER (HKCU)
      • HKEY_CLASSES_ROOT (HKCR)
      • HKEY_CURRENT_CONFIG (HKCC)
      • HKEY_PERFORMANCE_DATA
    • 32-bit Specific Hives
    • Working with Keys and Values
      • Reading Values
      • Writing Values
      • Deleting Keys and Values
      • Creating Registry Links
      • Enumerating Keys and Values
    • Registry Notifications
    • Transactional Registry
    • Remote Registry
    • Miscellaneous Registry Functions
    • Summary
  • Chapter 19: Services
    • Services Overview
    • Service Process Architecture
    • A Simple Service
      • Installing the Service
      • A Service Client
    • Controlling Services
      • Installing a Service
      • Starting a Service
      • Stopping a Service
      • Uninstalling the Service
    • Service Status and Enumeration
      • The enumsvc Application
    • Service Configuration
      • Service Description
      • Failure Actions
      • Pre-Shutdown Information
      • Delayed Auto-Start
      • Trigger Information
      • Preferred NUMA Node
      • Launch as PPL
    • Debugging Services
      • Interactive Services
    • Service Security
      • Service SID
      • Service Security Descriptor
    • Per-User Services
    • Miscelanous Functions
    • Summary
  • Chapter 21: The Component Object Model
    • What is COM?
    • Interfaces and Implementations
    • The IUnknown Interface
    • HRESULTs
    • COM Rules (pun intended)
    • COM Clients
      • Step 1: Initialize COM
      • Step 2: Create the BITS Manager
      • Step 3: Create a BITS Job
      • Step 4: Add a Download
      • Step 5: Initiate the Transfer
      • Step 6: Wait for Transfer to Complete
      • Step 7: Display Results
      • Step 8: Clean Up
    • COM Smart Pointers
      • Querying for Interfaces
    • CoCreateInstance Under the Hood
      • CoGetClassObject
    • Implementing COM Interfaces
    • COM Servers
      • Implementing the COM Class
      • Implementing the Class Object (Factory)
      • Implementing DllGetClassObject
      • Implementing Self Registration
      • Registering the Server
      • Debugging Registration
      • Testing the Server
      • Testing with non C/C++ Client
    • Proxies and Stubs
    • IDL and Type Libraries
    • Threads and Apartments
      • The Free Threaded Mrshalar (FTM)
    • Odds and Ends
    • Summary

Authors have earned$10,098,681writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub