=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: d3d9: Make ResetEx and PresentEx hookable.

Alexandre Julliard julliard at winehq.org
Mon Mar 3 13:20:11 CST 2014


Module: wine
Branch: master
Commit: 7f675174c8a25cc04ad09702dfb6a7d649d74576
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7f675174c8a25cc04ad09702dfb6a7d649d74576

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Mon Mar  3 10:15:38 2014 +0100

d3d9: Make ResetEx and PresentEx hookable.

---

 dlls/d3d9/device.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index 73ac97f..66bee95 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -3066,7 +3066,7 @@ static HRESULT WINAPI d3d9_device_ComposeRects(IDirect3DDevice9Ex *iface,
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI d3d9_device_PresentEx(IDirect3DDevice9Ex *iface,
+static HRESULT WINAPI DECLSPEC_HOTPATCH d3d9_device_PresentEx(IDirect3DDevice9Ex *iface,
         const RECT *src_rect, const RECT *dst_rect, HWND dst_window_override,
         const RGNDATA *dirty_region, DWORD flags)
 {
@@ -3185,7 +3185,7 @@ static HRESULT WINAPI d3d9_device_CreateDepthStencilSurfaceEx(IDirect3DDevice9Ex
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI d3d9_device_ResetEx(IDirect3DDevice9Ex *iface,
+static HRESULT WINAPI DECLSPEC_HOTPATCH d3d9_device_ResetEx(IDirect3DDevice9Ex *iface,
         D3DPRESENT_PARAMETERS *present_parameters, D3DDISPLAYMODEEX *mode)
 {
     struct d3d9_device *device = impl_from_IDirect3DDevice9Ex(iface);




More information about the wine-cvs mailing list