include/winternl.h: use ntdef.h where possible

Austin English austinenglish at gmail.com
Thu Mar 12 15:48:02 CDT 2015


-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150312/4b31607c/attachment.html>
-------------- next part --------------
diff --git a/include/winternl.h b/include/winternl.h
index 3992309..76a1119 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -21,6 +21,7 @@
 #ifndef __WINE_WINTERNL_H
 #define __WINE_WINTERNL_H
 
+#include <ntdef.h>
 #include <windef.h>
 
 #ifdef __cplusplus
@@ -813,11 +814,6 @@ typedef enum _SYSTEM_INFORMATION_CLASS {
     SystemInformationClassMax
 } SYSTEM_INFORMATION_CLASS, *PSYSTEM_INFORMATION_CLASS;
 
-typedef enum _TIMER_TYPE {
-    NotificationTimer,
-    SynchronizationTimer
-} TIMER_TYPE;
-
 typedef enum _THREADINFOCLASS {
     ThreadBasicInformation,
     ThreadTimes,
@@ -1762,11 +1758,6 @@ typedef VOID (CALLBACK *PRTL_OVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPVOID);
 
 typedef VOID (CALLBACK *PTIMER_APC_ROUTINE) ( PVOID, ULONG, LONG );
 
-typedef enum _EVENT_TYPE {
-  NotificationEvent,
-  SynchronizationEvent
-} EVENT_TYPE, *PEVENT_TYPE;
-
 typedef enum _EVENT_INFORMATION_CLASS {
   EventBasicInformation
 } EVENT_INFORMATION_CLASS, *PEVENT_INFORMATION_CLASS;


More information about the wine-patches mailing list