doc/html/coding.html
branchB-work
changeset 132 eab0aebcdbf2
parent 0 d15304fcb7a7
child 142 90ed94768998
     1.1 --- a/doc/html/coding.html	Tue Jul 12 22:18:50 2005 +0000
     1.2 +++ b/doc/html/coding.html	Tue Jul 12 22:43:16 2005 +0000
     1.3 @@ -352,6 +352,18 @@
     1.4  	The returned string is a pointer to a static buffer, and should be
     1.5  	copied by the caller to local storage.
     1.6  	<i>[added in 1.14]</i>
     1.7 +<a name=LOAD_PLUGIN><p><li></a>
     1.8 +<tt> int <b>LOAD_PLUGIN(PLID, <i>const char *cmdline, PLUG_LOADTIME now, void **plugin_handle</i>)</b></tt>
     1.9 +	<br>Attempts to load a plugin as if "meta load <cmdline>" was passed.  If
    1.10 +    	plugin_handle is passed, it will be zeroed on failure or contain the pointer to the 
    1.11 +    	DLL handle on success.  Returns 1 for success and 0 for failure.  <i>[added in 1.18]</i>
    1.12 +<a name=UNLOAD_PLUGIN><p><li></a>
    1.13 +<tt> int <b>UNLOAD_PLUGIN(PLID, <i>const char *cmdline, PLUG_LOADTIME now, PL_UNLOAD_REASON reason</i>)</b></tt>
    1.14 +	<br>Attempts to unload a plugin given by cmdline.  A plugin cannot unload itself.  <i>[added in 1.18]</i>
    1.15 +<a name=UNLOAD_PLUGIN_BY_HANDLE><p><li></a>
    1.16 +<tt> int <b>UNLOAD_PLUGIN_BY_HANDLE(PLID, <i>void *plugin_handle, PLUG_LOADTIME now, PL_UNLOAD_REASON reason</i>)</b></tt>
    1.17 +	<br>Attempts to unload a plugin given by the DLL's handle from LOAD_PLUGIN.  
    1.18 +	A plugin cannot unload itself.  <i>[added in 1.18]</i>
    1.19  </ul>
    1.20  
    1.21  <p><br>