diff options
| author | George Hazan <george.hazan@gmail.com> | 2023-12-07 12:22:10 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2023-12-07 12:22:10 +0300 |
| commit | e767d690d104bf83b8efe28e338768aec3406bfc (patch) | |
| tree | 92a5dc20ead507d08ffa9c66e1c9fe2aaea15494 /include | |
| parent | c6ef1e6b965f3175f7e1f46c1a6c57d0f0f8ccf5 (diff) | |
EventExists: a helper to check the hookable event's presence
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
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);
|
