[PATCH 0/1] MR5002: dinput: Make DirectInputCreateEx hot-patchable.
DxWnd hot-patches it. [DxWnd](https://sourceforge.net/p/dxwnd/home/Home/) is a remarkable tool for working with badly behaved old games. In [the DxWnd source code](https://sourceforge.net/projects/dxwnd/files/Sources/v2_06_01_src.rar/downlo...), see dll/dinput.cpp for the list of hot-patched functions and dll/dxhook.cpp for the actual hot-patching. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5002
From: Alex Henrie <alexhenrie24(a)gmail.com> DxWnd hot-patches it. --- dlls/dinput/dinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dinput/dinput.c b/dlls/dinput/dinput.c index 76c60b09db0..a8d763914a5 100644 --- a/dlls/dinput/dinput.c +++ b/dlls/dinput/dinput.c @@ -890,7 +890,7 @@ HRESULT WINAPI DllGetClassObject( REFCLSID clsid, REFIID iid, void **out ) return CLASS_E_CLASSNOTAVAILABLE; } -HRESULT WINAPI DirectInputCreateEx( HINSTANCE hinst, DWORD version, REFIID iid, void **out, IUnknown *outer ) +HRESULT WINAPI DECLSPEC_HOTPATCH DirectInputCreateEx( HINSTANCE hinst, DWORD version, REFIID iid, void **out, IUnknown *outer ) { IUnknown *unknown; HRESULT hr; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/5002
This merge request was closed by Alex Henrie. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5002
participants (2)
-
Alex Henrie -
Alex Henrie (@alexhenrie)