Difference between revisions of "ISInterface:IsExtensionLoaded"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users 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 | ||
== Usage == | == Usage == | ||
=== Parameters === | === 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 === | === 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 == | ||
+ | *[[ISInterface:LoadExtension|LoadExtension]] | ||
+ | *[[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");