From e767d690d104bf83b8efe28e338768aec3406bfc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 7 Dec 2023 12:22:10 +0300 Subject: EventExists: a helper to check the hookable event's presence --- include/m_core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/m_core.h b/include/m_core.h index 6f2b88f631..d4fd0f197a 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -109,6 +109,7 @@ typedef INT_PTR (*MIRANDASERVICEOBJPARAM)(void*, WPARAM, LPARAM, LPARAM); MIR_CORE_DLL(HANDLE) CreateHookableEvent(const char *name); MIR_CORE_DLL(int) DestroyHookableEvent(HANDLE hEvent); +MIR_CORE_DLL(bool) EventExists(const char *name); MIR_CORE_DLL(int) SetHookDefaultForHookableEvent(HANDLE hEvent, MIRANDAHOOK pfnHook); MIR_CORE_DLL(int) CallPluginEventHook(HINSTANCE hInst, const char *pszEvent, WPARAM wParam = 0, LPARAM lParam = 0); MIR_CORE_DLL(int) CallObjectEventHook(void *pObject, HANDLE hEvent, WPARAM wParam = 0, LPARAM lParam = 0); -- cgit v1.2.3