2023-09-15 05:35:33 +00:00
|
|
|
#pragma once
|
|
|
|
|
2023-09-14 00:23:40 +00:00
|
|
|
#include <windows.h>
|
2023-09-15 23:57:11 +00:00
|
|
|
#include <stdbool.h>
|
2023-09-14 00:23:40 +00:00
|
|
|
|
2023-09-15 23:57:11 +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);
|
2023-09-13 21:54:40 +00:00
|
|
|
|
|
|
|
struct process_hook_sym_w {
|
|
|
|
const wchar_t *name;
|
2023-09-14 00:23:40 +00:00
|
|
|
const wchar_t *head;
|
2023-09-13 21:54:40 +00:00
|
|
|
const wchar_t *tail;
|
2023-09-15 23:57:11 +00:00
|
|
|
bool replace_all;
|
2023-09-13 21:54:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct process_hook_sym_a {
|
|
|
|
const char *name;
|
2023-09-14 00:23:40 +00:00
|
|
|
const char *head;
|
2023-09-13 21:54:40 +00:00
|
|
|
const char *tail;
|
2023-09-15 23:57:11 +00:00
|
|
|
bool replace_all;
|
2023-09-13 21:54:40 +00:00
|
|
|
};
|