17 lines
405 B
C
17 lines
405 B
C
#include <windows.h>
|
|
#include <stdbool.h>
|
|
|
|
#include "sivahook/touch.h"
|
|
#include "hooklib/createprocess.h"
|
|
|
|
#include "util/dprintf.h"
|
|
|
|
HRESULT touch_hook_init(const struct touch_config *cfg)
|
|
{
|
|
if (!cfg->enable) {
|
|
return S_FALSE;
|
|
}
|
|
|
|
dprintf("Touch: hook init\n");
|
|
return createprocess_push_hook_w(L"\"NanoTS_PTool_win8.exe\"", L"inject_32.exe -d -k sivahook_32.dll ", NULL, false);
|
|
} |