2024-02-06 08:24:58 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "platform/ttxsec.h"
|
|
|
|
|
|
|
|
struct netenv_config {
|
|
|
|
bool enable;
|
|
|
|
uint8_t addr_suffix;
|
|
|
|
uint8_t router_suffix;
|
|
|
|
uint8_t mac_addr[6];
|
|
|
|
};
|
|
|
|
|
|
|
|
HRESULT netenv_hook_init(
|
|
|
|
const struct netenv_config *cfg,
|
|
|
|
const struct ttxsec_config *kc_cfg);
|
2024-02-17 09:24:36 +00:00
|
|
|
void netenv_hook_apply(HMODULE target);
|