Carbon


FNSSysInfoGet

Header: FontSync.h Carbon status: Supported

Determines version and feature information for the version of FontSync installed on the user’s system.

void FNSSysInfoGet (
    FNSSysInfo *ioInfo
);
Parameter descriptions
ioInfo

Before calling the FNSSysInfoGet function, pass a pointer to a FNSSysInfo structure. Fill in the iSysInfoVersion field of the structure with the version of this structure. Pass the constant kFNSCurSysInfoVersion, described in “Version Constants”, to represent the current version. On return, FNSSysInfoGet fills in the remaining fields and passes back a pointer to the structure.

DISCUSSION

Before calling the FNSSysInfoGet function, you should fill in the iSysInfoVersion field of the FNSSysInfo structure with the version of this structure. Pass the constant kFNSCurSysInfoVersion, described in “Version Constants”, to represent the current version. FNSSysInfoGet fills in the remaining fields and passes back the structure in the ioInfo parameter. The information it provides includes the version of FontSync running in the current context and available features, as well as the current and oldest font reference and profile format versions supported by the FontSync library.

New fields may be added to the end of the structure in future versions of FontSync. FontSync uses the iSysInfoVersion field to determine which version of the structure you are using. The value of the current version constant kFNSCurSysInfoVersion will change accordingly.

VERSION NOTES

Available beginning with FontSync 1.0. In FontSync 1.0, the current structure version is defined by the constant kFNSCurSysInfoVersion, described in “Version Constants”.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when Font Sync 1.0 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)