mirror of
https://github.com/brain-hackers/lab
synced 2026-03-12 06:04:18 +09:00
table walker for mx28
This commit is contained in:
31
tablewalker/ResetKit.h
Normal file
31
tablewalker/ResetKit.h
Normal 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
|
||||
Reference in New Issue
Block a user