diff --git a/reactos/subsystems/win32/win32k/include/intddraw.h b/reactos/subsystems/win32/win32k/include/intddraw.h index d4023d69268..016996db4f9 100644 --- a/reactos/subsystems/win32/win32k/include/intddraw.h +++ b/reactos/subsystems/win32/win32k/include/intddraw.h @@ -4,6 +4,7 @@ #include #include #include +#include /* From ddraw.c */ extern PDRVFN gpDxFuncs; diff --git a/reactos/subsystems/win32/win32k/ntddraw/dxeng.c b/reactos/subsystems/win32/win32k/ntddraw/dxeng.c new file mode 100644 index 00000000000..06bdcffb78a --- /dev/null +++ b/reactos/subsystems/win32/win32k/ntddraw/dxeng.c @@ -0,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 +#include + +/************************************************************************/ +/* 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; +} + + diff --git a/reactos/subsystems/win32/win32k/win32k.rbuild b/reactos/subsystems/win32/win32k/win32k.rbuild index c9f57d6f06e..3429330342a 100644 --- a/reactos/subsystems/win32/win32k/win32k.rbuild +++ b/reactos/subsystems/win32/win32k/win32k.rbuild @@ -99,7 +99,8 @@ d3d.c dvp.c mocomp.c - stubs.c + eng.c + dxeng.c accelerator.c