forked from TeamTofuShop/segatools
createprocess: add replace_all flag
This commit is contained in:
@ -1,24 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdbool.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);
|
||||
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;
|
||||
size_t name_size;
|
||||
const wchar_t *head;
|
||||
size_t head_size;
|
||||
const wchar_t *tail;
|
||||
size_t tail_size;
|
||||
bool replace_all;
|
||||
};
|
||||
|
||||
struct process_hook_sym_a {
|
||||
const char *name;
|
||||
size_t name_size;
|
||||
const char *head;
|
||||
size_t head_size;
|
||||
const char *tail;
|
||||
size_t tail_size;
|
||||
bool replace_all;
|
||||
};
|
Reference in New Issue
Block a user