* Include NDK headers on-demand.
* Set dxg_int.h as a PCH.
svn path=/trunk/; revision=53283
set_module_type(dxg kernelmodedriver)
add_importlibs(dxg dxgthk ntoskrnl)
-
-add_cd_file(TARGET dxg DESTINATION reactos/system32/drivers FOR all)
\ No newline at end of file
+add_pch(dxg dxg_int.h)
+add_cd_file(TARGET dxg DESTINATION reactos/system32/drivers FOR all)
-
DRVFN gaDxgFuncs [] =
{
{DXG_INDEX_DxDxgGenericThunk, (PFN)DxDxgGenericThunk},
-/* DDK/NDK/SDK Headers */
-#include <ntddk.h>
-#include <ntddmou.h>
#include <ntifs.h>
-#include <tvout.h>
-#include <ntndk.h>
/* Win32 Headers */
#define WINBASEAPI
#define INTERNAL_CALL NTAPI
#define NT_BUILD_ENVIRONMENT
-#include <stdarg.h>
#include <windef.h>
#include <winerror.h>
#include <wingdi.h>
#include <winddi.h>
-#include <prntfont.h>
-#include <dde.h>
/* DXG treats this as opaque */
typedef PVOID PDC;
#define drvDxEngUnlockDC gpEngFuncs[DXENG_INDEX_DxEngUnlockDC]
#define drvDxEngUnlockHdev gpEngFuncs[DXENG_INDEX_DxEngUnlockHdev]
#define drvDxEngLockHdev gpEngFuncs[DXENG_INDEX_DxEngLockHdev]
-
* 30/12-2007 Magnus Olsen
*/
-
#include <dxg_int.h>
-
PDD_SURFACE_LOCAL
NTAPI
DxDdLockDirectDrawSurface(HANDLE hDdSurface)
return retVal;
}
-
-
-
-
-
-
-
-
* 15/10-2007 Magnus Olsen
*/
-
#include <dxg_int.h>
#include "dxg_driver.h"
PEPROCESS gpepSession = NULL;
PLARGE_INTEGER gpLockShortDelay = NULL;
-
PDRVFN gpEngFuncs;
const ULONG gcDxgFuncs = DXG_INDEX_DxDdIoctl + 1;
-
NTSTATUS NTAPI
DriverEntry(IN PVOID Context1,
IN PVOID Context2)
return STATUS_NO_MEMORY;
}
-
-
-
NTSTATUS
APIENTRY
DxDdCleanupDxGraphics(VOID)
return 0;
}
-
-
-
-
#define TAG_THDD 'ddht'
#define TAG_GINI 'iniG'
-
-
-