- Move contents of eng/misc.h into include/misc.h, get rid of eng/misc.h
[reactos.git] / reactos / subsystems / win32 / win32k / include / misc.h
1 #ifndef __WIN32K_MISC_H
2 #define __WIN32K_MISC_H
3
4 /* W32PROCESS flags */
5 #define W32PF_CONSOLEAPPLICATION 0x00000001
6 #define W32PF_FORCEOFFFEEDBACK 0x00000002
7 #define W32PF_STARTGLASS 0x00000004
8 #define W32PF_WOW 0x00000008
9 #define W32PF_READSCREENACCESSGRANTED 0x00000010
10 #define W32PF_INITIALIZED 0x00000020
11 #define W32PF_APPSTARTING 0x00000040
12 #define W32PF_WOW64 0x00000080
13 #define W32PF_ALLOWFOREGROUNDACTIVATE 0x00000100
14 #define W32PF_OWNDCCLEANUP 0x00000200
15 #define W32PF_SHOWSTARTGLASSCALLED 0x00000400
16 #define W32PF_FORCEBACKGROUNDPRIORITY 0x00000800
17 #define W32PF_TERMINATED 0x00001000
18 #define W32PF_CLASSESREGISTERED 0x00002000
19 #define W32PF_THREADCONNECTED 0x00004000
20 #define W32PF_PROCESSCONNECTED 0x00008000
21 #define W32PF_WAKEWOWEXEC 0x00010000
22 #define W32PF_WAITFORINPUTIDLE 0x00020000
23 #define W32PF_IOWINSTA 0x00040000
24 #define W32PF_CONSOLEFOREGROUND 0x00080000
25 #define W32PF_OLELOADED 0x00100000
26 #define W32PF_SCREENSAVER 0x00200000
27 #define W32PF_IDLESCREENSAVER 0x00400000
28 // ReactOS
29 #define W32PF_NOWINDOWGHOSTING (0x01000000)
30 #define W32PF_MANUALGUICHECK (0x02000000)
31 #define W32PF_CREATEDWINORDC (0x04000000)
32
33 typedef struct INTENG_ENTER_LEAVE_TAG
34 {
35 /* Contents is private to EngEnter/EngLeave */
36 SURFOBJ *DestObj;
37 SURFOBJ *OutputObj;
38 HBITMAP OutputBitmap;
39 CLIPOBJ *TrivialClipObj;
40 RECTL DestRect;
41 BOOL ReadOnly;
42 } INTENG_ENTER_LEAVE, *PINTENG_ENTER_LEAVE;
43
44 extern BOOL APIENTRY IntEngEnter(PINTENG_ENTER_LEAVE EnterLeave,
45 SURFOBJ *DestObj,
46 RECTL *DestRect,
47 BOOL ReadOnly,
48 POINTL *Translate,
49 SURFOBJ **OutputObj);
50
51 extern BOOL APIENTRY IntEngLeave(PINTENG_ENTER_LEAVE EnterLeave);
52
53 extern HGDIOBJ StockObjects[];
54 extern SHORT gusLanguageID;
55
56 SHORT FASTCALL IntGdiGetLanguageID();
57 ULONG FASTCALL IntSystemParametersInfo(UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni);
58 DWORD APIENTRY IntGetQueueStatus(BOOL ClearChanges);
59 VOID FASTCALL IntUserManualGuiCheck(LONG Check);
60 PVOID APIENTRY HackSecureVirtualMemory(IN PVOID,IN SIZE_T,IN ULONG,OUT PVOID *);
61 VOID APIENTRY HackUnsecureVirtualMemory(IN PVOID);
62
63 #endif /* __WIN32K_MISC_H */