]> git.cworth.org Git - apitrace/blobdiff - retrace/d3dretrace.hpp
Don't rely on D3D private data mechanism.
[apitrace] / retrace / d3dretrace.hpp
index 91b84fb1b902813906b03c3f18abf814178abde7..b552c0bf3935a609d06fe9be07f34bf4095897ec 100644 (file)
 #ifndef _D3DRETRACE_HPP_
 #define _D3DRETRACE_HPP_
 
+
+#include <windows.h>
+
 #include "retrace.hpp"
 
 
-class IDirect3DDevice9;
+struct IDirect3DDevice9;
 
 
 extern const char *g_szD3D9DllName;
@@ -44,6 +47,16 @@ extern IDirect3DDevice9 *pLastDirect3DDevice9;
 extern const retrace::Entry d3d9_callbacks[];
 
 
+HWND
+createWindow(int width, int height);
+
+void
+resizeWindow(HWND hWnd, int width, int height);
+
+bool
+processEvents(void);
+
+
 } /* namespace d3dretrace */