2022-06-13 00:20:18 +00:00
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
namespace advapi32 {
|
|
|
|
unsigned int WIN_FUNC RegOpenKeyExA(void *hKey, const char *lpSubKey, unsigned int ulOptions, void *samDesired, void **phkResult) {
|
2022-06-28 23:07:04 +00:00
|
|
|
DEBUG_LOG("RegOpenKeyExA(key=%p, subkey=%s, ...)\n", hKey, lpSubKey);
|
2022-06-13 00:20:18 +00:00
|
|
|
return 1; // screw them for now
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void *wibo::resolveAdvApi32(const char *name) {
|
|
|
|
if (strcmp(name, "RegOpenKeyExA") == 0) return (void *) advapi32::RegOpenKeyExA;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|