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 */
14
typedef
void
*
HPCON
;
15
16
typedef
enum
_MACHINE_ATTRIBUTES
17
{
18
UserEnabled
= 0x00000001,
19
KernelEnabled
= 0x00000002,
20
Wow64Container
= 0x00000004,
21
}
MACHINE_ATTRIBUTES
;
22
23
typedef
struct
_PROCESS_MACHINE_INFORMATION
{
24
USHORT
ProcessMachine
;
25
USHORT
Res0
;
26
MACHINE_ATTRIBUTES
MachineAttributes
;
27
}
PROCESS_MACHINE_INFORMATION
;
28
29
/* WINCON.H */
30
WINBASEAPI
BOOL
WINAPI
CloseConsoleHandle
(
HANDLE
);
31
WINBASEAPI
HANDLE
WINAPI
DuplicateConsoleHandle
(
HANDLE
,
DWORD
,
BOOL
,
DWORD
);
32
WINBASEAPI
HANDLE
WINAPI
GetConsoleInputWaitHandle
(
void
);
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
WINBASEAPI
#define WINBASEAPI
Definition:
green.h:8
void
Definition:
nsiface.idl:2307
USHORT
unsigned short USHORT
Definition:
pedump.c:61
_PROCESS_MACHINE_INFORMATION
Definition:
winehacks.h:23
_PROCESS_MACHINE_INFORMATION::Res0
USHORT Res0
Definition:
winehacks.h:25
_PROCESS_MACHINE_INFORMATION::ProcessMachine
USHORT ProcessMachine
Definition:
winehacks.h:24
_PROCESS_MACHINE_INFORMATION::MachineAttributes
MACHINE_ATTRIBUTES MachineAttributes
Definition:
winehacks.h:26
WINAPI
#define WINAPI
Definition:
msvc.h:6
GetConsoleInputWaitHandle
WINBASEAPI HANDLE WINAPI GetConsoleInputWaitHandle(void)
Definition:
console.c:683
HPCON
void * HPCON
Definition:
winehacks.h:14
PROCESS_MACHINE_INFORMATION
struct _PROCESS_MACHINE_INFORMATION PROCESS_MACHINE_INFORMATION
_MACHINE_ATTRIBUTES
_MACHINE_ATTRIBUTES
Definition:
winehacks.h:17
KernelEnabled
@ KernelEnabled
Definition:
winehacks.h:19
Wow64Container
@ Wow64Container
Definition:
winehacks.h:20
UserEnabled
@ UserEnabled
Definition:
winehacks.h:18
DuplicateConsoleHandle
WINBASEAPI HANDLE WINAPI DuplicateConsoleHandle(HANDLE, DWORD, BOOL, DWORD)
Definition:
console.c:424
MACHINE_ATTRIBUTES
enum _MACHINE_ATTRIBUTES MACHINE_ATTRIBUTES
CloseConsoleHandle
WINBASEAPI BOOL WINAPI CloseConsoleHandle(HANDLE)
Definition:
console.c:1144
modules
rostests
winetests
kernel32
winehacks.h
Generated on Mon Jan 12 2026 06:11:02 for ReactOS by
1.9.6