mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- [KERNEL32_WINETEST] Sync to wine-10.0 - [KERNEL32_WINETEST] Define out tests we can't yet build, fix test failures for WS03-Win 10 1607. - [KERNEL32_WINETEST] Consolidate header hacks needed for the winesync in winehacks.h. This documents what incompatibilities we need to work around in our and Wine headers in one place.
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
/* These definitions below are from Wine's headers, but for one reason or another
|
|
* cannot be currently imported. The ultimate goal should be to phase this header
|
|
* out entirely by importing these Wine headers unchanged into sdk/include/wine.
|
|
*
|
|
* Note: the header filenames correspond to Wine headers, they are often incompatible
|
|
* with our headers or Microsoft's corresponding header.
|
|
*/
|
|
|
|
/* NTDEF.H */
|
|
#define RTL_CONSTANT_STRING(s) { sizeof(s) - sizeof(s[0]), sizeof(s), (void*)s }
|
|
#define NT_SUCCESS(Status) (((NTSTATUS)(Status)) >= 0)
|
|
|
|
/* WINBASE.H */
|
|
typedef void *HPCON;
|
|
|
|
typedef enum _MACHINE_ATTRIBUTES
|
|
{
|
|
UserEnabled = 0x00000001,
|
|
KernelEnabled = 0x00000002,
|
|
Wow64Container = 0x00000004,
|
|
} MACHINE_ATTRIBUTES;
|
|
|
|
typedef struct _PROCESS_MACHINE_INFORMATION {
|
|
USHORT ProcessMachine;
|
|
USHORT Res0;
|
|
MACHINE_ATTRIBUTES MachineAttributes;
|
|
} PROCESS_MACHINE_INFORMATION;
|
|
|
|
/* WINCON.H */
|
|
WINBASEAPI BOOL WINAPI CloseConsoleHandle(HANDLE);
|
|
WINBASEAPI HANDLE WINAPI DuplicateConsoleHandle(HANDLE,DWORD,BOOL,DWORD);
|
|
WINBASEAPI HANDLE WINAPI GetConsoleInputWaitHandle(void);
|