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.…
==============================================================================
--- 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 ********/