diff options
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r-- | winsup/cygwin/ntdll.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 0e09cf41e..920bdcf48 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -27,7 +27,9 @@ #undef STATUS_INVALID_HANDLE #endif #define STATUS_INVALID_HANDLE ((NTSTATUS) 0xc0000008) +#ifndef STATUS_INVALID_PARAMETER #define STATUS_INVALID_PARAMETER ((NTSTATUS) 0xc000000d) +#endif #define STATUS_NO_SUCH_FILE ((NTSTATUS) 0xc000000f) #define STATUS_INVALID_DEVICE_REQUEST ((NTSTATUS) 0xc0000010) #define STATUS_END_OF_FILE ((NTSTATUS) 0xc0000011) @@ -61,8 +63,12 @@ #define STATUS_PROCESS_IS_TERMINATING ((NTSTATUS) 0xc000010a) #define STATUS_CANNOT_DELETE ((NTSTATUS) 0xc0000121) #define STATUS_INVALID_LEVEL ((NTSTATUS) 0xc0000148) +#ifndef STATUS_DLL_NOT_FOUND #define STATUS_DLL_NOT_FOUND ((NTSTATUS) 0xc0000135) +#endif +#ifndef STATUS_ENTRYPOINT_NOT_FOUND #define STATUS_ENTRYPOINT_NOT_FOUND ((NTSTATUS) 0xc0000139) +#endif #define STATUS_NOT_FOUND ((NTSTATUS) 0xc0000225) #define STATUS_BAD_DLL_ENTRYPOINT ((NTSTATUS) 0xc0000251) #define STATUS_ILLEGAL_DLL_RELOCATION ((NTSTATUS) 0xc0000269) @@ -1022,11 +1028,13 @@ typedef struct _FILE_MAILSLOT_SET_INFORMATION typedef VOID NTAPI (*PIO_APC_ROUTINE)(PVOID, PIO_STATUS_BLOCK, ULONG); +#ifndef __MINGW64_VERSION_MAJOR typedef enum _EVENT_TYPE { NotificationEvent = 0, SynchronizationEvent } EVENT_TYPE, *PEVENT_TYPE; +#endif typedef struct _EVENT_BASIC_INFORMATION { @@ -1093,11 +1101,21 @@ typedef struct _KEY_VALUE_PARTIAL_INFORMATION UCHAR Data[1]; } KEY_VALUE_PARTIAL_INFORMATION, *PKEY_VALUE_PARTIAL_INFORMATION; +#ifndef __MINGW64_VERSION_MAJOR typedef enum _TIMER_TYPE { NotificationTimer, SynchronisationTimer } TIMER_TYPE, *PTIMER_TYPE; +#endif + +#ifdef __MINGW64_VERSION_MAJOR +typedef enum _SECTION_INHERIT +{ + ViewShare = 1, + ViewUnmap = 2 +} SECTION_INHERIT; +#endif typedef VOID (APIENTRY *PTIMER_APC_ROUTINE)(PVOID, ULONG, ULONG); |