mirror of https://github.com/decompals/wibo.git
24 lines
384 B
C++
24 lines
384 B
C++
|
#include "common.h"
|
||
|
|
||
|
namespace mscoree {
|
||
|
void WIN_FUNC CorExitProcess(int exitCode) {
|
||
|
exit(exitCode);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
static void *resolveByName(const char *name) {
|
||
|
if (strcmp(name, "CorExitProcess") == 0) return (void *) mscoree::CorExitProcess;
|
||
|
return nullptr;
|
||
|
}
|
||
|
|
||
|
wibo::Module lib_mscoree = {
|
||
|
(const char *[]){
|
||
|
"mscoree",
|
||
|
"mscoree.dll",
|
||
|
nullptr,
|
||
|
},
|
||
|
resolveByName,
|
||
|
nullptr,
|
||
|
};
|