X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=base%2Fapplications%2Fsndvol32%2Fsndvol32.h;h=640ac20c8fe0514f4770d7cd9e2153767f9ae9b0;hp=bab57c7cf01b0f4d8d737501f553a871171c8e8b;hb=849fdca3f9401795ad6d6231e55b5c6ec6f02abd;hpb=5eb7c07bb896c1f0d7e263566c8491ca724afd1b diff --git a/base/applications/sndvol32/sndvol32.h b/base/applications/sndvol32/sndvol32.h index bab57c7cf01..640ac20c8fe 100644 --- a/base/applications/sndvol32/sndvol32.h +++ b/base/applications/sndvol32/sndvol32.h @@ -2,19 +2,25 @@ #define __SNDVOL32_H #include + #include #include -#include #include #include #include #include -#include #include #include #include "resources.h" +typedef enum _WINDOW_MODE +{ + NORMAL_MODE, + SMALL_MODE, + TRAY_MODE +} WINDOW_MODE, *PWINDOW_MODE; + typedef struct _MIXER_WINDOW { HWND hWnd; @@ -22,9 +28,11 @@ typedef struct _MIXER_WINDOW 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; @@ -166,4 +174,14 @@ WriteLineConfig(IN LPTSTR szDeviceName, 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 */