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

Go to the source code of this file.

Functions

DTTR_PCDOGS_T_File_Handledttr_crt_hook_open_file_callback (const char *path, const char *mode)
uint32_t dttr_hook_resolve_pcdogs_path_callback ()
BOOL dttr_hook_cleanup_title_resources_callback ()
bool dttr_game_hooks_init (const DTTR_Mods_Context *ctx)
void dttr_game_hooks_cleanup (const DTTR_Mods_Context *ctx)

Function Documentation

◆ dttr_crt_hook_open_file_callback()

DTTR_PCDOGS_T_File_Handle * dttr_crt_hook_open_file_callback ( const char * path,
const char * mode )

◆ dttr_game_hooks_cleanup()

void dttr_game_hooks_cleanup ( const DTTR_Mods_Context * ctx)

Definition at line 41 of file hooks.c.

References DTTR_Core_PatchGroupRelease(), game_targets, and NULL.

Referenced by cleanup_runtime().

◆ dttr_game_hooks_init()

◆ dttr_hook_cleanup_title_resources_callback()

◆ dttr_hook_resolve_pcdogs_path_callback()