|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
Go to the source code of this file.
Macros | |
| #define | DTTR_ERROR_TITLE "DttR: Error" |
| #define | DTTR_FATAL_ERROR_TITLE "DttR: Fatal Error" |
| #define | DTTR_ERROR(error_message, ...) |
| #define | DTTR_REPORT_SUFFIX |
| #define | DTTR_FATAL(error_message, ...) |
| #define | DTTR_UNWRAP_WINAPI() |
| #define | DTTR_UNWRAP_WINAPI_IF(result, is_error) |
| #define | DTTR_UNWRAP_WINAPI_NONNEGATIVE_IS_ERROR(x) |
| #define | DTTR_UNWRAP_WINAPI_NONNEGATIVE(result) |
| #define | DTTR_UNWRAP_WINAPI_NONZERO_IS_ERROR(x) |
| #define | DTTR_UNWRAP_WINAPI_NONZERO(result) |
| #define | DTTR_UNWRAP_WINAPI_EXISTS_IS_ERROR(x) |
| #define | DTTR_UNWRAP_WINAPI_EXISTS(result) |
Typedefs | |
| typedef void(* | DTTR_ErrorMessageHandler) (const char *title, const char *message) |
Functions | |
| void | DTTR_Errors_SetMessageHandler (DTTR_ErrorMessageHandler handler) |
| void | DTTR_Errors_ShowMessage (const char *title, const char *message) |
| #define DTTR_ERROR | ( | error_message, | |
| ... ) |
Definition at line 18 of file dttr_errors.h.
Referenced by dttr_launcher_main(), DTTR_Loader_WatchdogWait(), and write_child_dump().
| #define DTTR_ERROR_TITLE "DttR: Error" |
Definition at line 15 of file dttr_errors.h.
Referenced by write_child_dump().
| #define DTTR_FATAL | ( | error_message, | |
| ... ) |
Definition at line 30 of file dttr_errors.h.
Referenced by DTTR_Compat_CreateProcess(), DTTR_Hook_WinMainCallback(), dttr_launcher_main(), resolve_config_path(), resolve_nt_path_and_cwd(), and unload_mod().
| #define DTTR_FATAL_ERROR_TITLE "DttR: Fatal Error" |
Definition at line 16 of file dttr_errors.h.
| #define DTTR_REPORT_SUFFIX |
Definition at line 26 of file dttr_errors.h.
Referenced by DTTR_CrashDump_AppendReportMessage(), dttr_launcher_main(), and DTTR_Loader_WatchdogWait().
| #define DTTR_UNWRAP_WINAPI | ( | ) |
Definition at line 40 of file dttr_errors.h.
| #define DTTR_UNWRAP_WINAPI_EXISTS | ( | result | ) |
Definition at line 79 of file dttr_errors.h.
Referenced by DllMain(), DTTR_Compat_CreateProcess(), and write_remote_shim_data().
| #define DTTR_UNWRAP_WINAPI_EXISTS_IS_ERROR | ( | x | ) |
Definition at line 78 of file dttr_errors.h.
| #define DTTR_UNWRAP_WINAPI_IF | ( | result, | |
| is_error ) |
Definition at line 61 of file dttr_errors.h.
| #define DTTR_UNWRAP_WINAPI_NONNEGATIVE | ( | result | ) |
Definition at line 71 of file dttr_errors.h.
| #define DTTR_UNWRAP_WINAPI_NONNEGATIVE_IS_ERROR | ( | x | ) |
Definition at line 70 of file dttr_errors.h.
| #define DTTR_UNWRAP_WINAPI_NONZERO | ( | result | ) |
Definition at line 75 of file dttr_errors.h.
Referenced by DTTR_Compat_CreateProcess(), and write_remote_shim_data().
| #define DTTR_UNWRAP_WINAPI_NONZERO_IS_ERROR | ( | x | ) |
Definition at line 74 of file dttr_errors.h.
| typedef void(* DTTR_ErrorMessageHandler) (const char *title, const char *message) |
Definition at line 10 of file dttr_errors.h.
| void DTTR_Errors_SetMessageHandler | ( | DTTR_ErrorMessageHandler | handler | ) |
Definition at line 6 of file errors.c.
References message_handler.
Referenced by dttr_launcher_main().
| void DTTR_Errors_ShowMessage | ( | const char * | title, |
| const char * | message ) |
Definition at line 10 of file errors.c.
References DTTR_SDL_ShowSimpleMessageBox(), message_handler, and NULL.
Referenced by dttr_graphics_init(), and write_child_dump().