projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SNDVOL32] Add the small master dialog
[reactos.git]
/
base
/
applications
/
sndvol32
/
sndvol32.h
diff --git
a/base/applications/sndvol32/sndvol32.h
b/base/applications/sndvol32/sndvol32.h
index
bab57c7
..
640ac20
100644
(file)
--- a/
base/applications/sndvol32/sndvol32.h
+++ b/
base/applications/sndvol32/sndvol32.h
@@
-2,19
+2,25
@@
#define __SNDVOL32_H
#include <stdarg.h>
#define __SNDVOL32_H
#include <stdarg.h>
+
#include <windef.h>
#include <winbase.h>
#include <windef.h>
#include <winbase.h>
-#include <winreg.h>
#include <wingdi.h>
#include <winuser.h>
#include <mmsystem.h>
#include <commctrl.h>
#include <wingdi.h>
#include <winuser.h>
#include <mmsystem.h>
#include <commctrl.h>
-#include <shellapi.h>
#include <tchar.h>
#include <assert.h>
#include "resources.h"
#include <tchar.h>
#include <assert.h>
#include "resources.h"
+typedef enum _WINDOW_MODE
+{
+ NORMAL_MODE,
+ SMALL_MODE,
+ TRAY_MODE
+} WINDOW_MODE, *PWINDOW_MODE;
+
typedef struct _MIXER_WINDOW
{
HWND hWnd;
typedef struct _MIXER_WINDOW
{
HWND hWnd;
@@
-22,9
+28,11
@@
typedef struct _MIXER_WINDOW
struct _SND_MIXER *Mixer;
UINT SelectedLine;
UINT WindowCount;
struct _SND_MIXER *Mixer;
UINT SelectedLine;
UINT WindowCount;
- HWND * Window;
-
+ HWND *Window;
+ WINDOW_MODE Mode;
+ RECT rect;
+ HFONT hFont;
} MIXER_WINDOW, *PMIXER_WINDOW;
extern HINSTANCE hAppInstance;
} MIXER_WINDOW, *PMIXER_WINDOW;
extern HINSTANCE hAppInstance;
@@
-166,4
+174,14
@@
WriteLineConfig(IN LPTSTR szDeviceName,
IN PSNDVOL_REG_LINESTATE LineState,
IN DWORD cbSize);
IN PSNDVOL_REG_LINESTATE LineState,
IN DWORD cbSize);
+/* tray.c */
+
+INT_PTR
+CALLBACK
+TrayDlgProc(
+ HWND hwndDlg,
+ UINT uMsg,
+ WPARAM wParam,
+ LPARAM lParam);
+
#endif /* __SNDVOL32_H */
#endif /* __SNDVOL32_H */