102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
dttr_loader.h File Reference
#include <stdbool.h>
#include <windows.h>

Go to the source code of this file.

Data Structures

struct  DTTR_LoaderIsoContext

Functions

void DTTR_Compat_CreateProcess (const WCHAR *image_name, const char *shim_data, size_t shim_data_len, PROCESS_INFORMATION *child_info)
bool DTTR_Loader_InjectSidecar (const PROCESS_INFORMATION *child_info)
bool DTTR_Loader_ResolveEXEPath (WCHAR *out, const char *configured_path, DTTR_LoaderIsoContext *iso_context)
void DTTR_Loader_WatchdogAttach (const PROCESS_INFORMATION *child_info)
void DTTR_Loader_WatchdogDetach (const PROCESS_INFORMATION *child_info)
bool DTTR_Loader_WatchdogWait (const PROCESS_INFORMATION *child_info)

Variables

const char * dttr_config_path

Function Documentation

◆ DTTR_Compat_CreateProcess()

◆ DTTR_Loader_InjectSidecar()

◆ DTTR_Loader_ResolveEXEPath()

bool DTTR_Loader_ResolveEXEPath ( WCHAR * out,
const char * configured_path,
DTTR_LoaderIsoContext * iso_context )

Definition at line 459 of file browse.c.

References prompt_browse_for_path(), and try_configured_path().

Referenced by dttr_launcher_main().

◆ DTTR_Loader_WatchdogAttach()

void DTTR_Loader_WatchdogAttach ( const PROCESS_INFORMATION * child_info)

Definition at line 115 of file watchdog.c.

References DTTR_LOG_DEBUG, DTTR_LOG_WARN, should_disable_watchdog(), and watchdog_attached.

Referenced by dttr_launcher_main().

◆ DTTR_Loader_WatchdogDetach()

void DTTR_Loader_WatchdogDetach ( const PROCESS_INFORMATION * child_info)

Definition at line 137 of file watchdog.c.

References detach_watchdog().

Referenced by dttr_launcher_main().

◆ DTTR_Loader_WatchdogWait()

bool DTTR_Loader_WatchdogWait ( const PROCESS_INFORMATION * child_info)

Variable Documentation

◆ dttr_config_path

const char* dttr_config_path
extern

Definition at line 21 of file launcher.c.

Referenced by dttr_launcher_main(), resolve_config_path(), and save_selected_path().