mirror of
https://github.com/decompals/wibo.git
synced 2025-12-14 07:36:08 +00:00
move dlls into dll/ dir (#16)
This commit is contained in:
14
dll/advapi32.cpp
Normal file
14
dll/advapi32.cpp
Normal 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user