2018-11-08 15:24:32 +01:00
|
|
|
#pragma once
|
|
|
|
|
2019-05-18 05:10:09 +02:00
|
|
|
#include <windows.h>
|
|
|
|
|
2019-11-06 01:31:11 +01:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
struct nusec_config {
|
|
|
|
bool enable;
|
|
|
|
char keychip_id[16];
|
|
|
|
char game_id[4];
|
|
|
|
char platform_id[4];
|
|
|
|
uint8_t region;
|
|
|
|
uint8_t system_flag;
|
|
|
|
uint32_t subnet;
|
2022-12-11 05:21:54 +01:00
|
|
|
uint16_t billing_type;
|
2019-11-06 01:31:11 +01:00
|
|
|
wchar_t billing_ca[MAX_PATH];
|
|
|
|
wchar_t billing_pub[MAX_PATH];
|
|
|
|
};
|
2019-05-18 05:10:09 +02:00
|
|
|
|
|
|
|
HRESULT nusec_hook_init(
|
|
|
|
const struct nusec_config *cfg,
|
|
|
|
const char *game_id,
|
|
|
|
const char *platform_id);
|