Fixed prototype for MmSetAddressRangeModified().
[reactos.git] / lib / winmm / winmm.h
1 /*
2  *  WinMM (winmm.h) : Common internal header
3  *
4  *  [8-18-2003] AG: Created
5  */
6
7
8 #include <windows.h>
9
10
11 // These are the memory-mapped file names used
12 #define FM_WINMM_GENERAL_INFO   "WINMM_000"
13 #define FM_MIDI_IN_DEV_INFO     "WINMM_001"
14 #define FM_MIDI_IN_HANDLE_INFO  "WINMM_002"
15 #define FM_MIDI_OUT_DEV_INFO    "WINMM_003"
16 #define FM_MIDI_OUT_HANDLE_INFO "WINMM_004"
17 #define FM_WAVE_IN_DEV_INFO     "WINMM_005"
18 #define FM_WAVE_IN_HANDLE_INFO  "WINMM_006"
19 #define FM_WAVE_OUT_DEV_INFO    "WINMM_007"
20 #define FM_WAVE_OUT_HANDLE_INFO "WINMM_008"
21
22
23
24 typedef struct  // WINMM_000
25 {
26     UINT MidiInDeviceCount;
27     UINT MidiInHandleCount;
28     UINT MidiOutDeviceCount;
29     UINT MidiOutHandleCount;
30     UINT WaveInDeviceCount;
31     UINT WaveInHandleCount;
32     UINT WaveOutDeviceCount;
33     UINT WaveOutHandleCount;
34 } WinMMGeneralInfo, *LPWinMMGeneralInfo;
35
36
37 typedef struct  // WINMM_003
38 {
39     BOOL IsOpen;    // Correct?
40 } MidiOutDeviceInfo, *LPMidiOutDeviceInfo;
41
42 typedef struct  // WINMM_004
43 {
44     UINT DeviceID;  // Needs to be first
45     BOOL IsOpen;
46 } MidiOutHandleInfo, *LPMidiOutHandleInfo;
47
48
49
50 // Initialization routines
51 void mi_Init();
52 void mo_Init();