ReactOS  0.4.14-dev-342-gdc047f9
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

VOID FASTCALL IntGdiReferencePdev (PPDEVOBJ ppdev)
 
VOID FASTCALL IntGdiUnreferencePdev (PPDEVOBJ ppdev, DWORD CleanUpType)
 
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 29 of file device.c.

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 }
#define TRUE
Definition: types.h:120
PSURFACE NTAPI PDEVOBJ_pSurface(PPDEVOBJ ppdev)
Definition: pdevobj.c:233
PPDEVOBJ gppdevPrimary
Definition: pdevobj.c:13
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
PSURFACE pSurface
Definition: pdevobj.h:125

Referenced by co_IntInitializeDesktopGraphics().

◆ IntDestroyPrimarySurface()

VOID FASTCALL IntDestroyPrimarySurface ( VOID  )

Definition at line 44 of file device.c.

45 {
47 }
#define UNIMPLEMENTED
Definition: debug.h:114

Referenced by co_IntInitializeDesktopGraphics(), and IntEndDesktopGraphics().

◆ IntEnumHDev()

PPDEVOBJ FASTCALL IntEnumHDev ( VOID  )

Definition at line 50 of file device.c.

51 {
52 // I guess we will soon have more than one primary surface.
53 // This will do for now.
54  return gppdevPrimary;
55 }
PPDEVOBJ gppdevPrimary
Definition: pdevobj.c:13

◆ IntGdiReferencePdev()

VOID FASTCALL IntGdiReferencePdev ( PPDEVOBJ  ppdev)

Definition at line 17 of file device.c.

18 {
20 }
#define UNIMPLEMENTED
Definition: debug.h:114

Referenced by DxEngReferenceHdev().

◆ IntGdiUnreferencePdev()

VOID FASTCALL IntGdiUnreferencePdev ( PPDEVOBJ  ppdev,
DWORD  CleanUpType 
)

Definition at line 23 of file device.c.

24 {
26 }
#define UNIMPLEMENTED
Definition: debug.h:114

Referenced by DxEngUnreferenceHdev().

◆ NtGdiDrawEscape()

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

Definition at line 60 of file device.c.

65 {
67  return 0;
68 }
#define UNIMPLEMENTED
Definition: debug.h:114

Variable Documentation

◆ defaultDCstate

PDC defaultDCstate = NULL

Definition at line 14 of file device.c.

Referenced by DC_InitHack(), and IntGdiCleanDC().