move dlls into dll/ dir (#16)

This commit is contained in:
Mark Street
2022-07-18 14:54:17 +01:00
committed by GitHub
parent b86a542fe2
commit 11bdc5e8a2
7 changed files with 7 additions and 6 deletions

14
dll/advapi32.cpp Normal file
View File

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