Author: greatlrd Date: Mon Oct 15 16:38:50 2007 New Revision: 29599
URL: http://svn.reactos.org/svn/reactos?rev=29599&view=rev Log: start implement the dxeng driver api that are need it for dxg.sys I manger kill of some local tree with this commit. ReactX can not be build
Added: branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dxeng.c (with props) Modified: branches/reactx/reactos/subsystems/win32/win32k/include/intddraw.h branches/reactx/reactos/subsystems/win32/win32k/win32k.rbuild
Modified: branches/reactx/reactos/subsystems/win32/win32k/include/intddraw.h URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/subsystems/win32/... ============================================================================== --- branches/reactx/reactos/subsystems/win32/win32k/include/intddraw.h (original) +++ branches/reactx/reactos/subsystems/win32/win32k/include/intddraw.h Mon Oct 15 16:38:50 2007 @@ -4,6 +4,7 @@ #include <ddrawint.h> #include <ddkernel.h> #include <reactos/drivers/directx/dxg.h> +#include <reactos/drivers/directx/dxeng.h>
/* From ddraw.c */ extern PDRVFN gpDxFuncs;
Added: branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dxeng.c URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/subsystems/win32/... ============================================================================== --- branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dxeng.c (added) +++ branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dxeng.c Mon Oct 15 16:38:50 2007 @@ -1,0 +1,78 @@ +/* + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: Native driver enumate of dxeng implementation + * FILE: subsys/win32k/ntddraw/dxeng.c + * PROGRAMER: Magnus olsen (magnus@greatlord.com) + * REVISION HISTORY: + * 15/10-2007 Magnus Olsen + */ + +#include <w32k.h> +#include <debug.h> + +/************************************************************************/ +/* DxEngNUIsTermSrv */ +/************************************************************************/ + +/* Notes : Check see if termal server got a connections or not */ +BOOL +DxEngNUIsTermSrv() +{ + /* FIXME ReactOS does not suport terminal server yet, we can not check if we got a connections or not */ + DPRINT1("We need termal server connections check"); + return FALSE; +} + +/************************************************************************/ +/* DxEngRedrawDesktop */ +/************************************************************************/ + +/* Notes : it always return TRUE, and it update whole the screen (redaw current desktop) */ +BOOL +DxEngRedrawDesktop() +{ + /* FIXME add redraw code */ + DPRINT1("We need add code for redraw whole desktop"); + return TRUE; +} + + +/************************************************************************/ +/* DxEngDispUniq */ +/************************************************************************/ + +/* Notes : return the DisplayUniqVisrgn counter from gdishare memory */ +ULONG +DxEngDispUniq() +{ + /* FIXME DisplayUniqVisrgn from gdishare memory */ + DPRINT1("We need DisplayUniqVisrgn from gdishare memory"); + return 0; +} + +/************************************************************************/ +/* DxEngVisRgnUniq */ +/************************************************************************/ +/* Notes : return the VisRgnUniq counter for win32k */ +ULONG +DxEngVisRgnUniq() +{ + /* FIXME DisplayUniqVisrgn from gdishare memory */ + DPRINT1("We need VisRgnUniq from win32k"); + return 0; +} + +/************************************************************************/ +/* Enumate all drivers in win32k */ +/************************************************************************/ +/* Enumate all drivers in win32k */ +HDEV * +DxEngEnumerateHdev(HDEV *hdev); +{ + /* FIXME Enumate all drivers in win32k */ + DPRINT1("We do not enumate any device from win32k "); + return 0; +} + +
Propchange: branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dxeng.c ------------------------------------------------------------------------------ svn:eol-style = native
Modified: branches/reactx/reactos/subsystems/win32/win32k/win32k.rbuild URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/subsystems/win32/... ============================================================================== --- branches/reactx/reactos/subsystems/win32/win32k/win32k.rbuild (original) +++ branches/reactx/reactos/subsystems/win32/win32k/win32k.rbuild Mon Oct 15 16:38:50 2007 @@ -99,7 +99,8 @@ <file>d3d.c</file> <file>dvp.c</file> <file>mocomp.c</file> - <file>stubs.c</file> + <file>eng.c</file> + <file>dxeng.c</file> </directory> <directory name="ntuser"> <file>accelerator.c</file>