14 lines
331 B
C
14 lines
331 B
C
#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);
|
|
} |