1998-10-11 19:00:29 +02:00
|
|
|
/*
|
|
|
|
* MSACM32 library
|
|
|
|
*
|
|
|
|
* Copyright 1998 Patrik Stridvall
|
|
|
|
*/
|
|
|
|
|
1999-02-17 14:51:06 +01:00
|
|
|
#include "winbase.h"
|
1998-10-11 19:00:29 +02:00
|
|
|
#include "winerror.h"
|
1999-03-14 17:35:05 +01:00
|
|
|
#include "windef.h"
|
1999-05-14 10:17:14 +02:00
|
|
|
#include "debugtools.h"
|
1998-10-11 19:00:29 +02:00
|
|
|
#include "driver.h"
|
|
|
|
#include "heap.h"
|
|
|
|
#include "mmsystem.h"
|
|
|
|
#include "msacm.h"
|
|
|
|
#include "msacmdrv.h"
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* MSACM_BuiltinDrivers
|
|
|
|
*/
|
1998-10-17 14:10:19 +02:00
|
|
|
LONG WINAPI MSACM_DummyDriverProc(
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD dwDriverId, HDRVR hdrvr, UINT msg,
|
1998-10-11 19:00:29 +02:00
|
|
|
LONG lParam1, LONG lParam2);
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
WINE_ACMBUILTINDRIVER MSACM_BuiltinDrivers[] = {
|
1998-10-11 19:00:29 +02:00
|
|
|
{ "MSACM.dummy", &MSACM_DummyDriverProc },
|
|
|
|
{ NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* MSACM_DummyDriverProc
|
|
|
|
*/
|
1998-10-17 14:10:19 +02:00
|
|
|
LONG WINAPI MSACM_DummyDriverProc(
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD dwDriverId, HDRVR hdrvr, UINT msg,
|
1998-10-11 19:00:29 +02:00
|
|
|
LONG lParam1, LONG lParam2)
|
|
|
|
{
|
|
|
|
switch(msg)
|
|
|
|
{
|
|
|
|
case DRV_LOAD:
|
|
|
|
case DRV_ENABLE:
|
|
|
|
case DRV_OPEN:
|
|
|
|
case DRV_CLOSE:
|
|
|
|
case DRV_DISABLE:
|
|
|
|
case DRV_FREE:
|
|
|
|
case DRV_CONFIGURE:
|
|
|
|
case DRV_QUERYCONFIGURE:
|
|
|
|
case DRV_INSTALL:
|
|
|
|
case DRV_REMOVE:
|
|
|
|
case DRV_EXITSESSION:
|
|
|
|
case DRV_EXITAPPLICATION:
|
|
|
|
case DRV_POWER:
|
|
|
|
case ACMDM_DRIVER_NOTIFY:
|
|
|
|
case ACMDM_DRIVER_DETAILS:
|
|
|
|
case ACMDM_HARDWARE_WAVE_CAPS_INPUT:
|
|
|
|
case ACMDM_HARDWARE_WAVE_CAPS_OUTPUT:
|
|
|
|
case ACMDM_FORMATTAG_DETAILS:
|
|
|
|
case ACMDM_FORMAT_DETAILS:
|
|
|
|
case ACMDM_FORMAT_SUGGEST:
|
|
|
|
case ACMDM_FILTERTAG_DETAILS:
|
|
|
|
case ACMDM_FILTER_DETAILS:
|
|
|
|
case ACMDM_STREAM_OPEN:
|
|
|
|
case ACMDM_STREAM_CLOSE:
|
|
|
|
case ACMDM_STREAM_SIZE:
|
|
|
|
case ACMDM_STREAM_CONVERT:
|
|
|
|
case ACMDM_STREAM_RESET:
|
|
|
|
case ACMDM_STREAM_PREPARE:
|
|
|
|
case ACMDM_STREAM_UNPREPARE:
|
|
|
|
case ACMDM_STREAM_UPDATE:
|
|
|
|
default:
|
|
|
|
/* FIXME: DefDriverProc not implemented */
|
|
|
|
#if 0
|
1999-02-26 12:11:13 +01:00
|
|
|
DefDriverProc(dwDriverId, hdrvr, msg, lParam1, lParam2);
|
1998-10-11 19:00:29 +02:00
|
|
|
#endif
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|