[DDRAW]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 20 Jan 2014 11:20:33 +0000 (11:20 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 20 Jan 2014 11:20:33 +0000 (11:20 +0000)
* Improve the GUIDs situation.
* Improve the main header.
CORE-7716

svn path=/trunk/; revision=61716

reactos/dll/directx/wine/ddraw/ddraw_private.h
reactos/dll/directx/wine/ddraw/main.c

index e9f5acf..6fb9608 100644 (file)
 #include <config.h>
 #include <wine/port.h>
 
 #include <config.h>
 #include <wine/port.h>
 
+#include <assert.h>
+#include <stdarg.h>
+
 #define _INC_WINDOWS
 #define COM_NO_WINDOWS_H
 
 #define _INC_WINDOWS
 #define COM_NO_WINDOWS_H
 
-#include <assert.h>
 #define COBJMACROS
 #define NONAMELESSSTRUCT
 #define NONAMELESSUNION
 
 #define COBJMACROS
 #define NONAMELESSSTRUCT
 #define NONAMELESSUNION
 
-#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(ddraw);
-
+#include <windef.h>
 #include <winbase.h>
 #include <wingdi.h>
 #include <winuser.h>
 #include <winbase.h>
 #include <wingdi.h>
 #include <winuser.h>
-
-#include <initguid.h>
 #include <d3d.h>
 
 #include <d3d.h>
 
+#include <wine/debug.h>
 #include <wine/list.h>
 #include <wine/wined3d.h>
 
 #include <wine/list.h>
 #include <wine/wined3d.h>
 
+WINE_DEFAULT_DEBUG_CHANNEL(ddraw);
+
 extern const struct wined3d_parent_ops ddraw_null_wined3d_parent_ops DECLSPEC_HIDDEN;
 extern DWORD force_refresh_rate DECLSPEC_HIDDEN;
 
 extern const struct wined3d_parent_ops ddraw_null_wined3d_parent_ops DECLSPEC_HIDDEN;
 extern DWORD force_refresh_rate DECLSPEC_HIDDEN;
 
@@ -620,4 +621,4 @@ static inline void copy_to_surfacedesc2(DDSURFACEDESC2 *to, DDSURFACEDESC2 *from
 
 HRESULT hr_ddraw_from_wined3d(HRESULT hr) DECLSPEC_HIDDEN;
 
 
 HRESULT hr_ddraw_from_wined3d(HRESULT hr) DECLSPEC_HIDDEN;
 
-#endif
+#endif /* __WINE_DLLS_DDRAW_DDRAW_PRIVATE_H */
index 525365e..8a98011 100644 (file)
  */
 
 #include "ddraw_private.h"
  */
 
 #include "ddraw_private.h"
+
+#include <winreg.h>
 #include <rpcproxy.h>
 
 #include <wine/exception.h>
 #include <rpcproxy.h>
 
 #include <wine/exception.h>
-#include <winreg.h>
 
 static struct list global_ddraw_list = LIST_INIT(global_ddraw_list);
 
 
 static struct list global_ddraw_list = LIST_INIT(global_ddraw_list);