2 * PROJECT: ReactOS Sound System "MME Buddy" Library
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: lib/sound/mmebuddy/auxiliary/auxMessage.c
6 * PURPOSE: Provides the auxMessage exported function, as required by
7 * the MME API, for auxiliary device support.
9 * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
22 Standard MME driver entry-point for messages relating to auxiliary devices.
29 DWORD_PTR PrivateHandle
,
33 MMRESULT Result
= MMSYSERR_NOTSUPPORTED
;
35 AcquireEntrypointMutex(AUX_DEVICE_TYPE
);
37 SND_TRACE(L
"auxMessage - Message type %d\n", Message
);
41 case AUXDM_GETNUMDEVS
:
43 Result
= GetSoundDeviceCount(AUX_DEVICE_TYPE
);
47 case AUXDM_GETDEVCAPS
:
49 Result
= MmeGetSoundDeviceCapabilities(AUX_DEVICE_TYPE
,
57 SND_TRACE(L
"auxMessage returning MMRESULT %d\n", Result
);
59 ReleaseEntrypointMutex(AUX_DEVICE_TYPE
);