1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2025-01-10 07:41:46 +01:00
segatools-dniel97/hooklib/createprocess.h

24 lines
559 B
C
Raw Normal View History

2023-09-15 01:35:33 -04:00
#pragma once
2023-09-13 20:23:40 -04:00
#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;
2023-09-13 20:23:40 -04:00
size_t name_size;
const wchar_t *head;
size_t head_size;
const wchar_t *tail;
2023-09-13 20:23:40 -04:00
size_t tail_size;
};
struct process_hook_sym_a {
const char *name;
2023-09-13 20:23:40 -04:00
size_t name_size;
const char *head;
size_t head_size;
const char *tail;
2023-09-13 20:23:40 -04:00
size_t tail_size;
};