The GPI needs to export three function in order to be considered valid by ShapeUp:
fnInit(), for initialisation
fnVersion(), to tell ShapeUp what version of the API the GPI was built with.
fnGUID(), to identify this plug-in.
fnTerminate(), for any clean-up process.
Now you can proceed to the GPI Message Routing.