ReactOS  0.4.14-dev-317-g96040ec
voice.c
Go to the documentation of this file.
1 /*
2  *
3  * PROJECT: ReactOS Multimedia Control Panel
4  * FILE: dll/cpl/mmsys/voice.c
5  * PURPOSE: ReactOS Multimedia Control Panel
6  * PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
7  * Johannes Anderwald <janderwald@reactos.com>
8  * Dmitry Chapyshev <dmitry@reactos.org>
9  */
10 
11 #include "mmsys.h"
12 
13 /* Voice property page dialog callback */
16  UINT uMsg,
17  WPARAM wParam,
18  LPARAM lParam)
19 {
22  UNREFERENCED_PARAMETER(hwndDlg);
23  switch(uMsg)
24  {
25  case WM_INITDIALOG:
26  {
27  UINT NumWavOut;
28 
29  NumWavOut = waveOutGetNumDevs();
30  if (!NumWavOut)
31  {
39  }
40  }
41  break;
42  }
43 
44  return FALSE;
45 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
INT_PTR CALLBACK VoiceDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: voice.c:15
#define CALLBACK
Definition: compat.h:27
UINT_PTR WPARAM
Definition: windef.h:207
int32_t INT_PTR
Definition: typedefs.h:62
WPARAM wParam
Definition: combotst.c:138
LONG_PTR LPARAM
Definition: windef.h:208
UINT WINAPI waveOutGetNumDevs(void)
Definition: winmm.c:2140
#define IDC_VOLUME4_BTN
Definition: resource.h:61
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
#define IDC_DEVICE_VOICE_LIST
Definition: resource.h:45
#define IDC_ADV4_BTN
Definition: resource.h:62
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
#define IDC_DEVICE_VOICE_REC_LIST
Definition: resource.h:46
#define IDC_TEST_HARDWARE
Definition: resource.h:65
unsigned int UINT
Definition: ndis.h:50
#define IDC_ADV5_BTN
Definition: resource.h:64
#define IDC_VOLUME5_BTN
Definition: resource.h:63
#define WM_INITDIALOG
Definition: winuser.h:1721
LPARAM lParam
Definition: combotst.c:139