mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 15:08:14 +00:00
start activate code in dxg.sys
fixed compiling issue with win32kdc.h FIXME : win32k.sys and dxg.sys compiling are broken at moment svn path=/branches/reactx/; revision=29790
This commit is contained in:
parent
461b232a67
commit
31f85ca295
2 changed files with 20 additions and 5 deletions
|
@ -12,6 +12,21 @@
|
||||||
|
|
||||||
#include <dxg_int.h>
|
#include <dxg_int.h>
|
||||||
|
|
||||||
|
ULONG gcDxgFuncs = 0x5C;
|
||||||
|
ULONG gcMaxDdHmgr = 0;
|
||||||
|
ULONG gcSizeDdHmgr = 0;
|
||||||
|
gcDummyPageRefCnt = 0;
|
||||||
|
|
||||||
|
HSEMAPHORE *ghsemHmgr = NULL;
|
||||||
|
VOID * gpDummyPage;
|
||||||
|
|
||||||
|
DRVFN gaDxgFuncs [] =
|
||||||
|
{
|
||||||
|
{0, (PFN) NULL}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
DriverEntry(IN PVOID Context1,
|
DriverEntry(IN PVOID Context1,
|
||||||
|
@ -29,12 +44,12 @@ DxDdStartupDxGraphics (ULONG SizeEngDrv,
|
||||||
PULONG DirectDrawContext,
|
PULONG DirectDrawContext,
|
||||||
PEPROCESS Proc )
|
PEPROCESS Proc )
|
||||||
{
|
{
|
||||||
#if 0
|
|
||||||
PDRVFN drv_func;
|
PDRVFN drv_func;
|
||||||
|
|
||||||
/* Test see if the data is vaild we got from win32k.sys */
|
/* Test see if the data is vaild we got from win32k.sys */
|
||||||
if (size_EngDrv != sizeof(DRVENABLEDATA)) ||
|
if ((SizeEngDrv != sizeof(DRVENABLEDATA)) ||
|
||||||
(size_DXG_INDEX_API != sizeof(DRVENABLEDATA))
|
(SizeDxgDrv != sizeof(DRVENABLEDATA)))
|
||||||
{
|
{
|
||||||
return STATUS_BUFFER_TOO_SMALL;
|
return STATUS_BUFFER_TOO_SMALL;
|
||||||
}
|
}
|
||||||
|
@ -56,7 +71,7 @@ DxDdStartupDxGraphics (ULONG SizeEngDrv,
|
||||||
{
|
{
|
||||||
return STATUS_INTERNAL_ERROR;
|
return STATUS_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* Check if all drv functions are sorted right
|
* Check if all drv functions are sorted right
|
||||||
* and if it really are exported
|
* and if it really are exported
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#ifndef __WIN32K_DC_H
|
#ifndef __WIN32K_DC_H
|
||||||
#define __WIN32K_DC_H
|
#define __WIN32K_DC_H
|
||||||
|
|
||||||
#include "driver.h"
|
#include <reactos/win32k/win32kdriver.h>
|
||||||
|
|
||||||
typedef enum tagGdiPathState
|
typedef enum tagGdiPathState
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue