mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:25:48 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
70
win32ss/gdi/ntgdi/device.c
Normal file
70
win32ss/gdi/ntgdi/device.c
Normal file
|
@ -0,0 +1,70 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* PURPOSE: Functions for creation and destruction of DCs
|
||||
* FILE: win32ss/gdi/ntgdi/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;
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue