Change the AddBitmap function. Implement flat toolbar. Change
[wine] / dlls / msacm32 / builtin.c
1 /*
2  *      MSACM32 library
3  *
4  *      Copyright 1998  Patrik Stridvall
5  */
6
7 #include "winbase.h"
8 #include "winerror.h"
9 #include "windef.h"
10 #include "debug.h"
11 #include "driver.h"
12 #include "heap.h"
13 #include "mmsystem.h"
14 #include "msacm.h"
15 #include "msacmdrv.h"
16
17 /***********************************************************************
18  *           MSACM_BuiltinDrivers
19  */
20 LONG WINAPI MSACM_DummyDriverProc(
21    DWORD dwDriverId, HDRVR hdrvr, UINT msg,
22    LONG lParam1, LONG lParam2); 
23
24 WINE_ACMBUILTINDRIVER MSACM_BuiltinDrivers[] = {
25   { "MSACM.dummy", &MSACM_DummyDriverProc },
26   { NULL, NULL }
27 };
28
29 /***********************************************************************
30  *           MSACM_DummyDriverProc
31  */
32 LONG WINAPI MSACM_DummyDriverProc(
33    DWORD dwDriverId, HDRVR hdrvr, UINT msg,
34    LONG lParam1, LONG lParam2)
35 {
36   switch(msg)
37     {
38     case DRV_LOAD:
39     case DRV_ENABLE:
40     case DRV_OPEN:
41     case DRV_CLOSE:
42     case DRV_DISABLE:
43     case DRV_FREE:
44     case DRV_CONFIGURE:
45     case DRV_QUERYCONFIGURE:
46     case DRV_INSTALL:
47     case DRV_REMOVE:
48     case DRV_EXITSESSION:
49     case DRV_EXITAPPLICATION:
50     case DRV_POWER:
51     case ACMDM_DRIVER_NOTIFY:
52     case ACMDM_DRIVER_DETAILS:
53     case ACMDM_HARDWARE_WAVE_CAPS_INPUT:
54     case ACMDM_HARDWARE_WAVE_CAPS_OUTPUT:
55     case ACMDM_FORMATTAG_DETAILS:
56     case ACMDM_FORMAT_DETAILS:
57     case ACMDM_FORMAT_SUGGEST:   
58     case ACMDM_FILTERTAG_DETAILS:
59     case ACMDM_FILTER_DETAILS:
60     case ACMDM_STREAM_OPEN:
61     case ACMDM_STREAM_CLOSE:
62     case ACMDM_STREAM_SIZE:
63     case ACMDM_STREAM_CONVERT:
64     case ACMDM_STREAM_RESET:
65     case ACMDM_STREAM_PREPARE:
66     case ACMDM_STREAM_UNPREPARE:
67     case ACMDM_STREAM_UPDATE:
68     default:
69       /* FIXME: DefDriverProc not implemented  */
70 #if 0
71       DefDriverProc(dwDriverId, hdrvr, msg, lParam1, lParam2);
72 #endif
73       break;
74     }
75   return 0;
76
77