ReactOS 0.4.16-dev-300-g2aadf2e
auxMessage.c File Reference
#include "precomp.h"
Include dependency graph for auxMessage.c:

Go to the source code of this file.

Functions

DWORD APIENTRY auxMessage (UINT DeviceId, UINT Message, DWORD_PTR PrivateHandle, DWORD_PTR Parameter1, DWORD_PTR Parameter2)
 

Function Documentation

◆ auxMessage()

DWORD APIENTRY auxMessage ( UINT  DeviceId,
UINT  Message,
DWORD_PTR  PrivateHandle,
DWORD_PTR  Parameter1,
DWORD_PTR  Parameter2 
)

Definition at line 19 of file auxMessage.c.

25{
27
29
30 SND_TRACE(L"auxMessage - Message type %d\n", Message);
31
32 switch ( Message )
33 {
34 case AUXDM_GETNUMDEVS :
35 {
37 break;
38 }
39
40 case AUXDM_GETDEVCAPS :
41 {
43 DeviceId,
44 (PVOID) Parameter1,
45 Parameter2);
46 break;
47 }
48
49 case AUXDM_GETVOLUME:
50 {
52 DeviceId,
53 PrivateHandle,
54 Parameter1);
55 break;
56 }
57
58 case AUXDM_SETVOLUME:
59 {
61 DeviceId,
62 PrivateHandle,
63 Parameter1);
64 break;
65 }
66 }
67
68 SND_TRACE(L"auxMessage returning MMRESULT %d\n", Result);
69
71
72 return Result;
73}
#define AUXDM_GETDEVCAPS
Definition: mmddk.h:183
#define AUXDM_GETNUMDEVS
Definition: mmddk.h:182
#define AUXDM_GETVOLUME
Definition: mmddk.h:184
#define AUXDM_SETVOLUME
Definition: mmddk.h:185
static const WCHAR Message[]
Definition: register.c:74
VOID AcquireEntrypointMutex(IN MMDEVICE_TYPE DeviceType)
Definition: reentrancy.c:75
ULONG GetSoundDeviceCount(IN MMDEVICE_TYPE DeviceType)
Definition: devicelist.c:67
MMRESULT MmeGetVolume(_In_ MMDEVICE_TYPE DeviceType, _In_ DWORD DeviceId, _In_ DWORD_PTR PrivateHandle, _Out_ DWORD_PTR pdwVolume)
Definition: mmewrap.c:369
VOID ReleaseEntrypointMutex(IN MMDEVICE_TYPE DeviceType)
Definition: reentrancy.c:92
MMRESULT MmeGetSoundDeviceCapabilities(IN MMDEVICE_TYPE DeviceType, IN DWORD DeviceId, IN PVOID Capabilities, IN DWORD CapabilitiesSize)
Definition: mmewrap.c:103
MMRESULT MmeSetVolume(_In_ MMDEVICE_TYPE DeviceType, _In_ DWORD DeviceId, _In_ DWORD_PTR PrivateHandle, _In_ DWORD_PTR dwVolume)
Definition: mmewrap.c:409
#define SND_TRACE(...)
UINT MMRESULT
Definition: mmsystem.h:962
#define MMSYSERR_NOTSUPPORTED
Definition: mmsystem.h:104
#define L(x)
Definition: ntvdm.h:50
@ AUX_DEVICE_TYPE
Definition: sndtypes.h:32
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:409