Back Orifice plugin interface documentation


To write your own plugin for Back Orifice, simply create a DLL with functions
in the form:

char *YourFunc(int *active, char *args)


The Plugin execute command allows you to specify a dll and function name in
the form "dll:_Function".  The rest of the paramaters are passed to your
function in the args paramater.  The only thing your application is
responsible for is to monitor the int that active is pointing to.  If that
value becomes 0, the user has requested that this plugin exit and your
function should return as quickly as possible after shutting down whatever is
necessary.  Your program can either return NULL, or it can return a pointer
to a static buffer containing a text message that will be displayed to the
user.  The DLL will not be unloaded until after the text has been copied from
that buffer.

That's all there is to it.

