Data Structures |
| struct | PTRAY_CLOCK_WND_DATA |
| struct | PTRAY_NOTIFY_WND_DATA |
Defines |
| #define | ID_TRAYCLOCK_TIMER 0 |
| #define | ID_TRAYCLOCK_TIMER_INIT 1 |
| #define | CLOCKWND_FORMAT_COUNT (sizeof(ClockWndFormats) / sizeof(ClockWndFormats[0])) |
| #define | TRAY_CLOCK_WND_SPACING_X 0 |
| #define | TRAY_CLOCK_WND_SPACING_Y 0 |
| #define | TRAY_NOTIFY_WND_SPACING_X 2 |
| #define | TRAY_NOTIFY_WND_SPACING_Y 2 |
Functions |
| HRESULT | RegGetDWord (HKEY hKey, LPCTSTR szValueName, DWORD *lpdwResult) |
| void | LoadSettings (void) |
| static BOOL | TrayClockWnd_MeasureLines (IN OUT PTRAY_CLOCK_WND_DATA This) |
| static WORD | TrayClockWnd_GetMinimumSize (IN OUT PTRAY_CLOCK_WND_DATA This, IN BOOL Horizontal, IN OUT PSIZE pSize) |
| static VOID | TrayClockWnd_UpdateWnd (IN OUT PTRAY_CLOCK_WND_DATA This) |
| static VOID | TrayClockWnd_Update (IN OUT PTRAY_CLOCK_WND_DATA This) |
| static UINT | TrayClockWnd_CalculateDueTime (IN OUT PTRAY_CLOCK_WND_DATA This) |
| static BOOL | TrayClockWnd_ResetTime (IN OUT PTRAY_CLOCK_WND_DATA This) |
| static VOID | TrayClockWnd_CalibrateTimer (IN OUT PTRAY_CLOCK_WND_DATA This) |
| static VOID | TrayClockWnd_NCDestroy (IN OUT PTRAY_CLOCK_WND_DATA This) |
| static VOID | TrayClockWnd_Paint (IN OUT PTRAY_CLOCK_WND_DATA This, IN HDC hDC) |
| static VOID | TrayClockWnd_SetFont (IN OUT PTRAY_CLOCK_WND_DATA This, IN HFONT hNewFont, IN BOOL bRedraw) |
| static LRESULT CALLBACK | TrayClockWndProc (IN HWND hwnd, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lParam) |
| static HWND | CreateTrayClockWnd (IN HWND hWndParent, IN BOOL bVisible) |
| static BOOL | RegisterTrayClockWndClass (VOID) |
| static VOID | UnregisterTrayClockWndClass (VOID) |
| static VOID | TrayNotifyWnd_UpdateStyle (IN OUT PTRAY_NOTIFY_WND_DATA This) |
| static VOID | TrayNotifyWnd_Create (IN OUT PTRAY_NOTIFY_WND_DATA This) |
| static VOID | TrayNotifyWnd_NCDestroy (IN OUT PTRAY_NOTIFY_WND_DATA This) |
| static BOOL | TrayNotifyWnd_GetMinimumSize (IN OUT PTRAY_NOTIFY_WND_DATA This, IN BOOL Horizontal, IN OUT PSIZE pSize) |
| static VOID | TrayNotifyWnd_Size (IN OUT PTRAY_NOTIFY_WND_DATA This, IN const SIZE *pszClient) |
| static LRESULT CALLBACK | TrayNotifyWndProc (IN HWND hwnd, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lParam) |
| HWND | CreateTrayNotifyWnd (IN OUT ITrayWindow *TrayWindow, IN BOOL bHideClock) |
| BOOL | RegisterTrayNotifyWndClass (VOID) |
| VOID | UnregisterTrayNotifyWndClass (VOID) |
Variables |
| static const TCHAR | szTrayClockWndClass [] = TEXT("TrayClockWClass") |
| static LPCTSTR | s_szRegistryKey = _T("Software\\ReactOS\\Features\\Explorer") |
| BOOL | blShowSeconds |
| struct { |
| BOOL IsTime |
| DWORD dwFormatFlags |
| LPCTSTR lpFormat |
| } | ClockWndFormats [] |
| static const TCHAR | szTrayNotifyWndClass [] = TEXT("TrayNotifyWnd") |