[WDMAUD.DRV]

* Set wdmaud.h as a PCH.

svn path=/trunk/; revision=53172
This commit is contained in:
Amine Khaldi 2011-08-11 00:11:30 +00:00
parent 2514bbb7a0
commit 0d496d7999
5 changed files with 6 additions and 16 deletions

View file

@ -31,4 +31,5 @@ target_link_libraries(wdmaud.drv
mmixer) mmixer)
add_importlibs(wdmaud.drv user32 winmm advapi32 msvcrt setupapi ksuser kernel32 ntdll) add_importlibs(wdmaud.drv user32 winmm advapi32 msvcrt setupapi ksuser kernel32 ntdll)
add_pch(wdmaud.drv wdmaud.h)
add_cd_file(TARGET wdmaud.drv DESTINATION reactos/system32 FOR all) add_cd_file(TARGET wdmaud.drv DESTINATION reactos/system32 FOR all)

View file

@ -15,8 +15,6 @@
#include "wdmaud.h" #include "wdmaud.h"
#include <stdio.h>
#define KERNEL_DEVICE_NAME L"\\\\.\\wdmaud" #define KERNEL_DEVICE_NAME L"\\\\.\\wdmaud"
HANDLE KernelHandle = INVALID_HANDLE_VALUE; HANDLE KernelHandle = INVALID_HANDLE_VALUE;

View file

@ -7,19 +7,7 @@
* PROGRAMMERS: Johannes Anderwald * PROGRAMMERS: Johannes Anderwald
*/ */
#include <windows.h> #include "wdmaud.h"
#include <ntddsnd.h>
#include <sndtypes.h>
#include <mmddk.h>
#include <mmebuddy.h>
#include <ks.h>
#include <ksmedia.h>
#include <samplerate.h>
#include <float_cast.h>
#include <debug.h>
#include "interface.h"
extern HANDLE KernelHandle; extern HANDLE KernelHandle;

View file

@ -1,15 +1,17 @@
#ifndef WDMAUD_H__ #ifndef WDMAUD_H__
#define WDMAUD_H__ #define WDMAUD_H__
#include <stdio.h>
#include <windows.h> #include <windows.h>
#include <ntddsnd.h> #include <ntddsnd.h>
#include <sndtypes.h> #include <sndtypes.h>
#include <setupapi.h> #include <setupapi.h>
#include <mmddk.h> #include <mmddk.h>
#include <mmebuddy.h> #include <mmebuddy.h>
#include <ks.h> #include <ks.h>
#include <ksmedia.h> #include <ksmedia.h>
#include <samplerate.h>
#include <float_cast.h>
#include "interface.h" #include "interface.h"
#include "mmixer.h" #include "mmixer.h"
#include <debug.h> #include <debug.h>

View file

@ -23,4 +23,5 @@
<file>mmixer.c</file> <file>mmixer.c</file>
<file>legacy.c</file> <file>legacy.c</file>
<file>wdmaud.rc</file> <file>wdmaud.rc</file>
<pch>wdmaud.h</pch>
</module> </module>