ReactOS 0.4.16-dev-2135-g2f5a67f
winehacks.h
Go to the documentation of this file.
1/* These definitions below are from Wine's headers, but for one reason or another
2 * cannot be currently imported. The ultimate goal should be to phase this header
3 * out entirely by importing these Wine headers unchanged into sdk/include/wine.
4 *
5 * Note: the header filenames correspond to Wine headers, they are often incompatible
6 * with our headers or Microsoft's corresponding header.
7 */
8
9/* NTDEF.H */
10#define RTL_CONSTANT_STRING(s) { sizeof(s) - sizeof(s[0]), sizeof(s), (void*)s }
11#define NT_SUCCESS(Status) (((NTSTATUS)(Status)) >= 0)
12
13/* WINBASE.H */
14typedef void *HPCON;
15
17{
18 UserEnabled = 0x00000001,
19 KernelEnabled = 0x00000002,
20 Wow64Container = 0x00000004,
22
28
29/* WINCON.H */
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define WINBASEAPI
Definition: green.h:8
unsigned short USHORT
Definition: pedump.c:61
MACHINE_ATTRIBUTES MachineAttributes
Definition: winehacks.h:26
#define WINAPI
Definition: msvc.h:6
WINBASEAPI HANDLE WINAPI GetConsoleInputWaitHandle(void)
Definition: console.c:683
void * HPCON
Definition: winehacks.h:14
struct _PROCESS_MACHINE_INFORMATION PROCESS_MACHINE_INFORMATION
_MACHINE_ATTRIBUTES
Definition: winehacks.h:17
@ KernelEnabled
Definition: winehacks.h:19
@ Wow64Container
Definition: winehacks.h:20
@ UserEnabled
Definition: winehacks.h:18
WINBASEAPI HANDLE WINAPI DuplicateConsoleHandle(HANDLE, DWORD, BOOL, DWORD)
Definition: console.c:424
enum _MACHINE_ATTRIBUTES MACHINE_ATTRIBUTES
WINBASEAPI BOOL WINAPI CloseConsoleHandle(HANDLE)
Definition: console.c:1144