mirror of
https://github.com/decompals/wibo.git
synced 2025-12-12 06:45:05 +00:00
Everything needed to run simple Rust programs (#40)
* Everything needed to run simple Rust programs * Add IsDBCSLeadByte implementation * Address PR comments
This commit is contained in:
16
dll/lmgr.cpp
16
dll/lmgr.cpp
@@ -13,7 +13,7 @@ namespace lmgr {
|
||||
}
|
||||
}
|
||||
|
||||
void *wibo::resolveLmgr(uint16_t ordinal) {
|
||||
static void *resolveByOrdinal(uint16_t ordinal) {
|
||||
switch (ordinal) {
|
||||
case 189:
|
||||
return (void*)lmgr::lp_checkin;
|
||||
@@ -22,3 +22,17 @@ void *wibo::resolveLmgr(uint16_t ordinal) {
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
wibo::Module lib_lmgr = {
|
||||
(const char *[]){
|
||||
"lmgr11",
|
||||
"lmgr11.dll",
|
||||
"lmgr326b",
|
||||
"lmgr326b.dll",
|
||||
"lmgr8c",
|
||||
"lmgr8c.dll",
|
||||
nullptr,
|
||||
},
|
||||
nullptr,
|
||||
resolveByOrdinal,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user