Author: dchapyshev Date: Sun May 25 04:34:14 2008 New Revision: 33691
URL: http://svn.reactos.org/svn/reactos?rev=33691&view=rev Log: - Add stubs WDM Audio driver mapper
Added: trunk/reactos/dll/win32/wdmaud.drv/ trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c (with props) trunk/reactos/dll/win32/wdmaud.drv/wdmaud.def (with props) trunk/reactos/dll/win32/wdmaud.drv/wdmaud.rbuild (with props) trunk/reactos/dll/win32/wdmaud.drv/wdmaud.rc (with props) Modified: trunk/reactos/dll/win32/win32.rbuild
Added: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/wdmaud... ============================================================================== --- trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c (added) +++ trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c [iso-8859-1] Sun May 25 04:34:14 2008 @@ -1,0 +1,91 @@ +/* + * + * PROJECT: ReactOS WDM Audio driver mapper + * FILE: dll/win32/wdmaud.drv/wdmaud.c + * PURPOSE: wdmaud.drv + * PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org) + * + * UPDATE HISTORY: + * 25/05/2008 Created + */ + +#include <stdarg.h> + +#include <windows.h> +#include <mmsystem.h> + +DWORD APIENTRY +mxdMessage(UINT uDevice, + UINT uMsg, + DWORD dwUser, + DWORD dwParam1, + DWORD dwParam2) +{ + return MMSYSERR_NOTSUPPORTED; +} + +DWORD APIENTRY +auxMessage(UINT uDevice, + UINT uMsg, + DWORD dwUser, + DWORD dwParam1, + DWORD dwParam2) +{ + return MMSYSERR_NOTSUPPORTED; +} + +DWORD APIENTRY +wodMessage(UINT uDevice, + UINT uMsg, + DWORD dwUser, + DWORD dwParam1, + DWORD dwParam2) +{ + return MMSYSERR_NOTSUPPORTED; +} + +DWORD APIENTRY +widMessage(UINT uDevice, + UINT uMsg, + DWORD dwUser, + DWORD dwParam1, + DWORD dwParam2) +{ + return MMSYSERR_NOTSUPPORTED; +} + +DWORD APIENTRY +modMessage(UINT uDevice, + UINT uMsg, + DWORD dwUser, + DWORD dwParam1, + DWORD dwParam2) +{ + return MMSYSERR_NOTSUPPORTED; +} + +LRESULT +DriverProc(DWORD dwDriverID, + HDRVR hDriver, + UINT uiMessage, + LPARAM lParam1, + LPARAM lParam2) +{ + return DefDriverProc(dwDriverID, hDriver, uiMessage, lParam1, lParam2); +} + +BOOL WINAPI +DllMain(IN HINSTANCE hinstDLL, + IN DWORD dwReason, + IN LPVOID lpvReserved) +{ + switch (dwReason) + { + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + } + + return TRUE; +} +
Propchange: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.def URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/wdmaud... ============================================================================== --- trunk/reactos/dll/win32/wdmaud.drv/wdmaud.def (added) +++ trunk/reactos/dll/win32/wdmaud.drv/wdmaud.def [iso-8859-1] Sun May 25 04:34:14 2008 @@ -1,0 +1,9 @@ +LIBRARY wdmaud.drv + +EXPORTS +DriverProc +mxdMessage +auxMessage +wodMessage +widMessage +modMessage
Propchange: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.def ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/wdmaud... ============================================================================== --- trunk/reactos/dll/win32/wdmaud.drv/wdmaud.rbuild (added) +++ trunk/reactos/dll/win32/wdmaud.drv/wdmaud.rbuild [iso-8859-1] Sun May 25 04:34:14 2008 @@ -1,0 +1,12 @@ +<module name="wdmaud.drv" type="win32dll" baseaddress="${BASEADDRESS_RASDLG}" installbase="system32" installname="wdmaud.drv"> + <importlibrary definition="wdmaud.def" /> + <include base="wdmaud.drv">.</include> + <define name="_DISABLE_TIDENTS" /> + <library>advapi32</library> + <library>kernel32</library> + <library>winmm</library> + <library>user32</library> + <library>winmm</library> + <file>wdmaud.c</file> + <file>wdmaud.rc</file> +</module>
Propchange: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.rbuild ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/wdmaud... ============================================================================== --- trunk/reactos/dll/win32/wdmaud.drv/wdmaud.rc (added) +++ trunk/reactos/dll/win32/wdmaud.drv/wdmaud.rc [iso-8859-1] Sun May 25 04:34:14 2008 @@ -1,0 +1,7 @@ +#include <windows.h> + +#define REACTOS_VERSION_DLL +#define REACTOS_STR_FILE_DESCRIPTION "ReactOS WDM Audio driver mapper\0" +#define REACTOS_STR_INTERNAL_NAME "wdmaud\0" +#define REACTOS_STR_ORIGINAL_FILENAME "wdmaud.drv\0" +#include <reactos/version.rc>
Propchange: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.rc ------------------------------------------------------------------------------ svn:eol-style = native
Modified: trunk/reactos/dll/win32/win32.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/win32.rbuild?rev=... ============================================================================== --- trunk/reactos/dll/win32/win32.rbuild [iso-8859-1] (original) +++ trunk/reactos/dll/win32/win32.rbuild [iso-8859-1] Sun May 25 04:34:14 2008 @@ -346,6 +346,9 @@ <directory name="version"> <xi:include href="version/version.rbuild" /> </directory> +<directory name="wdmaud.drv"> + <xi:include href="wdmaud.drv/wdmaud.rbuild" /> +</directory> <directory name="winfax"> <xi:include href="winfax/winfax.rbuild" /> </directory>