2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * PURPOSE: Functions for creation and destruction of DCs
5 * FILE: win32ss/gdi/ntgdi/device.c
6 * PROGRAMER: Timo Kreuzer (timo.kreuzer@rectos.org)
14 PDC defaultDCstate
= NULL
;
17 IntGdiReferencePdev(PPDEVOBJ ppdev
)
23 IntGdiUnreferencePdev(PPDEVOBJ ppdev
, DWORD CleanUpType
)
29 IntCreatePrimarySurface(VOID
)
32 PDEVOBJ_pSurface(gppdevPrimary
);
34 DPRINT("IntCreatePrimarySurface, gppdevPrimary=%p, gppdevPrimary->pSurface = %p\n",
35 gppdevPrimary
, gppdevPrimary
->pSurface
);
37 // Init Primary Displays Device Capabilities.
38 PDEVOBJ_vGetDeviceCaps(gppdevPrimary
, &GdiHandleTable
->DevCaps
);
44 IntDestroyPrimarySurface(VOID
)
52 // I guess we will soon have more than one primary surface.
53 // This will do for now.
64 IN OPTIONAL LPSTR pjIn
)