mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Add some DDK limits that were missing
svn path=/trunk/; revision=17223
This commit is contained in:
parent
69c49f71df
commit
3ffa753a9b
1 changed files with 10 additions and 0 deletions
|
@ -73,4 +73,14 @@ typedef struct _OBJECT_ATTRIBUTES {
|
||||||
#define NOTHING
|
#define NOTHING
|
||||||
#define RTL_CONSTANT_STRING(s) { sizeof(s)-sizeof((s)[0]), sizeof(s), s }
|
#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 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 */
|
#endif /* _NTDEF_H */
|
||||||
|
|
Loading…
Reference in a new issue