mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
527f2f9057
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
70 lines
1.3 KiB
C
70 lines
1.3 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS kernel
|
|
* PURPOSE: Functions for creation and destruction of DCs
|
|
* FILE: subsystem/win32/win32k/objects/device.c
|
|
* PROGRAMER: Timo Kreuzer (timo.kreuzer@rectos.org)
|
|
*/
|
|
|
|
#include <win32k.h>
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
PDC defaultDCstate = NULL;
|
|
|
|
VOID FASTCALL
|
|
IntGdiReferencePdev(PPDEVOBJ ppdev)
|
|
{
|
|
UNIMPLEMENTED;
|
|
}
|
|
|
|
VOID FASTCALL
|
|
IntGdiUnreferencePdev(PPDEVOBJ ppdev, DWORD CleanUpType)
|
|
{
|
|
UNIMPLEMENTED;
|
|
}
|
|
|
|
BOOL FASTCALL
|
|
IntCreatePrimarySurface(VOID)
|
|
{
|
|
/* Create surface */
|
|
PDEVOBJ_pSurface(gppdevPrimary);
|
|
|
|
DPRINT("IntCreatePrimarySurface, gppdevPrimary=%p, gppdevPrimary->pSurface = %p\n",
|
|
gppdevPrimary, gppdevPrimary->pSurface);
|
|
|
|
// Init Primary Displays Device Capabilities.
|
|
PDEVOBJ_vGetDeviceCaps(gppdevPrimary, &GdiHandleTable->DevCaps);
|
|
|
|
return TRUE;
|
|
}
|
|
|
|
VOID FASTCALL
|
|
IntDestroyPrimarySurface(VOID)
|
|
{
|
|
UNIMPLEMENTED;
|
|
}
|
|
|
|
PPDEVOBJ FASTCALL
|
|
IntEnumHDev(VOID)
|
|
{
|
|
// I guess we will soon have more than one primary surface.
|
|
// This will do for now.
|
|
return gppdevPrimary;
|
|
}
|
|
|
|
|
|
INT
|
|
APIENTRY
|
|
NtGdiDrawEscape(
|
|
IN HDC hdc,
|
|
IN INT iEsc,
|
|
IN INT cjIn,
|
|
IN OPTIONAL LPSTR pjIn)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return 0;
|
|
}
|
|
|
|
|