mirror of
https://github.com/wavestone-cdt/EDRSandblast.git
synced 2026-06-08 16:37:12 +00:00
f15471d12c
The new default method for unsigned driver loading uses a KDP compatible technique, since it does not overwrite the protected variable g_CiOptions. Based on the work of: https://github.com/0mWindyBug/KDP-compatible-driver-loader Co-authored-by: Windy Bug <139051196+0mWindyBug@users.noreply.github.com>
15 lines
322 B
C
15 lines
322 B
C
#pragma once
|
|
|
|
#include <Windows.h>
|
|
|
|
PBYTE ReadFullFileW(LPCWSTR fileName);
|
|
|
|
BOOL FileExistsA(LPCSTR szPath);
|
|
BOOL FileExistsW(LPCWSTR szPath);
|
|
#ifdef UNICODE
|
|
#define FileExists FileExistsW
|
|
#else
|
|
#define FileExists FileExistsA
|
|
#endif // !UNICODE
|
|
|
|
BOOL WriteFullFileW(LPCWSTR fileName, PBYTE fileContent, SIZE_T fileSize); |