diff --git a/texthook/hookman.h b/texthook/hookman.h index c5e939a..f8c3c02 100644 --- a/texthook/hookman.h +++ b/texthook/hookman.h @@ -19,8 +19,8 @@ struct ProcessRecord HANDLE hostPipe; }; -typedef void(__stdcall *ProcessEventCallback)(DWORD pid); -typedef void(__stdcall *ThreadEventCallback)(TextThread*); +typedef void(*ProcessEventCallback)(DWORD pid); +typedef void(*ThreadEventCallback)(TextThread*); struct ThreadParameterHasher { diff --git a/texthook/textthread.h b/texthook/textthread.h index 321096f..a541971 100644 --- a/texthook/textthread.h +++ b/texthook/textthread.h @@ -22,10 +22,8 @@ struct ThreadParameter } }; -#define CURRENT_SELECT 0x1000 - class TextThread; -typedef std::wstring(__stdcall *ThreadOutputCallback)(TextThread*, std::wstring data); +typedef std::wstring(*ThreadOutputCallback)(TextThread*, std::wstring data); //extern DWORD split_time,repeat_count,global_filter,cyclic_remove;