[ros-diffs] [akhaldi] 47176: [XDK] - Add RESULT_ZERO, RESULT_NEGATIVE and RESULT_POSITIVE definitions for other architectures than X86 [DDK] - Update ntddk.h to reflect XDK changes.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Wed May 12 20:43:23 CEST 2010


Author: akhaldi
Date: Wed May 12 20:43:23 2010
New Revision: 47176

URL: http://svn.reactos.org/svn/reactos?rev=47176&view=rev
Log:
[XDK]
- Add RESULT_ZERO, RESULT_NEGATIVE and RESULT_POSITIVE definitions for other architectures than X86
[DDK]
- Update ntddk.h to reflect XDK changes.

Modified:
    branches/header-work/include/ddk/ntddk.h
    branches/header-work/include/xdk/exfuncs.h

Modified: branches/header-work/include/ddk/ntddk.h
URL: http://svn.reactos.org/svn/reactos/branches/header-work/include/ddk/ntddk.h?rev=47176&r1=47175&r2=47176&view=diff
==============================================================================
--- branches/header-work/include/ddk/ntddk.h [iso-8859-1] (original)
+++ branches/header-work/include/ddk/ntddk.h [iso-8859-1] Wed May 12 20:43:23 2010
@@ -3283,11 +3283,19 @@
 #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_
 

Modified: branches/header-work/include/xdk/exfuncs.h
URL: http://svn.reactos.org/svn/reactos/branches/header-work/include/xdk/exfuncs.h?rev=47176&r1=47175&r2=47176&view=diff
==============================================================================
--- branches/header-work/include/xdk/exfuncs.h [iso-8859-1] (original)
+++ branches/header-work/include/xdk/exfuncs.h [iso-8859-1] Wed May 12 20:43:23 2010
@@ -299,11 +299,19 @@
 #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_
 




More information about the Ros-diffs mailing list