mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-23 05:45:37 +08:00
rename
This commit is contained in:
parent
5ff84d2c2a
commit
943f098682
@ -16,8 +16,8 @@ BOOL APIENTRY DllMain(HMODULE hModule,
|
||||
}
|
||||
|
||||
typedef void (*ProcessEvent)(DWORD);
|
||||
typedef void (*ThreadEvent)(const wchar_t *, const char *, ThreadParam, bool);
|
||||
typedef void (*ThreadEvent_2)(const wchar_t *, const char *, ThreadParam);
|
||||
typedef void (*ThreadEvent_maybe_embed)(const wchar_t *, const char *, ThreadParam, bool);
|
||||
typedef void (*ThreadEvent)(const wchar_t *, const char *, ThreadParam);
|
||||
typedef bool (*OutputCallback)(const wchar_t *, const char *, ThreadParam, const wchar_t *);
|
||||
typedef void (*ConsoleHandler)(const wchar_t *);
|
||||
typedef void (*HookInsertHandler)(uint64_t, const wchar_t *);
|
||||
@ -29,7 +29,7 @@ std::optional<T> checkoption(bool check, T &&t)
|
||||
return std::move(t);
|
||||
return {};
|
||||
}
|
||||
C_LUNA_API void Luna_Start(ProcessEvent Connect, ProcessEvent Disconnect, ThreadEvent Create, ThreadEvent_2 Destroy, OutputCallback Output, ConsoleHandler console, HookInsertHandler hookinsert, EmbedCallback embed, ConsoleHandler Warning)
|
||||
C_LUNA_API void Luna_Start(ProcessEvent Connect, ProcessEvent Disconnect, ThreadEvent_maybe_embed Create, ThreadEvent Destroy, OutputCallback Output, ConsoleHandler console, HookInsertHandler hookinsert, EmbedCallback embed, ConsoleHandler Warning)
|
||||
{
|
||||
Host::StartEx(
|
||||
checkoption(Connect, std::function<void(DWORD)>(Connect)),
|
||||
|
Loading…
Reference in New Issue
Block a user