ReactOS 0.4.16-dev-320-g3bd9ddc
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,
19{
22 switch (uMsg)
23 {
24 case WM_INITDIALOG:
25 {
26 UINT NumWavOut;
27
28 NumWavOut = waveOutGetNumDevs();
29 if (!NumWavOut)
30 {
38 }
39 }
40 break;
41 }
42
43 return FALSE;
44}
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define FALSE
Definition: types.h:117
#define IDC_TEST_HARDWARE
Definition: resource.h:65
#define IDC_ADV5_BTN
Definition: resource.h:64
#define IDC_VOLUME4_BTN
Definition: resource.h:61
#define IDC_DEVICE_VOICE_LIST
Definition: resource.h:45
#define IDC_ADV4_BTN
Definition: resource.h:62
#define IDC_VOLUME5_BTN
Definition: resource.h:63
#define IDC_DEVICE_VOICE_REC_LIST
Definition: resource.h:46
#define CALLBACK
Definition: compat.h:35
unsigned int UINT
Definition: ndis.h:50
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:325
int32_t INT_PTR
Definition: typedefs.h:64
INT_PTR CALLBACK VoiceDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: voice.c:15
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207
UINT WINAPI waveOutGetNumDevs(void)
Definition: winmm.c:2137
#define WM_INITDIALOG
Definition: winuser.h:1742
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)