2022-06-29 01:07:04 +02:00
|
|
|
#include "common.h"
|
|
|
|
|
|
2022-06-29 17:33:41 +02:00
|
|
|
namespace lmgr {
|
2023-01-23 10:25:36 -05:00
|
|
|
int WIN_ENTRY lp_checkout(int a, int b, const char* c, const char* d, int e, const char* f, int* out) {
|
2022-06-29 01:07:04 +02:00
|
|
|
DEBUG_LOG("lp_checkout %d %d %s %s %d %s\n", a, b, c, d, e, f);
|
|
|
|
|
*out = 1234;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-23 10:25:36 -05:00
|
|
|
int WIN_ENTRY lp_checkin() {
|
2022-06-29 01:07:04 +02:00
|
|
|
DEBUG_LOG("lp_checkin\n");
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-06-29 17:33:41 +02:00
|
|
|
void *wibo::resolveLmgr(uint16_t ordinal) {
|
2022-06-29 01:07:04 +02:00
|
|
|
switch (ordinal) {
|
|
|
|
|
case 189:
|
2022-06-29 17:33:41 +02:00
|
|
|
return (void*)lmgr::lp_checkin;
|
2022-06-29 01:07:04 +02:00
|
|
|
case 190:
|
2022-06-29 17:33:41 +02:00
|
|
|
return (void*)lmgr::lp_checkout;
|
2022-06-29 01:07:04 +02:00
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
}
|