Add all function stubs. (win32k from windows 2k3 is nasty and indexes the function table directly instead of looking up the entries...)

svn path=/trunk/; revision=61012
This commit is contained in:
Timo Kreuzer 2013-11-16 18:31:44 +00:00
parent 544b85b8c0
commit 21c33d59ee
3 changed files with 995 additions and 89 deletions

File diff suppressed because it is too large Load diff

View file

@ -68,6 +68,7 @@ typedef struct _EDD_SURFACE_LOCAL
NTSTATUS NTAPI DriverEntry(IN PVOID Context1, IN PVOID Context2);
NTSTATUS NTAPI GsDriverEntry(IN PVOID Context1, IN PVOID Context2);
NTSTATUS APIENTRY DxDdCleanupDxGraphics(VOID);
BOOL NTAPI DxDdEnableDirectDraw(PVOID arg1, BOOL arg2);
/* Global pointers */
extern ULONG gcSizeDdHmgr;

View file

@ -42,3 +42,18 @@ DxDdUnlockDirectDrawSurface(PDD_SURFACE_LOCAL pSurface)
return retVal;
}
BOOL
NTAPI
DxDdEnableDirectDraw(PVOID arg1, BOOL arg2/*What for?*/)
{
// taken from CORE-4490
//PDEV_WIN32K pdev = (PDEV_WIN32K) arg1 ;
//return pdev->DriverFunctions.EnableDirectDraw(pdev->dhpdev,
// &pdev->EDDgpl.ddCallbacks,
// &pdev->EDDgpl.ddSurfaceCallbacks,
// &pdev->EDDgpl.ddPaletteCallbacks) ;
return TRUE;
}