This function attempt to find version information on a given named
object. The object can be a module in ROM, memory-resident library or device, a disk-based file.
INPUTS
name
the NULL-terminated name of the object to get version information on. This may be a simple name, or a full AmigaDOS path. Passing NULL here indicates you wish to obtain the version and revision of the current Workbench disk.
tagList
pointer to an array of tags providing optional extra parameters, or NULL
TAGS
GV_Kickstart (BOOL)
Setting this tag to TRUE causes the version of the current Kickstart ROM to be returned. The name parameter is ignored in such a case. Default for this tag is FALSE. (V40)
GV_Location (ULONG)
This tag defines places where this function is to look for "name". See the VILOCF_XXX constants in libraries/version.h for the possible values. Default for this tag is 0xfffffff which means to accept all possible sources. (V40)
RESULT
versionInfo
a pointer to a filled-in VersionInfo structure, or NULL if no memory could be allocated for the structure. Also check the vi_Flags field to see the status of the operation.