[XDK]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 12 May 2010 18:43:23 +0000 (18:43 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 12 May 2010 18:43:23 +0000 (18:43 +0000)
- Add RESULT_ZERO, RESULT_NEGATIVE and RESULT_POSITIVE definitions for other architectures than X86
[DDK]
- Update ntddk.h to reflect XDK changes.

svn path=/branches/header-work/; revision=47176

include/ddk/ntddk.h
include/xdk/exfuncs.h

index 4d99fa8..109774b 100644 (file)
@@ -3283,11 +3283,19 @@ ExFreeToZone(
 #define ExIsResourceAcquired ExIsResourceAcquiredSharedLite
 #define ExReleaseResourceForThread ExReleaseResourceForThreadLite
 
+#ifndef _M_IX86
+#define RESULT_ZERO     0
+#define RESULT_NEGATIVE 1
+#define RESULT_POSITIVE 2
+#endif
+
+#if defined(_X86_) || defined(_IA64_) || defined(_M_AMD64) && !defined(RC_INVOKED) && !defined(MIDL_PASS)
 typedef enum _INTERLOCKED_RESULT {
   ResultNegative = RESULT_NEGATIVE,
   ResultZero = RESULT_ZERO,
   ResultPositive = RESULT_POSITIVE
 } INTERLOCKED_RESULT;
+#endif
 
 #ifdef _X86_
 
index 5cad0ff..9177f26 100644 (file)
@@ -299,11 +299,19 @@ ExFreeToZone(
 #define ExIsResourceAcquired ExIsResourceAcquiredSharedLite
 #define ExReleaseResourceForThread ExReleaseResourceForThreadLite
 
+#ifndef _M_IX86
+#define RESULT_ZERO     0
+#define RESULT_NEGATIVE 1
+#define RESULT_POSITIVE 2
+#endif
+
+#if defined(_X86_) || defined(_IA64_) || defined(_M_AMD64) && !defined(RC_INVOKED) && !defined(MIDL_PASS)
 typedef enum _INTERLOCKED_RESULT {
   ResultNegative = RESULT_NEGATIVE,
   ResultZero = RESULT_ZERO,
   ResultPositive = RESULT_POSITIVE
 } INTERLOCKED_RESULT;
+#endif
 
 #ifdef _X86_