diff --git a/src/global.h b/src/global.h index 7c278d98..524e8818 100644 --- a/src/global.h +++ b/src/global.h @@ -60,7 +60,7 @@ DECLSPEC_SELECTANY R_QUEUED_LOCK lock_cache_resolution = PR_QUEUED_LOCK_INIT; DECLSPEC_SELECTANY R_WORKQUEUE file_queue = {0}; DECLSPEC_SELECTANY R_WORKQUEUE log_queue = {0}; -DECLSPEC_SELECTANY R_WORKQUEUE resolve_log_queue = {0}; +DECLSPEC_SELECTANY R_WORKQUEUE resolver_queue = {0}; DECLSPEC_SELECTANY R_WORKQUEUE resolve_notify_queue = {0}; DECLSPEC_SELECTANY R_WORKQUEUE wfp_queue = {0}; diff --git a/src/helper.h b/src/helper.h index 5724ef70..8e748942 100644 --- a/src/helper.h +++ b/src/helper.h @@ -80,7 +80,6 @@ BOOLEAN _app_parsenetworkstring (_In_ LPCWSTR network_string, _Inout_ PITEM_ADDR BOOLEAN _app_preparserulestring (_In_ PR_STRINGREF rule, _Inout_ PITEM_ADDRESS address); BOOLEAN _app_parserulestring (_In_opt_ PR_STRINGREF rule, _Inout_opt_ PITEM_ADDRESS address); -_Ret_maybenull_ PR_STRING _app_resolveaddress (_In_ ADDRESS_FAMILY af, _In_ LPCVOID address); VOID _app_queryfileinformation (_In_ PR_STRING path, _In_ ULONG_PTR app_hash, _In_ ENUM_TYPE_DATA type); diff --git a/src/log.c b/src/log.c index 82112cb8..8a25db4b 100644 --- a/src/log.c +++ b/src/log.c @@ -282,7 +282,7 @@ VOID _app_logwrite_ui (_In_ HWND hwnd, _In_ PITEM_LOG ptr_log) context->lparam = log_hash; context->ptr_log = _r_obj_reference (ptr_log); - _r_workqueue_queueitem (&resolve_log_queue, &_app_queueresolveinformation, context); + _r_workqueue_queueitem (&resolver_queue, &_app_queueresolveinformation, context); } if (ptr_app) diff --git a/src/main.h b/src/main.h index 61554109..6be809f6 100644 --- a/src/main.h +++ b/src/main.h @@ -53,7 +53,6 @@ typedef enum _ENUM_TYPE_DATA DataRulesConfig, DataTypePort, DataTypeIp, - //DataTypeHost, DataFilterGeneral, DataListviewCurrent, } ENUM_TYPE_DATA; @@ -162,9 +161,6 @@ typedef enum _ENUM_INFO_DATA2 #define NETWORK_TIMEOUT 3500 // notifications -#define NOTIFY_GRADIENT_1 RGB (0, 68, 112) -#define NOTIFY_GRADIENT_2 RGB (7, 111, 95) - #define NOTIFY_TIMER_SAFETY_ID 666 #define NOTIFY_TIMER_SAFETY_TIMEOUT 900 diff --git a/src/notifications.h b/src/notifications.h index 7d43f1a5..c9cb64f0 100644 --- a/src/notifications.h +++ b/src/notifications.h @@ -24,6 +24,6 @@ VOID _app_notifysetpos (_In_ HWND hwnd, _In_ BOOLEAN is_forced); HFONT _app_notifyfontinit (_In_ LONG dpi_value, _In_ PLOGFONT plf, _In_ LONG height, _In_ LONG weight, _In_ BOOLEAN is_underline); VOID _app_notifyfontset (_In_ HWND hwnd); -VOID _app_notifydrawgradient (_In_ HDC hdc, _In_ LPRECT lprc, _In_ COLORREF rgb1, _In_ COLORREF rgb2, _In_ ULONG mode); +VOID _app_notifydrawgradient (_In_ HDC hdc, _In_ LPRECT rect); INT_PTR CALLBACK NotificationProc (_In_ HWND hwnd, _In_ UINT msg, _In_ WPARAM wparam, _In_ LPARAM lparam);