|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdarg.h>#include <windef.h>#include <winbase.h>#include <wingdi.h>#include <winuser.h>#include <mmsystem.h>#include <commctrl.h>#include <tchar.h>#include <strsafe.h>#include <assert.h>#include "resources.h"

Go to the source code of this file.
Classes | |
| struct | _MIXER_WINDOW |
| struct | _SND_MIXER_CONNECTION |
| struct | _SND_MIXER_DESTINATION |
| struct | _SND_MIXER |
| struct | _PREFERENCES_CONTEXT |
| struct | _SET_VOLUME_CONTEXT |
| struct | _ADVANCED_CONTEXT |
| struct | _SNDVOL_REG_LINESTATE |
Macros | |
| #define | VOLUME_MIN 0 |
| #define | VOLUME_MAX 500 |
| #define | VOLUME_TICKS 5 |
| #define | VOLUME_PAGE_SIZE 100 |
| #define | BALANCE_LEFT 0 |
| #define | BALANCE_CENTER 32 |
| #define | BALANCE_RIGHT 64 |
| #define | BALANCE_STEPS 64 |
| #define | BALANCE_TICKS 1 |
| #define | BALANCE_PAGE_SIZE 12 |
| #define | PLAY_MIXER 0 |
| #define | RECORD_MIXER 1 |
| #define | ADVANCED_BUTTON_HEIGHT 16 |
| #define | HOTKEY_CTRL_S 1 |
| #define | SZ_APP_CLASS TEXT("Volume Control") |
| #define | _countof(array) (sizeof(array) / sizeof(array[0])) |
| #define | DPRINT DbgPrint("SNDVOL32: %s:%i: ", __FILE__, __LINE__); DbgPrint |
Enumerations | |
| enum | _WINDOW_MODE { NORMAL_MODE , SMALL_MODE , TRAY_MODE } |
Variables | |
| HINSTANCE | hAppInstance |
| ATOM | MainWindowClass |
| HWND | hMainWnd |
| HANDLE | hAppHeap |
| HKEY | hAppSettingsKey |
Definition at line 70 of file sndvol32.h.
| #define ADVANCED_BUTTON_HEIGHT 16 |
Definition at line 32 of file sndvol32.h.
| #define BALANCE_CENTER 32 |
Definition at line 23 of file sndvol32.h.
| #define BALANCE_LEFT 0 |
Definition at line 22 of file sndvol32.h.
| #define BALANCE_PAGE_SIZE 12 |
Definition at line 27 of file sndvol32.h.
| #define BALANCE_RIGHT 64 |
Definition at line 24 of file sndvol32.h.
| #define BALANCE_STEPS 64 |
Definition at line 25 of file sndvol32.h.
| #define BALANCE_TICKS 1 |
Definition at line 26 of file sndvol32.h.
Definition at line 73 of file sndvol32.h.
| #define HOTKEY_CTRL_S 1 |
Definition at line 34 of file sndvol32.h.
| #define PLAY_MIXER 0 |
Definition at line 29 of file sndvol32.h.
| #define RECORD_MIXER 1 |
Definition at line 30 of file sndvol32.h.
Definition at line 69 of file sndvol32.h.
| #define VOLUME_MAX 500 |
Definition at line 19 of file sndvol32.h.
| #define VOLUME_MIN 0 |
Definition at line 18 of file sndvol32.h.
| #define VOLUME_PAGE_SIZE 100 |
Definition at line 21 of file sndvol32.h.
| #define VOLUME_TICKS 5 |
Definition at line 20 of file sndvol32.h.
| typedef struct _ADVANCED_CONTEXT ADVANCED_CONTEXT |
| typedef struct _MIXER_WINDOW MIXER_WINDOW |
| typedef struct _ADVANCED_CONTEXT * PADVANCED_CONTEXT |
| typedef BOOL(CALLBACK * PFNSNDMIXENUMCONNECTIONS) (PSND_MIXER Mixer, DWORD LineID, LPMIXERLINE Line, PVOID Context) |
Definition at line 150 of file sndvol32.h.
| typedef BOOL(CALLBACK * PFNSNDMIXENUMLINES) (PSND_MIXER Mixer, LPMIXERLINE Line, UINT DisplayControls, PVOID Context) |
Definition at line 149 of file sndvol32.h.
| typedef BOOL(CALLBACK * PFNSNDMIXENUMPRODUCTS) (PSND_MIXER Mixer, UINT Id, LPCTSTR ProductName, PVOID Context) |
Definition at line 151 of file sndvol32.h.
| typedef struct _MIXER_WINDOW * PMIXER_WINDOW |
| typedef struct _PREFERENCES_CONTEXT * PPREFERENCES_CONTEXT |
| typedef struct _SET_VOLUME_CONTEXT * PSET_VOLUME_CONTEXT |
| typedef struct _SND_MIXER * PSND_MIXER |
| typedef struct _SND_MIXER_CONNECTION * PSND_MIXER_CONNECTION |
| typedef struct _SNDVOL_REG_LINESTATE * PSNDVOL_REG_LINESTATE |
| typedef enum _WINDOW_MODE * PWINDOW_MODE |
| typedef struct _SND_MIXER SND_MIXER |
| typedef enum _WINDOW_MODE WINDOW_MODE |
| Enumerator | |
|---|---|
| NORMAL_MODE | |
| SMALL_MODE | |
| TRAY_MODE | |
Definition at line 36 of file sndvol32.h.
Definition at line 225 of file advanced.c.
Definition at line 50 of file misc.c.
Definition at line 388 of file misc.c.
Referenced by _tWinMain().
Definition at line 138 of file misc.c.
Referenced by _tWinMain().
Definition at line 76 of file misc.c.
| VOID LoadDialogCtrls | ( | PPREFERENCES_CONTEXT | PrefContext | ) |
Definition at line 676 of file dialog.c.
Referenced by RebuildMixerWindowControls().
| BOOL LoadXYCoordWnd | ( | IN PPREFERENCES_CONTEXT | PrefContext | ) |
Definition at line 162 of file misc.c.
Referenced by MainWindowProc().
| BOOL ReadLineConfig | ( | IN LPTSTR | szDeviceName, |
| IN LPTSTR | szLineName, | ||
| IN LPTSTR | szControlName, | ||
| OUT DWORD * | Flags | ||
| ) |
Definition at line 307 of file misc.c.
Referenced by EnumConnectionsCallback(), and PrefDlgAddConnection().
| BOOL SaveXYCoordWnd | ( | IN HWND | hWnd, |
| IN PPREFERENCES_CONTEXT | PrefContext | ||
| ) |
Definition at line 218 of file misc.c.
Referenced by MainWindowProc().
| VOID SndMixerClose | ( | PSND_MIXER | Mixer | ) |
Definition at line 101 of file mixer.c.
Referenced by SndMixerDestroy(), and SndMixerSelect().
| PSND_MIXER SndMixerCreate | ( | HWND | hWndNotification, |
| UINT | MixerId | ||
| ) |
Definition at line 69 of file mixer.c.
Referenced by DlgPreferencesProc(), and MainWindowProc().
| VOID SndMixerDestroy | ( | PSND_MIXER | Mixer | ) |
Definition at line 91 of file mixer.c.
Referenced by MainWindowProc().
| BOOL SndMixerEnumConnections | ( | PSND_MIXER | Mixer, |
| DWORD | LineID, | ||
| PFNSNDMIXENUMCONNECTIONS | EnumProc, | ||
| PVOID | Context | ||
| ) |
Definition at line 552 of file mixer.c.
Referenced by LoadDialogCtrls(), MainWindowProc(), and UpdatePrefDlgControls().
| BOOL SndMixerEnumLines | ( | PSND_MIXER | Mixer, |
| PFNSNDMIXENUMLINES | EnumProc, | ||
| PVOID | Context | ||
| ) |
| BOOL SndMixerEnumProducts | ( | PSND_MIXER | Mixer, |
| PFNSNDMIXENUMPRODUCTS | EnumProc, | ||
| PVOID | Context | ||
| ) |
Definition at line 431 of file mixer.c.
Referenced by DlgPreferencesProc().
| INT SndMixerGetDestinationCount | ( | PSND_MIXER | Mixer | ) |
| LPMIXERLINE SndMixerGetLineByName | ( | PSND_MIXER | Mixer, |
| DWORD | LineID, | ||
| LPWSTR | LineName | ||
| ) |
Definition at line 615 of file mixer.c.
Referenced by MainWindowProc().
| INT SndMixerGetLineName | ( | PSND_MIXER | Mixer, |
| DWORD | LineID, | ||
| LPTSTR | lpBuffer, | ||
| UINT | uSize, | ||
| BOOL | LongName | ||
| ) |
Definition at line 390 of file mixer.c.
Referenced by EnumConnectionsCallback(), PrefDlgAddConnection(), and WriteLineSettings().
| INT SndMixerGetProductName | ( | PSND_MIXER | Mixer, |
| LPTSTR | lpBuffer, | ||
| UINT | uSize | ||
| ) |
Definition at line 367 of file mixer.c.
Referenced by MainWindowProc(), and UpdatePrefDlgControls().
| UINT SndMixerGetSelection | ( | PSND_MIXER | Mixer | ) |
Definition at line 361 of file mixer.c.
Referenced by DlgPreferencesProc(), and UpdatePrefDlgControls().
| INT SndMixerGetVolumeControlDetails | ( | PSND_MIXER | Mixer, |
| DWORD | dwControlID, | ||
| DWORD | cChannels, | ||
| DWORD | cbDetails, | ||
| LPVOID | paDetails | ||
| ) |
Definition at line 498 of file mixer.c.
Referenced by EnumConnectionsCallback(), MixerControlChangeCallback(), OnInitDialog(), and SetVolumeCallback().
| BOOL SndMixerIsDisplayControl | ( | PSND_MIXER | Mixer, |
| LPMIXERCONTROL | Control | ||
| ) |
Definition at line 598 of file mixer.c.
Referenced by SndMixerQueryControls().
| BOOL SndMixerQueryControls | ( | PSND_MIXER | Mixer, |
| PUINT | DisplayControls, | ||
| LPMIXERLINE | LineInfo, | ||
| LPMIXERCONTROL * | Controls | ||
| ) |
Definition at line 112 of file mixer.c.
Referenced by EnumConnectionsCallback(), MixerControlChangeCallback(), OnInitDialog(), SetVolumeCallback(), SndMixerQueryConnections(), and SndMixerQueryDestinations().
| BOOL SndMixerSelect | ( | PSND_MIXER | Mixer, |
| UINT | MixerId | ||
| ) |
Definition at line 304 of file mixer.c.
Referenced by SndMixerCreate(), and UpdatePrefDlgControls().
| INT SndMixerSetVolumeControlDetails | ( | PSND_MIXER | Mixer, |
| DWORD | dwControlID, | ||
| DWORD | cChannels, | ||
| DWORD | cbDetails, | ||
| LPVOID | paDetails | ||
| ) |
Definition at line 474 of file mixer.c.
Referenced by OnHScroll(), and SetVolumeCallback().
Definition at line 262 of file tray.c.
Referenced by _tWinMain().
| VOID UpdateDialogLineSliderControl | ( | PPREFERENCES_CONTEXT | PrefContext, |
| LPMIXERLINE | Line, | ||
| DWORD | DialogID, | ||
| DWORD | Position | ||
| ) |
Definition at line 815 of file dialog.c.
Referenced by MixerControlChangeCallback().
| VOID UpdateDialogLineSwitchControl | ( | PPREFERENCES_CONTEXT | PrefContext, |
| LPMIXERLINE | Line, | ||
| LONG | fValue | ||
| ) |
Definition at line 769 of file dialog.c.
Referenced by MixerControlChangeCallback().
| BOOL WriteLineConfig | ( | IN LPTSTR | szDeviceName, |
| IN LPTSTR | szLineName, | ||
| IN PSNDVOL_REG_LINESTATE | LineState, | ||
| IN DWORD | cbSize | ||
| ) |
Definition at line 272 of file misc.c.
Referenced by WriteLineSettings().
|
extern |
Definition at line 24 of file mmc.c.
Referenced by _tWinMain(), ConsoleChildFrmProc(), ConsoleMainFrameWndProc(), CreateApplicationWindow(), FrameOnCreate(), MainWindowProc(), and TestDllProductVersion().
|
extern |
Definition at line 135 of file misc.c.
Referenced by CloseAppConfig(), GetStyleValue(), InitAppConfig(), ReadLineConfig(), and WriteLineConfig().
|
extern |
Definition at line 32 of file magnifier.c.
|
extern |
Definition at line 31 of file sndvol32.c.
Referenced by RegisterApplicationClasses().