mirror of
https://github.com/BeneficialCode/WinArk.git
synced 2026-10-29 12:39:51 +08:00
20 lines
509 B
C
20 lines
509 B
C
#pragma once
|
|
|
|
|
|
void RaiseIRQL();
|
|
void InitializeAndStartTimer(ULONG msec);
|
|
void OnTimerExpired(KDPC* Dpc, PVOID context, PVOID, PVOID);
|
|
void WriteProtectOff();
|
|
void WriteProtectOn();
|
|
void DisableAPC();
|
|
PVOID GetFunctionAddr(PCWSTR FunctionName);
|
|
void MyGetCurrentTime();
|
|
void MySleep(LONG msec);
|
|
UINT_PTR SearchFeature(UINT_PTR nAddr, UCHAR* pFeature, int nLeng);
|
|
|
|
|
|
extern "C" {
|
|
extern void ForceReboot();
|
|
extern void ForceShutdown();
|
|
extern UINT_PTR GetSSDTFunctionAddr(ULONG index, UINT_PTR tablebase);
|
|
} |