Function gpa::utility::GetFileVersion

Function Documentation

bool gpa::utility::GetFileVersion(wchar_t const *const filename, int *const version)

Returns the version numbers for the given file.

Parameters
  • filename -- The filepath

  • version -- An array of size 4, expected to contain the version in the format [major, minor, build, revision].

Returns

true if the file version could be accessed