ReactOS  0.4.15-dev-4914-g2220e56
guicheck.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BOOL FASTCALL co_IntGraphicsCheck (BOOL Create)
 
VOID FASTCALL co_IntUserManualGuiCheck (BOOL Create)
 
BOOL FASTCALL IntCreatePrimarySurface (VOID)
 
VOID FASTCALL IntDestroyPrimarySurface (VOID)
 

Function Documentation

◆ co_IntGraphicsCheck()

BOOL FASTCALL co_IntGraphicsCheck ( BOOL  Create)

Definition at line 52 of file guicheck.c.

53 {
54  PPROCESSINFO W32Data;
55 
57  if (Create)
58  {
59  if (!(W32Data->W32PF_flags & W32PF_CREATEDWINORDC) && !(W32Data->W32PF_flags & W32PF_MANUALGUICHECK))
60  {
61  return co_AddGuiApp(W32Data);
62  }
63  }
64  else
65  {
66  if ((W32Data->W32PF_flags & W32PF_CREATEDWINORDC) && !(W32Data->W32PF_flags & W32PF_MANUALGUICHECK))
67  {
68  RemoveGuiApp(W32Data);
69  }
70  }
71 
72  return TRUE;
73 }
#define TRUE
Definition: types.h:120
_In_ BOOLEAN Create
Definition: pstypes.h:527
static void FASTCALL RemoveGuiApp(PPROCESSINFO W32Data)
Definition: guicheck.c:42
#define W32PF_MANUALGUICHECK
Definition: win32.h:33
PVOID NTAPI PsGetCurrentProcessWin32Process(VOID)
Definition: process.c:1183
#define W32PF_CREATEDWINORDC
Definition: win32.h:34
static BOOL FASTCALL co_AddGuiApp(PPROCESSINFO W32Data)
Definition: guicheck.c:22

Referenced by DceCreateDisplayDC(), and UserProcessDestroy().

◆ co_IntUserManualGuiCheck()

VOID FASTCALL co_IntUserManualGuiCheck ( BOOL  Create)

Definition at line 77 of file guicheck.c.

78 {
80  W32Data->W32PF_flags |= W32PF_MANUALGUICHECK;
81 
82  if (Create)
83  {
84  co_AddGuiApp(W32Data);
85  }
86  else
87  {
88  RemoveGuiApp(W32Data);
89  }
90 }
_In_ BOOLEAN Create
Definition: pstypes.h:527
struct _PROCESSINFO * PPROCESSINFO
Definition: ntwin32.h:5
static void FASTCALL RemoveGuiApp(PPROCESSINFO W32Data)
Definition: guicheck.c:42
#define W32PF_MANUALGUICHECK
Definition: win32.h:33
PVOID NTAPI PsGetCurrentProcessWin32Process(VOID)
Definition: process.c:1183
static BOOL FASTCALL co_AddGuiApp(PPROCESSINFO W32Data)
Definition: guicheck.c:22

Referenced by co_UserCreateWindowEx(), and co_UserFreeWindow().

◆ 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
PSURFACE NTAPI PDEVOBJ_pSurface(PPDEVOBJ ppdev)
Definition: pdevobj.c:310
VOID NTAPI PDEVOBJ_vGetDeviceCaps(IN PPDEVOBJ ppdev, OUT PDEVCAPS pDevCaps)
Definition: pdevobj.c:964
#define GdiHandleTable
Definition: win32nt.h:35
PPDEVOBJ ppdevGlobal
Definition: mdevobj.h:16
PMDEVOBJ gpmdev
Definition: mdevobj.c:14
PSURFACE pSurface
Definition: pdevobj.h:124
#define DPRINT
Definition: sndvol32.h:71

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().