* Use mup.h as a PCH.

svn path=/trunk/; revision=52921
This commit is contained in:
Amine Khaldi 2011-07-27 12:41:50 +00:00
parent 4e5b336aaf
commit 11b5e19137
4 changed files with 5 additions and 15 deletions

View file

@ -6,5 +6,5 @@ add_library(mup SHARED
set_module_type(mup kernelmodedriver)
add_importlibs(mup ntoskrnl hal)
add_pch(mup mup.h)
add_cd_file(TARGET mup DESTINATION reactos/system32/drivers FOR all)

View file

@ -27,14 +27,11 @@
/* INCLUDES *****************************************************************/
#include <ntifs.h>
#include "mup.h"
//#define NDEBUG
#include <debug.h>
#include "mup.h"
/* FUNCTIONS ****************************************************************/
NTSTATUS NTAPI

View file

@ -27,14 +27,11 @@
/* INCLUDES *****************************************************************/
#include <ntddk.h>
#include "mup.h"
//#define NDEBUG
#include <debug.h>
#include "mup.h"
/* GLOBALS *****************************************************************/

View file

@ -1,17 +1,14 @@
#pragma once
#include <ntddk.h>
#define ROUND_UP(N, S) ((((N) + (S) - 1) / (S)) * (S))
typedef struct
{
ULONG Dummy;
} DEVICE_EXTENSION, *PDEVICE_EXTENSION, VCB, *PVCB;
/* create.c */
DRIVER_DISPATCH MupCreate;
NTSTATUS NTAPI
@ -19,7 +16,6 @@ MupCreate(PDEVICE_OBJECT DeviceObject,
PIRP Irp);
/* mup.c */
NTSTATUS NTAPI
DriverEntry(PDRIVER_OBJECT DriverObject,
PUNICODE_STRING RegistryPath);