mirror of
https://github.com/brain-hackers/lab
synced 2024-12-22 20:20:04 +09:00
32 lines
585 B
C
32 lines
585 B
C
// 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
|