mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 07:21:20 +03:00
import KernelEx-4.5-RC5
This commit is contained in:
@ -33,9 +33,10 @@
|
||||
#include "shfolder/_shfolder_apilist.h"
|
||||
#include "winmm/_winmm_apilist.h"
|
||||
#include "ws2_32/_ws2_32_apilist.h"
|
||||
#include "ole32/_ole32_apilist.h"
|
||||
//#include "/__apilist.h"
|
||||
|
||||
static apilib_api_table api_table[12];
|
||||
static apilib_api_table api_table[13];
|
||||
|
||||
static void fill_apitable()
|
||||
{
|
||||
@ -50,6 +51,7 @@ static void fill_apitable()
|
||||
api_table[8] = apitable_shfolder;
|
||||
api_table[9] = apitable_winmm;
|
||||
api_table[10] = apitable_ws2_32;
|
||||
api_table[11] = apitable_ole32;
|
||||
//last entry is null terminator
|
||||
}
|
||||
|
||||
@ -65,12 +67,14 @@ static BOOL init()
|
||||
{
|
||||
return common_init() && init_kernel32() && init_gdi32() && init_user32()
|
||||
&& init_advapi32() && init_comdlg32() && init_shell32() && init_rpcrt4()
|
||||
&& init_winspool() && init_shfolder() && init_winmm() && init_ws2_32();
|
||||
&& init_winspool() && init_shfolder() && init_winmm() && init_ws2_32()
|
||||
&& init_ole32();
|
||||
}
|
||||
|
||||
static void uninit()
|
||||
{
|
||||
uninit_kernel32();
|
||||
uninit_shell32();
|
||||
}
|
||||
|
||||
static void detach()
|
||||
|
Reference in New Issue
Block a user