diff options
author | George Hazan <ghazan@miranda.im> | 2018-08-02 21:32:13 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-08-02 21:32:21 +0300 |
commit | 6d6b04fd4eaf40a4c6a4e2dfa9f0365afb12a2f3 (patch) | |
tree | a449678fa20136d41dde722c3b26b21742a23222 /include/m_system.h | |
parent | 4c47c97da317d3f4ff233411c212a8ac98847cfa (diff) |
Miranda_WaitOnHandleEx - advanced wait function with pInfo parameter
Diffstat (limited to 'include/m_system.h')
-rw-r--r-- | include/m_system.h | 2 |
1 files changed, 2 insertions, 0 deletions
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)
|