ReactOS 0.4.15-dev-7953-g1f49173
device.c File Reference
#include <win32k.h>
#include <debug.h>
Include dependency graph for device.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

BOOL FASTCALL IntCreatePrimarySurface (VOID)
 
VOID FASTCALL IntDestroyPrimarySurface (VOID)
 
PPDEVOBJ FASTCALL IntEnumHDev (VOID)
 
INT APIENTRY NtGdiDrawEscape (IN HDC hdc, IN INT iEsc, IN INT cjIn, IN OPTIONAL LPSTR pjIn)
 

Variables

PDC defaultDCstate = NULL
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 11 of file device.c.

Function Documentation

◆ IntCreatePrimarySurface()

BOOL FASTCALL IntCreatePrimarySurface ( VOID  )

Definition at line 17 of file device.c.

18{
19 /* Create surface */
21
22 DPRINT("IntCreatePrimarySurface, ppdevGlobal=%p, ppdevGlobal->pSurface = %p\n",
24
25 // Init Primary Displays Device Capabilities.
27
28 return TRUE;
29}
#define TRUE
Definition: types.h:120
PMDEVOBJ gpmdev
Definition: mdevobj.c:14
VOID NTAPI PDEVOBJ_vGetDeviceCaps(IN PPDEVOBJ ppdev, OUT PDEVCAPS pDevCaps)
Definition: pdevobj.c:1053
PSURFACE NTAPI PDEVOBJ_pSurface(PPDEVOBJ ppdev)
Definition: pdevobj.c:311
#define DPRINT
Definition: sndvol32.h:71
PPDEVOBJ ppdevGlobal
Definition: mdevobj.h:16
PSURFACE pSurface
Definition: pdevobj.h:124
#define GdiHandleTable
Definition: win32nt.h:37

Referenced by co_IntInitializeDesktopGraphics().

◆ IntDestroyPrimarySurface()

VOID FASTCALL IntDestroyPrimarySurface ( VOID  )

Definition at line 32 of file device.c.

33{
35}
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by co_IntInitializeDesktopGraphics(), and IntEndDesktopGraphics().

◆ IntEnumHDev()

PPDEVOBJ FASTCALL IntEnumHDev ( VOID  )

Definition at line 38 of file device.c.

39{
40// I guess we will soon have more than one primary surface.
41// This will do for now.
42 return gpmdev->ppdevGlobal;
43}

◆ NtGdiDrawEscape()

INT APIENTRY NtGdiDrawEscape ( IN HDC  hdc,
IN INT  iEsc,
IN INT  cjIn,
IN OPTIONAL LPSTR  pjIn 
)

Definition at line 48 of file device.c.

53{
55 return 0;
56}

Variable Documentation

◆ defaultDCstate

PDC defaultDCstate = NULL

Definition at line 14 of file device.c.

Referenced by DC_InitHack(), and IntGdiCleanDC().