mirror of
https://github.com/decompals/wibo.git
synced 2025-10-15 14:45:12 +00:00
27 lines
459 B
C++
27 lines
459 B
C++
#include "common.h"
|
|
|
|
namespace mscoree {
|
|
|
|
void WIN_FUNC CorExitProcess(int exitCode) {
|
|
WIN_API_SEGMENT_GUARD();
|
|
DEBUG_LOG("CorExitProcess(%i)\n", exitCode);
|
|
exit(exitCode);
|
|
}
|
|
|
|
} // namespace mscoree
|
|
|
|
static void *resolveByName(const char *name) {
|
|
if (strcmp(name, "CorExitProcess") == 0)
|
|
return (void *)mscoree::CorExitProcess;
|
|
return nullptr;
|
|
}
|
|
|
|
wibo::Module lib_mscoree = {
|
|
(const char *[]){
|
|
"mscoree",
|
|
nullptr,
|
|
},
|
|
resolveByName,
|
|
nullptr,
|
|
};
|