From 86a86862c451e6790612de58ed19b26af198fee3 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sun, 23 Oct 2005 10:02:46 +0000 Subject: [PATCH] adding DD_VIDEOPORT_LOCAL struct svn path=/trunk/; revision=18695 --- reactos/w32api/include/ddk/ddrawint.h | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/reactos/w32api/include/ddk/ddrawint.h b/reactos/w32api/include/ddk/ddrawint.h index 0d1592c2c7f..fe3621bf95b 100644 --- a/reactos/w32api/include/ddk/ddrawint.h +++ b/reactos/w32api/include/ddk/ddrawint.h @@ -24,13 +24,13 @@ extern "C" { #endif -// FIXME: These should have been defined in other header files! + + + typedef struct _DD_VIDEOPORT_LOCAL *PDD_VIDEOPORT_LOCAL; /* should be defined here once we have dvp.h */ - - /************************************************************************/ /* Video memory info structures */ /************************************************************************/ @@ -194,6 +194,21 @@ typedef struct LPVOID lpDriverReserved3; } DD_MOTIONCOMP_LOCAL, *PDD_MOTIONCOMP_LOCAL; + +typedef struct _DD_VIDEOPORT_LOCAL +{ + PDD_DIRECTDRAW_LOCAL lpDD; + DDVIDEOPORTDESC ddvpDesc; + DDVIDEOPORTINFO ddvpInfo; + PDD_SURFACE_INT lpSurface; + PDD_SURFACE_INT lpVBISurface; + DWORD dwNumAutoflip; + DWORD dwNumVBIAutoflip; + ULONG_PTR dwReserved1; + ULONG_PTR dwReserved2; + ULONG_PTR dwReserved3; +} DD_VIDEOPORT_LOCAL ; + /************************************************************************/ /* IDirectDrawSurface callbacks */ /************************************************************************/