prepareing for waveopendevice code adding waveThread as stub
Modified: trunk/reactos/lib/mmdrv/wave.c
_____
Modified: trunk/reactos/lib/mmdrv/wave.c
--- trunk/reactos/lib/mmdrv/wave.c 2005-11-21 00:56:13 UTC (rev
19399)
+++ trunk/reactos/lib/mmdrv/wave.c 2005-11-21 01:16:29 UTC (rev
19400)
@@ -22,6 +22,10 @@
* functions start here
* ============================
*/
+static DWORD waveThread(LPVOID lpParameter)
+{
+ return MMSYSERR_NOERROR;
+}
MMRESULT GetDeviceCapabilities(DWORD ID, UINT DeviceType,
LPBYTE pCaps, DWORD Size)
@@ -73,7 +77,7 @@
DWORD
dwParam2)
{
// TODO: Implement
- //PWAVEALLOC pClient;
+ PWAVEALLOC pClient;
//MMRESULT mResult;
//BOOL Result;
//DWORD BytesReturned;
@@ -82,6 +86,9 @@
pFormats = (LPWAVEFORMATEX)((LPWAVEOPENDESC)dwParam1)->lpFormat;
+
+ mmTaskCreate((LPTASKCALLBACK)waveThread, &pClient->ThreadHandle,
(DWORD)pClient);
+
return MMSYSERR_NOERROR;
}