2 * PROJECT: ReactOS Sound System "MME Buddy" Library
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: lib/sound/mmebuddy/midi/modMessage.c
6 * PURPOSE: Provides the modMessage exported function, as required by
7 * the MME API, for MIDI output device support.
9 * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
22 Standard MME driver entry-point for messages relating to MIDI output.
32 MMRESULT Result
= MMSYSERR_NOTSUPPORTED
;
34 AcquireEntrypointMutex(MIDI_OUT_DEVICE_TYPE
);
36 SND_TRACE(L
"modMessage - Message type %d\n", Message
);
40 case MODM_GETNUMDEVS
:
42 Result
= GetSoundDeviceCount(MIDI_OUT_DEVICE_TYPE
);
46 case MODM_GETDEVCAPS
:
48 Result
= MmeGetSoundDeviceCapabilities(MIDI_OUT_DEVICE_TYPE
,
56 SND_TRACE(L
"modMessage returning MMRESULT %d\n", Result
);
58 ReleaseEntrypointMutex(MIDI_OUT_DEVICE_TYPE
);