- 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.

svn path=/trunk/; revision=41673
This commit is contained in:
Aleksey Bragin 2009-06-28 18:58:45 +00:00
parent 831c3b7900
commit 07fd6e0b76
2 changed files with 9 additions and 1 deletions

View file

@ -426,6 +426,15 @@ typedef struct _VIDEO_HARDWARE_STATE {
#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

View file

@ -44,7 +44,6 @@ extern "C" {
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;