ReactOS  0.4.14-dev-98-gb0d4763
device.c
Go to the documentation of this file.
1 /*
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)
7  */
8 
9 #include <win32k.h>
10 
11 #define NDEBUG
12 #include <debug.h>
13 
15 
18 {
20 }
21 
24 {
26 }
27 
30 {
31  /* Create surface */
33 
34  DPRINT("IntCreatePrimarySurface, gppdevPrimary=%p, gppdevPrimary->pSurface = %p\n",
36 
37  // Init Primary Displays Device Capabilities.
39 
40  return TRUE;
41 }
42 
45 {
47 }
48 
51 {
52 // I guess we will soon have more than one primary surface.
53 // This will do for now.
54  return gppdevPrimary;
55 }
56 
57 
58 INT
61  IN HDC hdc,
62  IN INT iEsc,
63  IN INT cjIn,
64  IN OPTIONAL LPSTR pjIn)
65 {
67  return 0;
68 }
69 
70 
#define IN
Definition: typedefs.h:38
PPDEVOBJ FASTCALL IntEnumHDev(VOID)
Definition: device.c:50
#define TRUE
Definition: types.h:120
VOID FASTCALL IntGdiReferencePdev(PPDEVOBJ ppdev)
Definition: device.c:17
PSURFACE NTAPI PDEVOBJ_pSurface(PPDEVOBJ ppdev)
Definition: pdevobj.c:233
PPDEVOBJ gppdevPrimary
Definition: pdevobj.c:13
static HDC
Definition: imagelist.c:92
PDC defaultDCstate
Definition: device.c:14
char * LPSTR
Definition: xmlstorage.h:182
#define FASTCALL
Definition: nt_native.h:50
int32_t INT
Definition: typedefs.h:56
INT APIENTRY NtGdiDrawEscape(IN HDC hdc, IN INT iEsc, IN INT cjIn, IN OPTIONAL LPSTR pjIn)
Definition: device.c:60
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
void DPRINT(...)
Definition: polytest.cpp:61
VOID NTAPI PDEVOBJ_vGetDeviceCaps(IN PPDEVOBJ ppdev, OUT PDEVCAPS pDevCaps)
Definition: pdevobj.c:681
#define GdiHandleTable
Definition: win32nt.h:35
Definition: polytest.cpp:40
VOID FASTCALL IntGdiUnreferencePdev(PPDEVOBJ ppdev, DWORD CleanUpType)
Definition: device.c:23
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL FASTCALL IntCreatePrimarySurface(VOID)
Definition: device.c:29
HDC hdc
Definition: main.c:9
_In_ ULONG iEsc
Definition: winddi.h:3529
_In_ ULONG _In_ CLIPOBJ _In_ RECTL _In_ ULONG cjIn
Definition: winddi.h:3529
PSURFACE pSurface
Definition: pdevobj.h:125
#define UNIMPLEMENTED
Definition: debug.h:114
VOID FASTCALL IntDestroyPrimarySurface(VOID)
Definition: device.c:44
#define APIENTRY
Definition: api.h:79
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68