[ros-diffs] [fireball] 41673: - Add ENG_EVENT structure definition (from MSDN) to ntddvdeo.h. - Fix PEVENT definition in video.h: it's not some mystic VIDEO_PORT_EVENT which is not defined anywhere, it's a documented structure, which has to be compatible with the structure used in win32k EngEvent* functions too.

fireball at svn.reactos.org fireball at svn.reactos.org
Sun Jun 28 20:58:46 CEST 2009


Author: fireball
Date: Sun Jun 28 22:58:45 2009
New Revision: 41673

URL: http://svn.reactos.org/svn/reactos?rev=41673&view=rev
Log:
- Add ENG_EVENT structure definition (from MSDN) to ntddvdeo.h.
- Fix PEVENT definition in video.h: it's not some mystic VIDEO_PORT_EVENT which is not defined anywhere, it's a documented structure, which has to be compatible with the structure used in win32k EngEvent* functions too.

Modified:
    trunk/reactos/include/ddk/ntddvdeo.h
    trunk/reactos/include/ddk/video.h

Modified: trunk/reactos/include/ddk/ntddvdeo.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntddvdeo.h?rev=41673&r1=41672&r2=41673&view=diff
==============================================================================
--- trunk/reactos/include/ddk/ntddvdeo.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntddvdeo.h [iso-8859-1] Sun Jun 28 22:58:45 2009
@@ -426,6 +426,15 @@
 #define VIDEO_DUALVIEW_PRIMARY            0x80000000
 #define VIDEO_DUALVIEW_SECONDARY          0x40000000
 
+typedef struct _ENG_EVENT *PEVENT;
+
+typedef struct _ENG_EVENT
+{
+    PVOID pKEvent;
+    ULONG fFlags;
+} ENG_EVENT, *PENG_EVENT;
+
+
 #ifdef __cplusplus
 }
 #endif

Modified: trunk/reactos/include/ddk/video.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/video.h?rev=41673&r1=41672&r2=41673&view=diff
==============================================================================
--- trunk/reactos/include/ddk/video.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/video.h [iso-8859-1] Sun Jun 28 22:58:45 2009
@@ -44,7 +44,6 @@
 typedef LONG VP_STATUS;
 typedef VP_STATUS *PVP_STATUS;
 typedef struct __DMA_PARAMETERS * PDMA;
-typedef struct _VIDEO_PORT_EVENT *PEVENT;
 typedef struct _VIDEO_PORT_SPIN_LOCK *PSPIN_LOCK;
 typedef struct __VP_DMA_ADAPTER *PVP_DMA_ADAPTER;
 



More information about the Ros-diffs mailing list