Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 6 - Component Manager / Component Manager Reference
Routines for Applications / Getting Information About Components


GetComponentVersion

The GetComponentVersion function returns a component's version number.

FUNCTION GetComponentVersion (ci: ComponentInstance): LongInt; 
ci
The component instance from which you want to retrieve version information. Your application obtains the component instance from the OpenDefaultComponent or OpenComponent function.
DESCRIPTION
The GetComponentVersion function returns a long integer containing the version number of the component you specify. The high-order 16 bits represent the major version, and the low-order 16 bits represent the minor version. The major version specifies the component specification level; the minor version specifies a particular implementation's version number.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996