Mojo contains a tiny API that allows other programs to use Mojo to launch toons.
The other programs must send a WM_COPYDATA message to Mojo's main window with the following null-terminated Unicode string:
Mojo launch DAOC NAME SERVER
Replace NAME and SERVER with the toon's name and server.
The string is case insensitive.
Please note that Mojo always runs with elevated privileges. In order for another program to send messages to Mojo, it must also have elevated privileges, otherwise the operating system will silently fail to deliver the messages.
To make it easier for other programs to identify Mojo's main window, that window will return its handle when it receives a registered message that is obtained from the operating system with the following identifier: