mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[MUP]
* Use mup.h as a PCH. svn path=/trunk/; revision=52921
This commit is contained in:
parent
4e5b336aaf
commit
11b5e19137
4 changed files with 5 additions and 15 deletions
|
@ -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)
|
|
@ -27,14 +27,11 @@
|
|||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#include <ntifs.h>
|
||||
#include "mup.h"
|
||||
|
||||
//#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include "mup.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
NTSTATUS NTAPI
|
||||
|
|
|
@ -27,14 +27,11 @@
|
|||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#include <ntddk.h>
|
||||
#include "mup.h"
|
||||
|
||||
//#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include "mup.h"
|
||||
|
||||
|
||||
/* GLOBALS *****************************************************************/
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue