ReactOS 0.4.16-dev-109-gf4cb10f
CRegWatcher.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS CTF Monitor
3 * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4 * PURPOSE: Registry watcher
5 * COPYRIGHT: Copyright 2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
6 */
7
8#pragma once
9
11{
15};
16
17#define WATCHENTRY_MAX 12
18
20{
24
25 static BOOL Init();
26 static VOID Uninit();
27 static BOOL InitEvent(_In_ SIZE_T iEvent, _In_ BOOL bResetEvent);
28 static VOID UpdateSpTip();
29 static VOID KillInternat();
31 static VOID OnEvent(_In_ SIZE_T iEvent);
32
33protected:
34 static BOOL CALLBACK
36
37 static VOID CALLBACK
39
40 static VOID CALLBACK
42
43 static VOID CALLBACK
45};
#define WATCHENTRY_MAX
Definition: CRegWatcher.h:17
HWND hWnd
Definition: settings.c:17
LPARAM lParam
Definition: combotst.c:139
#define CALLBACK
Definition: compat.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define _In_
Definition: ms_sal.h:308
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
unsigned int UINT
Definition: ndis.h:50
DWORD dwTime
Definition: solitaire.cpp:27
static BOOL InitEvent(_In_ SIZE_T iEvent, _In_ BOOL bResetEvent)
static UINT s_nSysColorTimerId
Definition: CRegWatcher.h:23
static BOOL Init()
Definition: CRegWatcher.cpp:40
static VOID CALLBACK SysColorTimerProc(_In_ HWND hWnd, _In_ UINT uMsg, _In_ UINT_PTR idEvent, _In_ DWORD dwTime)
static VOID OnEvent(_In_ SIZE_T iEvent)
static VOID UpdateSpTip()
static VOID StartSysColorChangeTimer()
static VOID KillInternat()
static BOOL CALLBACK EnumWndProc(_In_ HWND hWnd, _In_ LPARAM lParam)
static VOID CALLBACK RegImxTimerProc(_In_ HWND hWnd, _In_ UINT uMsg, _In_ UINT_PTR idEvent, _In_ DWORD dwTime)
static WATCHENTRY s_WatchEntries[WATCHENTRY_MAX]
Definition: CRegWatcher.h:22
static VOID Uninit()
Definition: CRegWatcher.cpp:64
static UINT s_nRegImxTimerId
Definition: CRegWatcher.h:23
static VOID CALLBACK KbdToggleTimerProc(_In_ HWND hWnd, _In_ UINT uMsg, _In_ UINT_PTR idEvent, _In_ DWORD dwTime)
static HANDLE s_ahWatchEvents[WATCHENTRY_MAX]
Definition: CRegWatcher.h:21
static UINT s_nKbdToggleTimerId
Definition: CRegWatcher.h:23
LPCTSTR pszSubKey
Definition: CRegWatcher.h:13
HKEY hRootKey
Definition: CRegWatcher.h:12
ULONG_PTR SIZE_T
Definition: typedefs.h:80
LONG_PTR LPARAM
Definition: windef.h:208
const CHAR * LPCTSTR
Definition: xmlstorage.h:193