ISInterface:GetVersion

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

  • unsigned long GetVersion()

Purpose

The main purpose of GetVersion is to verify the compatability of the extension with the Inner Space version. The value given by this function and the value given by the extension's ISXInterface function of the same name must match for the extension to load -- there is generally no reason for you to call this function yourself. The version number of ISXDK is changed only when extensions would otherwise crash.

Usage

Parameters

none

Return Value

  • unsigned long
The ISXDK version number. This number is treated as hexadecimal, so version 14 of ISXDK is 0x14, or decimal 20.

Examples

printf("Current ISXDK version number: %X",pISInterface->GetVersion());

See Also