102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
hooks_private.h
Go to the documentation of this file.
1#ifndef DTTR_GRAPHICS_HOOKS_PRIVATE_H
2#define DTTR_GRAPHICS_HOOKS_PRIVATE_H
3
4#include <dttr_mods.h>
5#include <dttr_pcdogs.h>
6#include <windows.h>
7
10
13 void **ddraw_out,
16);
17
18typedef BOOL(__stdcall *DDraw_EnumCallbackExA)(
19 GUID *lpGUID,
20 LPSTR lpDriverDescription,
21 LPSTR lpDriverName,
22 LPVOID lpContext,
23 HMONITOR hm
24);
25
27 DDraw_EnumCallbackExA lpCallback,
28 LPVOID lpContext,
29 DWORD dwFlags
30);
31
32#endif // DTTR_GRAPHICS_HOOKS_PRIVATE_H
DTTR_Graphics_COM_Direct3DDevice7 DWORD block DTTR_Graphics_COM_Direct3DDevice7 DWORD block DTTR_Graphics_COM_Direct3DDevice7 void void void void DWORD f BOOL
void void * ctx
GUID DTTR_PCDOGS_T_Win32_GUID
Win32 GUID value used by DirectDraw import entries.
struct DTTR_PCDOGS_T_COM_IUnknown DTTR_PCDOGS_T_COM_IUnknown
BOOL(* DDraw_EnumCallbackExA)(GUID *lpGUID, LPSTR lpDriverDescription, LPSTR lpDriverName, LPVOID lpContext, HMONITOR hm)
HRESULT dttr_hook_directdraw_create_ex_callback(DTTR_PCDOGS_T_Win32_GUID *guid, void **ddraw_out, DTTR_PCDOGS_T_Win32_GUID *iid, DTTR_PCDOGS_T_COM_IUnknown *outer)
Definition hooks.c:135
void dttr_graphics_hooks_cleanup(const DTTR_Mods_Context *ctx)
Definition hooks.c:236
bool dttr_graphics_hooks_init(const DTTR_Mods_Context *ctx)
Definition hooks.c:190
HRESULT dttr_hook_directdraw_enumerate_ex_a_callback(DDraw_EnumCallbackExA lpCallback, LPVOID lpContext, DWORD dwFlags)
Definition hooks.c:168