wibo/version.cpp

17 lines
447 B
C++
Raw Normal View History

2022-06-28 21:08:23 +00:00
#include "common.h"
namespace version {
unsigned int WIN_FUNC GetFileVersionInfoSizeA(const char* lptstrFilename, unsigned int* outZero) {
2022-06-28 23:07:04 +00:00
DEBUG_LOG("GetFileVersionInfoSizeA %s\n", lptstrFilename);
2022-06-28 21:08:23 +00:00
*outZero = 0;
// stub: signal an error
wibo::lastError = 0;
return 0;
}
}
void *wibo::resolveVersion(const char *name) {
if (strcmp(name, "GetFileVersionInfoSizeA") == 0) return (void *) version::GetFileVersionInfoSizeA;
return 0;
}