ReactOS 0.4.15-dev-7942-gd23573b
voice.c File Reference
#include "mmsys.h"
Include dependency graph for voice.c:

Go to the source code of this file.

Functions

INT_PTR CALLBACK VoiceDlgProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 

Function Documentation

◆ VoiceDlgProc()

INT_PTR CALLBACK VoiceDlgProc ( HWND  hwndDlg,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 15 of file voice.c.

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
unsigned int UINT
Definition: ndis.h:50
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
UINT WINAPI waveOutGetNumDevs(void)
Definition: winmm.c:2137
#define WM_INITDIALOG
Definition: winuser.h:1739
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)

Referenced by MmSysApplet(), and ShowFullControlPanel().