From 6d6b04fd4eaf40a4c6a4e2dfa9f0365afb12a2f3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 2 Aug 2018 21:32:13 +0300 Subject: Miranda_WaitOnHandleEx - advanced wait function with pInfo parameter --- include/m_system.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/m_system.h b/include/m_system.h index cc3be9a6bf..fb06e5547c 100644 --- a/include/m_system.h +++ b/include/m_system.h @@ -92,8 +92,10 @@ EXTERN_C MIR_APP_DLL(void) Miranda_GetVersionText(char *pDest, size_t cbSize); // Adds an event to the list to be checked in the main message loop // when a handle gets triggered, an appopriate stub gets called typedef void (CALLBACK *MWaitableStub)(void); +typedef void (CALLBACK *MWaitableStubEx)(void*); EXTERN_C MIR_APP_DLL(void) Miranda_WaitOnHandle(MWaitableStub pFunc, HANDLE hEvent = nullptr); +EXTERN_C MIR_APP_DLL(void) Miranda_WaitOnHandleEx(MWaitableStubEx pFunc, void *pInfo); // wParam = 0 (ignored) // lParam = 0 (ignored) -- cgit v1.2.3