mirror of
https://github.com/reactos/reactos.git
synced 2025-04-18 11:36:46 +00:00
[CDROM_NEW]
* Move some inclusions to the main header. * Improve header inclusions. * Remove inclusions and definitions that already exist in the main header. * Improve the GUIDs situation. CORE-7716 svn path=/trunk/; revision=61944
This commit is contained in:
parent
e35722df39
commit
559482f259
9 changed files with 11 additions and 42 deletions
|
@ -1,4 +1,5 @@
|
|||
include_directories(..)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/class)
|
||||
|
||||
list(APPEND SOURCE
|
||||
cdrom.c
|
||||
|
|
|
@ -24,16 +24,6 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#include "stddef.h"
|
||||
#include "string.h"
|
||||
|
||||
#include "ntddk.h"
|
||||
#include "initguid.h"
|
||||
|
||||
#include "ntddcdvd.h"
|
||||
#include "classpnp.h"
|
||||
|
||||
#include "ntddstor.h"
|
||||
#include "cdrom.h"
|
||||
|
||||
#ifdef ALLOC_PRAGMA
|
||||
|
|
|
@ -28,7 +28,11 @@ Revision History:
|
|||
#ifndef __CDROMP_H__
|
||||
#define __CDROMP_H__
|
||||
|
||||
#include "ntddmmc.h"
|
||||
#include <ntddk.h>
|
||||
#include <ntddcdvd.h>
|
||||
#include <classpnp.h>
|
||||
#include <ntddmmc.h>
|
||||
|
||||
#include "trace.h"
|
||||
|
||||
extern CLASSPNP_SCAN_FOR_SPECIAL_INFO CdromHackItems[];
|
||||
|
@ -872,4 +876,4 @@ CdRompFlushDelayedList(
|
|||
IN BOOLEAN CalledFromWorkItem
|
||||
);
|
||||
|
||||
#endif // __CDROMP_H__
|
||||
#endif /* __CDROMP_H__ */
|
||||
|
|
|
@ -17,9 +17,7 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#include "ntddk.h"
|
||||
#include "classpnp.h"
|
||||
#include "trace.h"
|
||||
#include "cdrom.h"
|
||||
|
||||
#ifdef ALLOC_DATA_PRAGMA
|
||||
#pragma data_seg("PAGE")
|
||||
|
|
|
@ -24,19 +24,8 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#include "stddef.h"
|
||||
#include "string.h"
|
||||
|
||||
#include "ntddk.h"
|
||||
|
||||
#include "ntddcdvd.h"
|
||||
#include "classpnp.h"
|
||||
|
||||
#include "initguid.h"
|
||||
#include "ntddstor.h"
|
||||
#include "cdrom.h"
|
||||
|
||||
|
||||
#if DBG
|
||||
PUCHAR READ_DVD_STRUCTURE_FORMAT_STRINGS[DvdMaxDescriptor+1] = {
|
||||
"Physical",
|
||||
|
|
|
@ -24,8 +24,6 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#include "ntddk.h"
|
||||
#include "classpnp.h"
|
||||
#include "cdrom.h"
|
||||
|
||||
NTSTATUS
|
||||
|
|
|
@ -4,8 +4,7 @@ Copyright (C) Microsoft Corporation, 1999
|
|||
|
||||
--*/
|
||||
|
||||
|
||||
#include "sec.h"
|
||||
#include "cdrom.h"
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
/*--
|
||||
|
||||
Copyright (C) Microsoft Corporation, 1999
|
||||
|
||||
--*/
|
||||
|
||||
#include "ntddk.h"
|
||||
#include "classpnp.h"
|
||||
#include "cdrom.h"
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define TraceLogger(x, ...) DbgPrint(__VA_ARGS__)
|
||||
#define TraceLog(x) TraceLogger x
|
||||
|
@ -49,5 +50,3 @@
|
|||
WPP_DEFINE_BIT(CdromSecError) /* bit 30 = 0x00000000 */ \
|
||||
WPP_DEFINE_BIT(CdromSecInfo) /* bit 31 = 0x00000000 */ \
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue