mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[USBSTOR]
* A better way of handling GUIDs thanks to Timo. CORE-7716 svn path=/trunk/; revision=61393
This commit is contained in:
parent
5d6fb77f85
commit
e8f61c45db
3 changed files with 10 additions and 3 deletions
|
@ -3,7 +3,7 @@ add_definitions(-DDEBUG_MODE)
|
|||
|
||||
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)
|
||||
|
|
9
reactos/drivers/usb/usbstor/guid.c
Normal file
9
reactos/drivers/usb/usbstor/guid.c
Normal file
|
@ -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 */
|
|
@ -1,8 +1,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define INITGUID
|
||||
|
||||
#include <ntddk.h>
|
||||
#include <usbdi.h>
|
||||
#include <hubbusif.h>
|
||||
|
|
Loading…
Reference in a new issue