In order for your module to be used within WinGate it needs to export a set of mandatory functions. The Using the WinGate Module Wizard creates these for you if you use it to create your solution/project.
For GUI modules
See InitialiseGUI
For Engine modules
See Initialise
For all modules
Typically the function looks like so: