Author: greatlrd
Date: Thu Nov 23 21:38:19 2006
New Revision: 24809
URL:
http://svn.reactos.org/svn/reactos?rev=24809&view=rev
Log:
1. adding two new ddk header, the info are base/got from windows xp ddk kit version
3790.1830
2. change bit of layout in usbkern
Added:
trunk/reactos/include/ddk/diskguid.h
trunk/reactos/include/ddk/drivinit.h
Modified:
trunk/reactos/include/ddk/usbkern.h
Added: trunk/reactos/include/ddk/diskguid.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/diskguid.h?rev…
==============================================================================
--- trunk/reactos/include/ddk/diskguid.h (added)
+++ trunk/reactos/include/ddk/diskguid.h Thu Nov 23 21:38:19 2006
@@ -1,0 +1,10 @@
+
+#ifdef DEFINE_GUID
+DEFINE_GUID(PARTITION_ENTRY_UNUSED_GUID, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00); // Entry unused
+DEFINE_GUID(PARTITION_SYSTEM_GUID, 0xC12A7328, 0xF81F, 0x11D2, 0xBA, 0x4B, 0x00,
0xA0, 0xC9, 0x3E, 0xC9, 0x3B); // EFI system partition
+DEFINE_GUID(PARTITION_MSFT_RESERVED_GUID, 0xE3C9E316, 0x0B5C, 0x4DB8, 0x81, 0x7D, 0xF9,
0x2D, 0xF0, 0x02, 0x15, 0xAE); // Microsoft reserved space
+DEFINE_GUID(PARTITION_BASIC_DATA_GUID, 0xEBD0A0A2, 0xB9E5, 0x4433, 0x87, 0xC0, 0x68,
0xB6, 0xB7, 0x26, 0x99, 0xC7); // Basic data partition
+DEFINE_GUID(PARTITION_LDM_METADATA_GUID, 0x5808C8AA, 0x7E8F, 0x42E0, 0x85, 0xD2, 0xE1,
0xE9, 0x04, 0x34, 0xCF, 0xB3); // Logical Disk Manager metadata partition
+DEFINE_GUID(PARTITION_LDM_DATA_GUID, 0xAF9B60A0, 0x1431, 0x4F62, 0xBC, 0x68, 0x33,
0x11, 0x71, 0x4A, 0x69, 0xAD); // Logical Disk Manager data partition
+#endif
+
Added: trunk/reactos/include/ddk/drivinit.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/drivinit.h?rev…
==============================================================================
--- trunk/reactos/include/ddk/drivinit.h (added)
+++ trunk/reactos/include/ddk/drivinit.h Thu Nov 23 21:38:19 2006
@@ -1,0 +1,4 @@
+
+/* This are empty and is left for be compatible with building some older windows
nt4/2000/2003/XP drivers */
+
+
Modified: trunk/reactos/include/ddk/usbkern.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/usbkern.h?rev=…
==============================================================================
--- trunk/reactos/include/ddk/usbkern.h (original)
+++ trunk/reactos/include/ddk/usbkern.h Thu Nov 23 21:38:19 2006
@@ -4,14 +4,11 @@
#include "usbiodef.h"
-#define IOCTL_INTERNAL_USB_GET_HUB_COUNT \
- USB_KERNEL_CTL(USB_GET_HUB_COUNT)
-
-#define IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO \
- USB_KERNEL_CTL(USB_GET_ROOTHUB_PDO)
+#define IOCTL_INTERNAL_USB_GET_HUB_COUNT USB_KERNEL_CTL(USB_GET_HUB_COUNT)
+#define IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO USB_KERNEL_CTL(USB_GET_ROOTHUB_PDO)
#define IOCTL_INTERNAL_USB_GET_DEVICE_HANDLE \
- CTL_CODE(FILE_DEVICE_USB, USB_GET_DEVICE_HANDLE, METHOD_NEITHER,
FILE_ANY_ACCESS)
+ CTL_CODE(FILE_DEVICE_USB, USB_GET_DEVICE_HANDLE, METHOD_NEITHER, FILE_ANY_ACCESS)
#endif