28{
31 WCHAR szRawBuffer[256], szCookedBuffer[256];
34 DWORD i, dwStep, dwPosition;
35 DWORD dwOtherControls = 0;
38
39
43
44
47
48
55
56
59 dwStep++;
61 {
64 }
65
66
69
71 {
73 {
75 {
76
77
79 {
82
84 dwPosition = (UnsignedDetails.dwValue -
Control[
Index].Bounds.dwMinimum) / dwStep;
86
91 }
92 }
94 {
95
96
98 {
101
103 dwPosition = (UnsignedDetails.dwValue -
Control[
Index].Bounds.dwMinimum) / dwStep;
105
110 }
111 }
114 {
115
116
117 if (dwOtherControls < 2)
118 {
120 {
124
126
128
129 pData->bEnabled[dwOtherControls + 2] =
TRUE;
131
132 dwOtherControls++;
133 }
134 }
135 }
136 }
137
138
140 }
141
142 if (dwOtherControls != 0)
143 {
144
147
148
150
151 dy =
MulDiv((dwOtherControls == 1) ? 73 : (73 + 15),
pData->Context->MixerWindow->baseUnit.cy, 8);
153
155
156
159
162
164
165 if (dwOtherControls == 2)
166 {
167
170
171 dy =
MulDiv(15,
pData->Context->MixerWindow->baseUnit.cy, 8);
173
175 }
176 }
177}
BOOL SndMixerQueryControls(PSND_MIXER Mixer, PUINT DisplayControls, LPMIXERLINE LineInfo, LPMIXERCONTROL *Controls)
INT SndMixerGetVolumeControlDetails(PSND_MIXER Mixer, DWORD dwControlID, DWORD cChannels, DWORD cbDetails, LPVOID paDetails)
#define IDC_ADV_OTHER_CONTROLS
#define IDC_ADV_OTHER_TEXT
#define IDS_ADVANCED_CONTROLS
#define IDC_ADV_TREBLE_LOW
#define IDS_OTHER_CONTROLS1
#define IDC_ADV_OTHER_CHECK1
#define IDC_ADV_OTHER_CHECK2
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define MIXERCONTROL_CONTROLTYPE_BOOLEAN
#define MIXERCONTROL_CT_UNITS_MASK
#define MIXERCONTROL_CT_CLASS_MASK
#define MIXERCONTROL_CONTROLTYPE_TREBLE
#define MIXERCONTROL_CT_SUBCLASS_MASK
#define MIXERCONTROL_CONTROLTYPE_MUTE
#define MIXERCONTROL_CONTROLTYPE_BASS
INT WINAPI MulDiv(INT nNumber, INT nNumerator, INT nDenominator)
static const WCHAR szName[]
STRSAFEAPI StringCchPrintfW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszFormat,...)
_In_ WDFCOLLECTION _In_ ULONG Index
_In_ WDF_WMI_PROVIDER_CONTROL Control
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)