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