hooklib: fill out my_CreateProcessA

This commit is contained in:
2023-09-13 20:23:40 -04:00
parent dca84e08d0
commit 0d83977073
2 changed files with 119 additions and 39 deletions

View File

@ -1,14 +1,22 @@
void createprocess_push_hook_w();
void createprocess_push_hook_a();
#include <windows.h>
HRESULT createprocess_push_hook_w(const wchar_t *name, const wchar_t *head, const wchar_t *tail);
HRESULT createprocess_push_hook_a(const char *name, const char *head, const char *tail);
struct process_hook_sym_w {
const wchar_t *name;
const wchar_t *dll_name;
size_t name_size;
const wchar_t *head;
size_t head_size;
const wchar_t *tail;
size_t tail_size;
};
struct process_hook_sym_a {
const char *name;
const char *dll_name;
size_t name_size;
const char *head;
size_t head_size;
const char *tail;
size_t tail_size;
};