mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +00:00
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 svn path=/branches/reactx/; revision=29599
This commit is contained in:
parent
43e85fc362
commit
6a362ee13f
3 changed files with 81 additions and 1 deletions
|
@ -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;
|
||||
|
|
78
reactos/subsystems/win32/win32k/ntddraw/dxeng.c
Normal file
78
reactos/subsystems/win32/win32k/ntddraw/dxeng.c
Normal file
|
@ -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 <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;
|
||||
}
|
||||
|
||||
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue