System::getVersion

FMOD Studio API

Firelight Technologies FMOD Studio API

System::getVersion

Returns the current version of FMOD Studio being used.

C++ Syntax

FMOD_RESULT System::getVersion(
  unsigned int *version
);

C Syntax

FMOD_RESULT FMOD_System_GetVersion(
  FMOD_SYSTEM *system,
  unsigned int *version
);

C# Syntax

RESULT System.getVersion(
  out uint version
);

JavaScript Syntax

System.getVersion(
  version                          // writes value to version.val
);

Parameters

version
Address of a variable that receives the current FMOD Studio version.

Return Values

If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.

Remarks

The version is a 32bit hexadecimal value formated as 16:8:8, with the upper 16bits being the major version, the middle 8bits being the minor version and the bottom 8bits being the development version. For example a value of 00040106h is equal to 4.01.06.

See Also




Version 1.10.03 Built on Feb 1, 2018