102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
dttr_loader.h
Go to the documentation of this file.
1#ifndef DTTR_LOADER_H
2#define DTTR_LOADER_H
3
4#include <stdbool.h>
5#include <windows.h>
6
7typedef struct {
8 bool is_iso;
9 char cache_root[MAX_PATH];
10 char game_root[MAX_PATH];
12
13extern const char *dttr_config_path;
14
16 const WCHAR *image_name,
17 const char *shim_data,
18 size_t shim_data_len,
19 PROCESS_INFORMATION *child_info
20);
21bool DTTR_Loader_InjectSidecar(const PROCESS_INFORMATION *child_info);
23 WCHAR *out,
24 const char *configured_path,
25 DTTR_LoaderIsoContext *iso_context
26);
27void DTTR_Loader_WatchdogAttach(const PROCESS_INFORMATION *child_info);
28void DTTR_Loader_WatchdogDetach(const PROCESS_INFORMATION *child_info);
29bool DTTR_Loader_WatchdogWait(const PROCESS_INFORMATION *child_info);
30
31#endif // DTTR_LOADER_H
void DTTR_Loader_WatchdogDetach(const PROCESS_INFORMATION *child_info)
Definition watchdog.c:137
bool DTTR_Loader_InjectSidecar(const PROCESS_INFORMATION *child_info)
Definition load.c:291
bool DTTR_Loader_WatchdogWait(const PROCESS_INFORMATION *child_info)
Definition watchdog.c:163
const char * dttr_config_path
Definition launcher.c:21
void DTTR_Loader_WatchdogAttach(const PROCESS_INFORMATION *child_info)
Definition watchdog.c:115
bool DTTR_Loader_ResolveEXEPath(WCHAR *out, const char *configured_path, DTTR_LoaderIsoContext *iso_context)
Definition browse.c:459
void DTTR_Compat_CreateProcess(const WCHAR *image_name, const char *shim_data, size_t shim_data_len, PROCESS_INFORMATION *child_info)
Definition nt_process.c:163
char cache_root[MAX_PATH]
Definition dttr_loader.h:9
char game_root[MAX_PATH]
Definition dttr_loader.h:10