documentation.HELP! Microsoft Research Detours Documentation

Detours Reference

Microsoft Research Detours

previous page next page

Detours API Reference

The Table of Contents provides an alphabetical listing of the available API functions, which can be grouped as follows:

APIs For Detouring Target Functions

  • DetourTransactionBegin
  • DetourUpdateThread
  • DetourAttach
  • DetourAttachEx
  • DetourDetach
  • DetourSetIgnoreTooSmall
  • DetourSetRetainRegions
  • DetourSetSystemRegionLowerBound
  • DetourSetSystemRegionUpperBound
  • DetourTransactionAbort
  • DetourTransactionCommit
  • DetourTransactionCommitEx

APIs For Finding Target Functions

  • DetourFindFunction
  • DetourCodeFromPointer

APIs For Accessing Loaded Binaries and Payloads

  • DetourEnumerateModules
  • DetourGetEntryPoint
  • DetourGetModuleSize
  • DetourEnumerateExports
  • DetourEnumerateImport
  • DetourEnumerateImportEx
  • DetourFindPayload
  • DetourGetContainingModule
  • DetourGetSizeOfPayloads

APIs For Modifying Binaries

  • DetourBinaryOpen
  • DetourBinaryEnumeratePayloads
  • DetourBinaryFindPayload
  • DetourBinarySetPayload
  • DetourBinaryDeletePayload
  • DetourBinaryPurgePayloads
  • DetourBinaryEditImports
  • DetourBinaryResetImports
  • DetourBinaryWrite
  • DetourBinaryClose

APIs For Inserting DLLs and Payloads Into New Processes

  • DetourCreateProcessWithDllEx
  • DetourCreateProcessWithDlls
  • DetourCopyPayloadToProcess
  • DetourFinishHelperProcess
  • DetourIsHelperProcess
  • DetourRestoreAfterWith
previous page start next page

Menu

  • Homepage

Table of contents

  • Detours Overview
    • Interception of Binary Functions
    • Using Detours
    • Payloads and DLL Import Editing
    • Detouring 32-bit and 64-bit Processes
  • Detours API Reference
    • DetourAttach
    • DetourAttachEx
    • DetourBinaryClose
    • DetourBinaryDeletePayload
    • DetourBinaryEditImports
      • PF_DETOUR_BINARY_BYWAY_CALLBACK
      • PF_DETOUR_BINARY_COMMIT_CALLBACK
      • PF_DETOUR_BINARY_FILE_CALLBACK
      • PF_DETOUR_BINARY_SYMBOL_CALLBACK
    • DetourBinaryEnumeratePayloads
    • DetourBinaryFindPayload
    • DetourBinaryOpen
    • DetourBinaryPurgePayloads
    • DetourBinaryResetImports
    • DetourBinarySetPayload
    • DetourBinaryWrite
    • DetourCodeFromPointer
    • DetourCopyPayloadToProcess
    • DetourCreateProcessWithDll
    • DetourCreateProcessWithDllEx
    • DetourCreateProcessWithDlls
    • DetourDetach
    • DetourEnumerateExports
      • PF_DETOUR_ENUMERATE_EXPORT_CALLBACK
    • DetourEnumerateImports
      • PF_DETOUR_IMPORT_FILE_CALLBACK
      • PF_DETOUR_IMPORT_FUNC_CALLBACK
    • DetourEnumerateImportsEx
      • PF_DETOUR_IMPORT_FILE_CALLBACK
      • PF_DETOUR_IMPORT_FUNC_CALLBACK_EX
    • DetourEnumerateModules
    • DetourFindFunction
    • DetourFindPayload
    • DetourGetContainingModule
    • DetourGetEntryPoint
    • DetourGetModuleSize
    • DetourIsHelperProcess
    • DetourFinishHelperProcess
    • DetourRestoreAfterWith
    • DetourSetIgnoreTooSmall
    • DetourSetRetainRegions
    • DetourSetSystemRegionLowerBound
    • DetourSetSystemRegionUpperBound
    • DetourTransactionAbort
    • DetourTransactionBegin
    • DetourTransactionCommit
    • DetourTransactionCommitEx
    • DetourUpdateThread
  • Detours Samples
    • Commem
    • Cping
    • Disas
    • Dtest
    • Dumpe
    • Dumpi
    • Einst
    • Excep
    • FindFunc
    • Impmunge
    • Member
    • Region
    • Setdll
    • Simple
    • Slept
    • Syelog
    • Traceapi
    • Tracebld
    • Tracelnk
    • Tracemem
    • Tracereg
    • Traceser
    • Tracetcp
    • Tryman
    • Withdll
  • Frequently Asked Questions

Get in touch

Submit feedback about this site to:

  • [email protected]

© documentation.help. Design: rehmann.co.