[ros-diffs] [ion] 17223: Add some DDK limits that were missing

ion at svn.reactos.com ion at svn.reactos.com
Tue Aug 9 05:29:57 CEST 2005


Add some DDK limits that were missing
Modified: trunk/reactos/w32api/include/ntdef.h
  _____  

Modified: trunk/reactos/w32api/include/ntdef.h
--- trunk/reactos/w32api/include/ntdef.h	2005-08-09 01:07:06 UTC
(rev 17222)
+++ trunk/reactos/w32api/include/ntdef.h	2005-08-09 03:29:51 UTC
(rev 17223)
@@ -73,4 +73,14 @@

 #define NOTHING
 #define RTL_CONSTANT_STRING(s) { sizeof(s)-sizeof((s)[0]), sizeof(s), s
}
 #define TYPE_ALIGNMENT( t ) FIELD_OFFSET( struct { char x; t test; },
test )
+
+#define MINCHAR   0x80
+#define MAXCHAR   0x7f
+#define MINSHORT  0x8000
+#define MAXSHORT  0x7fff
+#define MINLONG   0x80000000
+#define MAXLONG   0x7fffffff
+#define MAXUCHAR  0xff
+#define MAXUSHORT 0xffff
+#define MAXULONG  0xffffffff
 #endif /* _NTDEF_H */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050809/7f6d0a8d/attachment.html


More information about the Ros-diffs mailing list