![]() |
SysEnvirons |
||||
Header: | OSUtils.h | Carbon status: | Unsupported | |
Returns information about the operating environment. You can use this function when the Gestalt function is not available.
OSErr SysEnvirons ( SInt16 versionRequested, SysEnvRec *theWorld );
The version number of the system environment record youre prepared to receive. SysEnvRec documents version 2, which contains the same fields as version 1 but recognizes a more complete set of descriptive constants. You can trust any future version to return the version 2 structure if you request it, although the structure might contain whatever constants are then current.
Use the constant curSysEnvVers to request the most recent version.
A system environment record.
A result code.
Not supported in Carbon. Not available in Carbon.
Uses working directories. Use FindFolder and Gestalt instead.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)