From 765c4f1ae61e26ca655a13b7e21b9909283c4576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 9 Aug 2008 07:56:27 +0000 Subject: [PATCH] Replace .def file by a .spec file svn path=/trunk/; revision=35207 --- reactos/dll/cpl/mmsys/mmsys.c | 14 +++++++------- reactos/dll/cpl/mmsys/mmsys.def | 20 -------------------- reactos/dll/cpl/mmsys/mmsys.rbuild | 3 ++- reactos/dll/cpl/mmsys/mmsys.spec | 15 +++++++++++++++ 4 files changed, 24 insertions(+), 28 deletions(-) delete mode 100644 reactos/dll/cpl/mmsys/mmsys.def create mode 100644 reactos/dll/cpl/mmsys/mmsys.spec diff --git a/reactos/dll/cpl/mmsys/mmsys.c b/reactos/dll/cpl/mmsys/mmsys.c index 39bb685ba3e..61c10d460ca 100644 --- a/reactos/dll/cpl/mmsys/mmsys.c +++ b/reactos/dll/cpl/mmsys/mmsys.c @@ -76,7 +76,7 @@ ShowDriverSettingsAfterForkW(HWND hwnd, VOID WINAPI ShowDriverSettingsAfterForkA(HWND hwnd, HINSTANCE hInstance, - LPTSTR lpszCmd, + LPSTR lpszCmd, int nCmdShow) { DPRINT1("ShowDriverSettingsAfterForkA() stubs\n"); @@ -85,7 +85,7 @@ ShowDriverSettingsAfterForkA(HWND hwnd, VOID WINAPI ShowDriverSettingsAfterFork(HWND hwnd, HINSTANCE hInstance, - LPTSTR lpszCmd, + LPSTR lpszCmd, int nCmdShow) { DPRINT1("ShowDriverSettingsAfterFork() stubs\n"); @@ -93,9 +93,9 @@ ShowDriverSettingsAfterFork(HWND hwnd, BOOL WINAPI ShowMMCPLPropertySheet(HWND hwnd, - LPCTSTR pszPropSheet, - LPTSTR pszName, - LPTSTR pszCaption) + LPCSTR pszPropSheet, + LPSTR pszName, + LPSTR pszCaption) { DPRINT1("ShowMMCPLPropertySheet() stubs\n"); return TRUE; @@ -122,7 +122,7 @@ mmseRunOnceW(HWND hwnd, VOID WINAPI mmseRunOnceA(HWND hwnd, HINSTANCE hInstance, - LPTSTR lpszCmd, + LPSTR lpszCmd, int nCmdShow) { DPRINT1("mmseRunOnceA() stubs\n"); @@ -149,7 +149,7 @@ MediaPropPageProvider(LPVOID Info, VOID WINAPI ShowFullControlPanel(HWND hwnd, HINSTANCE hInstance, - LPTSTR lpszCmd, + LPSTR lpszCmd, int nCmdShow) { DPRINT1("ShowFullControlPanel() stubs\n"); diff --git a/reactos/dll/cpl/mmsys/mmsys.def b/reactos/dll/cpl/mmsys/mmsys.def deleted file mode 100644 index 697ce75f71b..00000000000 --- a/reactos/dll/cpl/mmsys/mmsys.def +++ /dev/null @@ -1,20 +0,0 @@ -LIBRARY mmsys.cpl - -EXPORTS -CPlApplet@16 -mmseRunOnce -mmseRunOnceW -mmseRunOnceA -ShowMMCPLPropertySheet -ShowAudioPropertySheet -DllCanUnloadNow -DllGetClassObject -ShowDriverSettingsAfterFork -ShowDriverSettingsAfterForkW -ShowDriverSettingsAfterForkA -MediaClassInstaller@12 -MediaPropPageProvider -;Multichannel -ShowFullControlPanel - -; EOF diff --git a/reactos/dll/cpl/mmsys/mmsys.rbuild b/reactos/dll/cpl/mmsys/mmsys.rbuild index 647c5bb230e..80d234d1332 100644 --- a/reactos/dll/cpl/mmsys/mmsys.rbuild +++ b/reactos/dll/cpl/mmsys/mmsys.rbuild @@ -1,7 +1,7 @@ - + . 0x600 0x501 @@ -21,4 +21,5 @@ audio.c voice.c mmsys.rc + mmsys.spec diff --git a/reactos/dll/cpl/mmsys/mmsys.spec b/reactos/dll/cpl/mmsys/mmsys.spec new file mode 100644 index 00000000000..bcdbd159e2a --- /dev/null +++ b/reactos/dll/cpl/mmsys/mmsys.spec @@ -0,0 +1,15 @@ +@ stdcall CPlApplet(ptr long ptr ptr) +@ stdcall mmseRunOnce(ptr ptr str long) +@ stdcall mmseRunOnceW(ptr ptr wstr long) +@ stdcall mmseRunOnceA(ptr ptr str long) +@ stdcall ShowMMCPLPropertySheet(ptr str str str) +@ stdcall ShowAudioPropertySheet(ptr ptr str long) +@ stdcall DllCanUnloadNow() +@ stdcall DllGetClassObject(ptr ptr ptr) +@ stdcall ShowDriverSettingsAfterFork(ptr ptr str long) +@ stdcall ShowDriverSettingsAfterForkW(ptr ptr wstr long) +@ stdcall ShowDriverSettingsAfterForkA(ptr ptr str long) +@ stdcall MediaClassInstaller(long ptr ptr) +@ stdcall MediaPropPageProvider(ptr ptr ptr) +;Multichannel +@ stdcall ShowFullControlPanel(ptr ptr str long)