[ros-diffs] [greatlrd] 23255: Forget commit some changes

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Sun Jul 23 21:57:36 CEST 2006


Author: greatlrd
Date: Sun Jul 23 23:57:36 2006
New Revision: 23255

URL: http://svn.reactos.org/svn/reactos?rev=23255&view=rev
Log:
Forget commit some changes 

Modified:
    trunk/reactos/dll/directx/ddraw/rosdraw.h

Modified: trunk/reactos/dll/directx/ddraw/rosdraw.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/rosdraw.h?rev=23255&r1=23254&r2=23255&view=diff
==============================================================================
--- trunk/reactos/dll/directx/ddraw/rosdraw.h (original)
+++ trunk/reactos/dll/directx/ddraw/rosdraw.h Sun Jul 23 23:57:36 2006
@@ -19,11 +19,28 @@
 /* DirectDraw Cleanup code only internal use */
 VOID Cleanup(LPDIRECTDRAW7 iface);
 
-
 /* own macro to alloc memmory */
 #define DxHeapMemAlloc(m)  HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, m) 
 #define DxHeapMemFree(p)   HeapFree(GetProcessHeap(), 0, p);
 /******** Main Object ********/
+
+/* Public interface */
+HRESULT WINAPI  Main_DirectDraw_QueryInterface (LPDIRECTDRAW7 iface, REFIID id, LPVOID *obj);
+ULONG   WINAPI  Main_DirectDraw_AddRef        (LPDIRECTDRAW7 iface);
+ULONG   WINAPI  Main_DirectDraw_Release       (LPDIRECTDRAW7 iface);
+HRESULT WINAPI  Main_DirectDraw_Compact       (LPDIRECTDRAW7 iface); 
+
+HRESULT WINAPI  Main_DirectDraw_CreateClipper (LPDIRECTDRAW7 iface, 
+											   DWORD dwFlags, 
+											   LPDIRECTDRAWCLIPPER *ppClipper, 
+											   IUnknown *pUnkOuter);
+
+HRESULT WINAPI  Main_DirectDraw_CreatePalette (LPDIRECTDRAW7 iface, 
+											   DWORD dwFlags,
+                                               LPPALETTEENTRY palent, 
+											   LPDIRECTDRAWPALETTE* ppPalette, 
+											   LPUNKNOWN pUnkOuter);
+
 
 typedef struct 
 {
@@ -68,10 +85,7 @@
 
 	/* HEL stuff */
 	DWORD HELMemoryAvilable;
-
-    /* internal counter */
-    ULONG ref;
-    
+       
     /* DD Callbacks info */   	
 	DDHAL_DESTROYDRIVERDATA mDdDestroyDriver;
     DDHAL_CREATESURFACEDATA      mDdCreateSurface;
@@ -94,6 +108,9 @@
 
     DDSURFACEDESC mddsdPrimary;
 
+	/* adding a switch */
+	DWORD devicetype;
+
 } IDirectDrawImpl; 
 
 /******** Surface Object ********/
@@ -158,7 +175,7 @@
     LONG ref;
 
     IDirectDrawImpl* owner;
-
+	DDRAWI_DDRAWPALETTE_GBL DDPalette;    
 } IDirectDrawPaletteImpl;
 
 /******** Gamma Object ********/




More information about the Ros-diffs mailing list