|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include <stdint.h>#include <windows.h>Go to the source code of this file.
Functions | |
| int32_t _stdcall | DTTR_Hook_WinMainCallback (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int32_t nCmdShow) |
| Callback target for the patched game Window_RunWinMain routine. | |
| int32_t _stdcall DTTR_Hook_WinMainCallback | ( | HINSTANCE | hInstance, |
| HINSTANCE | hPrevInstance, | ||
| LPSTR | lpCmdLine, | ||
| int32_t | nCmdShow ) |
Callback target for the patched game Window_RunWinMain routine.
Definition at line 574 of file entrypoint.c.
References attempt_play_startup_movies(), cleanup(), cleanup_runtime(), compute_exe_hash(), ctx, dttr_backend, dttr_config, DTTR_CONFIG_FILENAME, DTTR_Config_Load(), DTTR_CrashDump_Init(), DTTR_FATAL, dttr_game_data_init(), dttr_graphics_get_device(), dttr_graphics_get_window(), dttr_graphics_init(), dttr_graphics_mod_device_created(), dttr_graphics_mod_device_restored(), dttr_graphics_mod_window_created(), dttr_imgui_init(), dttr_inputs_late_init(), dttr_loader_dir, DTTR_Log_AddFP(), DTTR_LOG_ERROR, DTTR_LOG_INFO, DTTR_Log_SetLevel(), DTTR_LOG_WARN, dttr_mods_init(), dttr_mods_input_mode_changed(), dttr_mods_late_init(), dttr_mods_overlay_visible_changed(), DTTR_Path_CopySds(), DTTR_Path_ResolveRelativeTo(), dttr_pcdogs_crash_symbols_register(), DTTR_PCDOGS_D_Audio_InitializeSystem_DigitalDriver, DTTR_PCDOGS_D_Input_ProcessWindowMessages_ShouldQuit, DTTR_PCDOGS_D_Window_MainHandle, DTTR_PCDOGS_D_Window_ProcessGameProc_Initialized, DTTR_PCDOGS_D_Window_RunWinMain_RenderingEnabled, DTTR_PCDOGS_D_Window_RunWinMain_SecondaryWindowHandle, DTTR_PCDOGS_ResolveAll(), dttr_sidecar_context(), dttr_sidecar_module, dttr_sidecar_poll_sdl_events(), DTTR_STARTUP_MOVIES_FAILED, DTTR_STARTUP_MOVIES_QUIT, get_config_path(), get_loader_dir(), init_sidecar_context(), initialize_pcdogs_runtime(), install_required_sidecar_hooks(), NULL, pc_dogs_module, REQUIRE_PCDOGS_CALL, start_pcdogs_runtime(), and tick_main_loop().
Referenced by install_win_main_hook().