Difference between revisions of "ISInterface:IsExtensionLoaded"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Purpose ==
 
== Purpose ==
 +
This function can be used to determine whether an extension is loaded
  
 
== Usage ==
 
== Usage ==
 
=== Parameters ===
 
=== Parameters ===
 +
* char *Filename
 +
: The filename for the extension to check for.  This filename should NOT include a path or extension!
 +
 
=== Return Value ===
 
=== Return Value ===
 +
* bool
 +
: The return value indicates whether the extension is loaded
  
 
== Examples ==
 
== Examples ==
 +
if (pISInterface->IsExtensionLoaded("ISXVentrilo"))
 +
  printf("ISXVentrilo is loaded");
  
 
== See Also ==
 
== See Also ==
 +
* [[ISXDK:ISInterface|ISInterface]]::[[ISInterface:LoadExtension|LoadExtension]]
 +
* [[ISXDK:ISInterface|ISInterface]]::[[ISInterface:UnloadExtension|UnloadExtension]]
 
* [[ISXDK:ISInterface|ISInterface]]
 
* [[ISXDK:ISInterface|ISInterface]]
  
 
[[Category:ISXDK]]
 
[[Category:ISXDK]]
 
[[Category:ISInterface]]
 
[[Category:ISInterface]]

Revision as of 01:37, 23 July 2005

Purpose

This function can be used to determine whether an extension is loaded

Usage

Parameters

  • char *Filename
The filename for the extension to check for. This filename should NOT include a path or extension!

Return Value

  • bool
The return value indicates whether the extension is loaded

Examples

if (pISInterface->IsExtensionLoaded("ISXVentrilo"))
  printf("ISXVentrilo is loaded");

See Also