In order for your module to be used within WinGate it needs to export a set of mandatory functions.
For GUI only modules
extern "C" __declspec(dllexport) int InitialiseGUI(HostAPI* pHost, HostModuleHandle hModule) |
For Engine only modules
extern "C" __declspec(dllexport) int Initialise(HostAPI* pHost, HostModuleHandle hModule, LPCWSTR szRegistryPath) |
Pointer to the host (UI or Engine) API. |
For all modules
extern "C" __declspec(dllexport) int ModuleGetAPIVersion() |