table walker for mx28

This commit is contained in:
2021-03-05 21:00:14 +09:00
parent 1ed83389f2
commit 561982b6dd
7 changed files with 720 additions and 0 deletions

31
tablewalker/ResetKit.h Normal file
View File

@@ -0,0 +1,31 @@
// This file is in public domain.
#pragma once
#include <windows.h>
#ifndef RESETKIT_API
#define RESETKIT_API __declspec(dllimport)
#endif
#define ERROR_GENERATION_NOT_SUPPORTED 0x1200
#define ERROR_NKFORCECLEANBOOT_NOT_FOUND 0x1201
#ifdef __cplusplus
extern "C"{
#endif
RESETKIT_API DWORD RKDeviceGeneration();
RESETKIT_API BOOL RKCanSoftReset();
RESETKIT_API BOOL RKCanHardReset();
RESETKIT_API BOOL RKDoSoftReset();
RESETKIT_API BOOL RKDoHardReset();
RESETKIT_API BOOL RKInstallDicProtect();
#ifdef __cplusplus
};
#endif