Stefan Dösinger : dinput: Make the creation functions hookable.
Alexandre Julliard
julliard at winehq.org
Wed Oct 14 09:02:01 CDT 2009
Module: wine
Branch: master
Commit: 024dcba89a834004264910b079d33177a279ccf5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=024dcba89a834004264910b079d33177a279ccf5
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Sat Sep 12 14:18:32 2009 +0200
dinput: Make the creation functions hookable.
---
dlls/dinput/dinput_main.c | 4 ++--
dlls/dinput8/dinput8_main.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/dinput/dinput_main.c b/dlls/dinput/dinput_main.c
index 9769d74..78a5e26 100644
--- a/dlls/dinput/dinput_main.c
+++ b/dlls/dinput/dinput_main.c
@@ -162,7 +162,7 @@ HRESULT WINAPI DirectInputCreateEx(
/******************************************************************************
* DirectInputCreateA (DINPUT.@)
*/
-HRESULT WINAPI DirectInputCreateA(HINSTANCE hinst, DWORD dwVersion, LPDIRECTINPUTA *ppDI, LPUNKNOWN punkOuter)
+HRESULT WINAPI DECLSPEC_HOTPATCH DirectInputCreateA(HINSTANCE hinst, DWORD dwVersion, LPDIRECTINPUTA *ppDI, LPUNKNOWN punkOuter)
{
return DirectInputCreateEx(hinst, dwVersion, &IID_IDirectInput7A, (LPVOID *)ppDI, punkOuter);
}
@@ -170,7 +170,7 @@ HRESULT WINAPI DirectInputCreateA(HINSTANCE hinst, DWORD dwVersion, LPDIRECTINPU
/******************************************************************************
* DirectInputCreateW (DINPUT.@)
*/
-HRESULT WINAPI DirectInputCreateW(HINSTANCE hinst, DWORD dwVersion, LPDIRECTINPUTW *ppDI, LPUNKNOWN punkOuter)
+HRESULT WINAPI DECLSPEC_HOTPATCH DirectInputCreateW(HINSTANCE hinst, DWORD dwVersion, LPDIRECTINPUTW *ppDI, LPUNKNOWN punkOuter)
{
return DirectInputCreateEx(hinst, dwVersion, &IID_IDirectInput7W, (LPVOID *)ppDI, punkOuter);
}
diff --git a/dlls/dinput8/dinput8_main.c b/dlls/dinput8/dinput8_main.c
index c855caf..77f7f64 100644
--- a/dlls/dinput8/dinput8_main.c
+++ b/dlls/dinput8/dinput8_main.c
@@ -50,7 +50,7 @@ static void UnlockModule(void)
/******************************************************************************
* DirectInput8Create (DINPUT8.@)
*/
-HRESULT WINAPI DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFIID riid, LPVOID *ppDI, LPUNKNOWN punkOuter) {
+HRESULT WINAPI DECLSPEC_HOTPATCH DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFIID riid, LPVOID *ppDI, LPUNKNOWN punkOuter) {
HRESULT hr;
TRACE("hInst (%p), dwVersion: %d, riid (%s), punkOuter (%p))\n", hinst, dwVersion, debugstr_guid(riid), punkOuter);
More information about the wine-cvs
mailing list