taitools/sivahook/touch.c

14 lines
331 B
C
Raw Normal View History

2024-02-14 18:38:52 +00:00
#include <windows.h>
#include <stdbool.h>
#include "sivahook/touch.h"
#include "hooklib/createprocess.h"
HRESULT touch_hook_init(const struct touch_config *cfg)
{
if (!cfg->enable) {
return S_FALSE;
}
return createprocess_push_hook_a("NanoTS_PTool_win8.exe", "inject.exe -d -k sivahook.dll ", NULL, false);
}