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