Define COM-Interfaces for  IDirectDrawKernel and SurfaceKernel and add a little typedef.
Modified: trunk/reactos/w32api/include/ddk/ddkernel.h
Modified: trunk/reactos/w32api/include/ddk/dvp.h

Modified: trunk/reactos/w32api/include/ddk/ddkernel.h
--- trunk/reactos/w32api/include/ddk/ddkernel.h	2005-10-29 09:59:30 UTC (rev 18840)
+++ trunk/reactos/w32api/include/ddk/ddkernel.h	2005-10-29 10:33:12 UTC (rev 18841)
@@ -51,6 +51,33 @@
 #define DDIRQ_VPORT9_VSYNC		         	 0x00010000
 #define DDIRQ_VPORT9_LINE         			 0x00020000
 
+#if defined(_WIN32) && !defined(_NO_COM)
+
+#undef INTERFACE
+#define INTERFACE IDirectDrawKernel
+DECLARE_INTERFACE_ (IDirectDrawKernel, IUnknown)
+{
+    STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID* ppvObj) PURE;
+    STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+    STDMETHOD_(ULONG,Release) (THIS) PURE;
+	STDMETHOD(GetKernelHandle) (THIS_ ULONG*) PURE;
+	STDMETHOD(ReleaseKernelHandle) (THIS) PURE;
+};
+
+#undef INTERFACE
+#define INTERFACE IDirectDrawSurfaceKernel
+DECLARE_INTERFACE_ (IDirectDrawSurfaceKernel, IUnknown)
+{
+    STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID* ppvObj) PURE;
+    STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+    STDMETHOD_(ULONG,Release) (THIS) PURE;
+	STDMETHOD(GetKernelHandle) (THIS_ ULONG*) PURE;
+	STDMETHOD(ReleaseKernelHandle) (THIS) PURE;
+};
+
+#undef INTERFACE
+#endif // defined(_WIN32) && !defined(_NO_COM)
+
 #ifdef __cplusplus
 };
 #endif

Modified: trunk/reactos/w32api/include/ddk/dvp.h
--- trunk/reactos/w32api/include/ddk/dvp.h	2005-10-29 09:59:30 UTC (rev 18840)
+++ trunk/reactos/w32api/include/ddk/dvp.h	2005-10-29 10:33:12 UTC (rev 18841)
@@ -209,6 +209,7 @@
 
 typedef struct IDirectDrawVideoPort* LPDIRECTDRAWVIDEOPORT;
 typedef struct IDDVideoPortContainer* LPDDVIDEOPORTCONTAINER;
+typedef struct IDirectDrawVideoPortNotify* LPDIRECTDRAWVIDEOPORTNOTIFY;
 
 typedef HRESULT (FAR PASCAL * LPDDENUMVIDEOCALLBACK)(LPDDVIDEOPORTCAPS, LPVOID);