taitools/hooklib/createprocess.h

22 lines
581 B
C
Raw Permalink Normal View History

2024-02-06 08:24:58 +00:00
#pragma once
#include <windows.h>
#include <stdbool.h>
2024-02-17 07:29:52 +00:00
void createprocess_hook_insert_hook(HMODULE target);
2024-02-06 08:24:58 +00:00
HRESULT createprocess_push_hook_w(const wchar_t *name, const wchar_t *head, const wchar_t *tail, bool replace_all);
HRESULT createprocess_push_hook_a(const char *name, const char *head, const char *tail, bool replace_all);
struct process_hook_sym_w {
const wchar_t *name;
const wchar_t *head;
const wchar_t *tail;
bool replace_all;
};
struct process_hook_sym_a {
const char *name;
const char *head;
const char *tail;
bool replace_all;
};