Hooks
static bool BeforeCvDllBuildInfo_QueryInterface(CvDllBuildInfo* self, GUID guidInterface, void*& result);static void AfterCvDllBuildInfo_QueryInterface(CvDllBuildInfo* self, GUID guidInterface, void*& result);static void* ReplaceCvDllBuildInfo_QueryInterface(void* (*original)(CvDllBuildInfo*, GUID), CvDllBuildInfo* self, GUID guidInterface);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildInfo_QueryInterface::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllBuildInfo_QueryInterface);host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildInfo_QueryInterface::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllBuildInfo_QueryInterface);host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildInfo_QueryInterface::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllBuildInfo_QueryInterface);