mirror of https://github.com/decompals/wibo.git
15 lines
388 B
C++
15 lines
388 B
C++
#include "common.h"
|
|
|
|
namespace user32 {
|
|
int WIN_FUNC LoadStringA(void* hInstance, unsigned int uID, char* lpBuffer, int cchBufferMax) {
|
|
DEBUG_LOG("LoadStringA %p %d %d\n", hInstance, uID, cchBufferMax);
|
|
strcpy(lpBuffer, "hello");
|
|
return 5;
|
|
}
|
|
}
|
|
|
|
void *wibo::resolveUser32(const char *name) {
|
|
if (strcmp(name, "LoadStringA") == 0) return (void *) user32::LoadStringA;
|
|
return 0;
|
|
}
|