Difference between revisions of "ISInterface:IsExtensionLoaded"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
== Syntax ==
 +
*bool IsExtensionLoaded(char *Filename)
 
== Purpose ==
 
== Purpose ==
 
This function can be used to determine whether an extension is loaded
 
This function can be used to determine whether an extension is loaded
Line 5: Line 7:
 
=== Parameters ===
 
=== Parameters ===
 
* char *Filename
 
* char *Filename
: The filename for the extension to check for. This filename should NOT include a path or extension!
+
:The filename for the extension to check for. '''Filename''' should not include a path or file extension (e.g. isxventrilo instead of isxventrilo.dll)
 
 
 
=== Return Value ===
 
=== Return Value ===
 
* bool
 
* bool
Line 16: Line 17:
  
 
== See Also ==
 
== See Also ==
* [[ISXDK:ISInterface|ISInterface]]::[[ISInterface:LoadExtension|LoadExtension]]
+
*[[ISInterface:LoadExtension|LoadExtension]]
* [[ISXDK:ISInterface|ISInterface]]::[[ISInterface:UnloadExtension|UnloadExtension]]
+
*[[ISInterface:UnloadExtension|UnloadExtension]]
 
* [[ISXDK:ISInterface|ISInterface]]
 
* [[ISXDK:ISInterface|ISInterface]]
  
 
[[Category:ISXDK]]
 
[[Category:ISXDK]]
 
[[Category:ISInterface]]
 
[[Category:ISInterface]]

Latest revision as of 03:25, 3 September 2005

Syntax

  • bool IsExtensionLoaded(char *Filename)

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. Filename should not include a path or file extension (e.g. isxventrilo instead of isxventrilo.dll)

Return Value

  • bool
The return value indicates whether the extension is loaded

Examples

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

See Also