This project aims to enhance the working environment on Windows
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
546 B

#ifndef _H_SETTINGSMONITOR_H_
#define _H_SETTINGSMONITOR_H_
#include <Windows.h>
#include <Shlwapi.h>
#pragma comment(lib, "Shlwapi.lib")
#include <stdio.h>
typedef struct _Setting
{
HKEY origin;
wchar_t name[MAX_PATH];
HKEY hKey;
HANDLE hEvent;
void(__stdcall *callback)(void*);
void* data;
} Setting;
typedef struct _SettingsChangeParameters
{
Setting* settings;
DWORD size;
HANDLE hThread;
} SettingsChangeParameters;
DWORD WINAPI MonitorSettings(SettingsChangeParameters*);
#endif