Author: akhaldi
Date: Wed Dec 25 10:21:22 2013
New Revision: 61393
URL:
http://svn.reactos.org/svn/reactos?rev=61393&view=rev
Log:
[USBSTOR]
* A better way of handling GUIDs thanks to Timo.
CORE-7716
Added:
trunk/reactos/drivers/usb/usbstor/guid.c (with props)
Modified:
trunk/reactos/drivers/usb/usbstor/CMakeLists.txt
trunk/reactos/drivers/usb/usbstor/usbstor.h
Modified: trunk/reactos/drivers/usb/usbstor/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/CMakeL…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/CMakeLists.txt [iso-8859-1] Wed Dec 25 10:21:22
2013
@@ -3,7 +3,7 @@
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
-add_library(usbstor SHARED descriptor.c disk.c fdo.c misc.c pdo.c queue.c error.c scsi.c
usbstor.c usbstor.rc)
+add_library(usbstor SHARED descriptor.c disk.c fdo.c misc.c pdo.c queue.c error.c scsi.c
usbstor.c guid.c usbstor.rc)
set_module_type(usbstor kernelmodedriver)
add_importlibs(usbstor ntoskrnl hal usbd)
Added: trunk/reactos/drivers/usb/usbstor/guid.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/guid.c…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/guid.c (added)
+++ trunk/reactos/drivers/usb/usbstor/guid.c [iso-8859-1] Wed Dec 25 10:21:22 2013
@@ -0,0 +1,9 @@
+/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
+
+#include <ntdef.h>
+#include <miniport.h>
+#include <usb.h>
+#include <initguid.h>
+#include <usbbusif.h>
+
+/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
Propchange: trunk/reactos/drivers/usb/usbstor/guid.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/drivers/usb/usbstor/usbstor.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/usbsto…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/usbstor.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/usbstor.h [iso-8859-1] Wed Dec 25 10:21:22 2013
@@ -1,7 +1,5 @@
#pragma once
-
-#define INITGUID
#include <ntddk.h>
#include <usbdi.h>