[ros-diffs] [tkreuzer] 54938: [XDK] Fix build

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Fri Jan 13 17:49:42 UTC 2012


Author: tkreuzer
Date: Fri Jan 13 17:49:40 2012
New Revision: 54938

URL: http://svn.reactos.org/svn/reactos?rev=54938&view=rev
Log:
[XDK]
Fix build

Modified:
    trunk/reactos/include/ddk/ntifs.h
    trunk/reactos/include/xdk/obtypes.h

Modified: trunk/reactos/include/ddk/ntifs.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntifs.h?rev=54938&r1=54937&r2=54938&view=diff
==============================================================================
--- trunk/reactos/include/ddk/ntifs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntifs.h [iso-8859-1] Fri Jan 13 17:49:40 2012
@@ -817,6 +817,12 @@
 typedef enum _OBJECT_INFORMATION_CLASS {
   ObjectBasicInformation = 0,
   ObjectTypeInformation = 2,
+  /* Not for public use */
+  ObjectNameInformation = 1,
+  ObjectTypesInformation = 3,
+  ObjectHandleFlagInformation = 4,
+  ObjectSessionInformation = 5,
+  MaxObjectInfoClass
 } OBJECT_INFORMATION_CLASS;
 
 

Modified: trunk/reactos/include/xdk/obtypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/obtypes.h?rev=54938&r1=54937&r2=54938&view=diff
==============================================================================
--- trunk/reactos/include/xdk/obtypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/xdk/obtypes.h [iso-8859-1] Fri Jan 13 17:49:40 2012
@@ -139,14 +139,14 @@
   ObjectBasicInformation = 0,
   ObjectTypeInformation = 2,
 $endif (_NTIFS_)
-$if (_PRIVATE_)
+$if (_NTIFS_) // we should remove these, but the kernel needs them :-/
   /* Not for public use */
   ObjectNameInformation = 1,
   ObjectTypesInformation = 3,
   ObjectHandleFlagInformation = 4,
   ObjectSessionInformation = 5,
   MaxObjectInfoClass
-$endif (_PRIVATE_)
+$endif (_NTIFS_)
 $if (_NTIFS_)
 } OBJECT_INFORMATION_CLASS;
 




More information about the Ros-diffs mailing list