mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:33:01 +00:00
[DXG]
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:
parent
544b85b8c0
commit
21c33d59ee
3 changed files with 995 additions and 89 deletions
File diff suppressed because it is too large
Load diff
|
@ -68,6 +68,7 @@ typedef struct _EDD_SURFACE_LOCAL
|
||||||
NTSTATUS NTAPI DriverEntry(IN PVOID Context1, IN PVOID Context2);
|
NTSTATUS NTAPI DriverEntry(IN PVOID Context1, IN PVOID Context2);
|
||||||
NTSTATUS NTAPI GsDriverEntry(IN PVOID Context1, IN PVOID Context2);
|
NTSTATUS NTAPI GsDriverEntry(IN PVOID Context1, IN PVOID Context2);
|
||||||
NTSTATUS APIENTRY DxDdCleanupDxGraphics(VOID);
|
NTSTATUS APIENTRY DxDdCleanupDxGraphics(VOID);
|
||||||
|
BOOL NTAPI DxDdEnableDirectDraw(PVOID arg1, BOOL arg2);
|
||||||
|
|
||||||
/* Global pointers */
|
/* Global pointers */
|
||||||
extern ULONG gcSizeDdHmgr;
|
extern ULONG gcSizeDdHmgr;
|
||||||
|
|
|
@ -42,3 +42,18 @@ DxDdUnlockDirectDrawSurface(PDD_SURFACE_LOCAL pSurface)
|
||||||
|
|
||||||
return retVal;
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue