|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
Accessor table for the Video_OpenMovieFile symbol object. More...
#include <dttr_pcdogs.h>
Data Fields | |
| DTTR_PCDOGS_T_Symbol_Function_ID | SymbolID |
| Stable SDK symbol ID. | |
| DTTR_PCDOGS_T_Function_ID | FunctionID |
| Public function ID. | |
| bool(* | IsResolved )() |
| Returns true after this symbol has resolved in the active process. | |
| DTTR_Result(* | Status )(const DTTR_Core_Context *ctx) |
| Returns this function descriptor's status in the active process. | |
| bool(* | IsCallable )(const DTTR_Core_Context *ctx) |
| Returns true when this symbol is resolved and safe to call. | |
| uintptr_t(* | Address )() |
| Returns the resolved function address, or zero when unresolved. | |
| DTTR_PCDOGS_T_Hook_Kind(* | HookKind )() |
| Returns the hook-site shape. | |
| uint32_t(* | HookPrologueSize )() |
| Returns the REL32 trampoline size or HOTPATCH entry-window size. | |
| DTTR_Result(* | Call )(const DTTR_Core_Context *ctx, HWND hwnd, const char *movie_path, DTTR_PCDOGS_T_DDraw_IDirectDraw7 *unused_ddraw, char use_alt_video_rect, BOOL *out_ret) |
| Calls the resolved function; value-returning wrappers write through out_ret. | |
| bool(* | Hook )(const DTTR_Core_Context *ctx, DTTR_PCDOGS_F_Video_OpenMovieFile_proto detour, DTTR_PCDOGS_F_Video_OpenMovieFile_proto *out_original) |
| Installs REL32 hooks; HOTPATCH metadata returns false. | |
| DTTR_PCDOGS_T_Patch_Spec(* | PatchSpec )(bool required, DTTR_PCDOGS_F_Video_OpenMovieFile_proto detour, DTTR_PCDOGS_F_Video_OpenMovieFile_proto *out_original) |
| Builds a REL32 function-hook spec; HOTPATCH metadata returns an unsupported spec. | |
| void(* | Unhook )(const DTTR_Core_Context *ctx) |
| Detaches the hook installed through this accessor, if any. | |
Accessor table for the Video_OpenMovieFile symbol object.
Definition at line 36776 of file dttr_pcdogs.h.
| uintptr_t(* dttr_pcdogs_function_accessor_Video_OpenMovieFile::Address) () |
Returns the resolved function address, or zero when unresolved.
Definition at line 36788 of file dttr_pcdogs.h.
| DTTR_Result(* dttr_pcdogs_function_accessor_Video_OpenMovieFile::Call) (const DTTR_Core_Context *ctx, HWND hwnd, const char *movie_path, DTTR_PCDOGS_T_DDraw_IDirectDraw7 *unused_ddraw, char use_alt_video_rect, BOOL *out_ret) |
Calls the resolved function; value-returning wrappers write through out_ret.
Definition at line 36794 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Function_ID dttr_pcdogs_function_accessor_Video_OpenMovieFile::FunctionID |
Public function ID.
Definition at line 36780 of file dttr_pcdogs.h.
| bool(* dttr_pcdogs_function_accessor_Video_OpenMovieFile::Hook) (const DTTR_Core_Context *ctx, DTTR_PCDOGS_F_Video_OpenMovieFile_proto detour, DTTR_PCDOGS_F_Video_OpenMovieFile_proto *out_original) |
Installs REL32 hooks; HOTPATCH metadata returns false.
Definition at line 36803 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Hook_Kind(* dttr_pcdogs_function_accessor_Video_OpenMovieFile::HookKind) () |
Returns the hook-site shape.
Definition at line 36790 of file dttr_pcdogs.h.
| uint32_t(* dttr_pcdogs_function_accessor_Video_OpenMovieFile::HookPrologueSize) () |
Returns the REL32 trampoline size or HOTPATCH entry-window size.
Definition at line 36792 of file dttr_pcdogs.h.
| bool(* dttr_pcdogs_function_accessor_Video_OpenMovieFile::IsCallable) (const DTTR_Core_Context *ctx) |
Returns true when this symbol is resolved and safe to call.
Definition at line 36786 of file dttr_pcdogs.h.
| bool(* dttr_pcdogs_function_accessor_Video_OpenMovieFile::IsResolved) () |
Returns true after this symbol has resolved in the active process.
Definition at line 36782 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Patch_Spec(* dttr_pcdogs_function_accessor_Video_OpenMovieFile::PatchSpec) (bool required, DTTR_PCDOGS_F_Video_OpenMovieFile_proto detour, DTTR_PCDOGS_F_Video_OpenMovieFile_proto *out_original) |
Builds a REL32 function-hook spec; HOTPATCH metadata returns an unsupported spec.
Definition at line 36809 of file dttr_pcdogs.h.
| DTTR_Result(* dttr_pcdogs_function_accessor_Video_OpenMovieFile::Status) (const DTTR_Core_Context *ctx) |
Returns this function descriptor's status in the active process.
Definition at line 36784 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Symbol_Function_ID dttr_pcdogs_function_accessor_Video_OpenMovieFile::SymbolID |
Stable SDK symbol ID.
Definition at line 36778 of file dttr_pcdogs.h.
| void(* dttr_pcdogs_function_accessor_Video_OpenMovieFile::Unhook) (const DTTR_Core_Context *ctx) |
Detaches the hook installed through this accessor, if any.
Definition at line 36815 of file dttr_pcdogs.h.