Carbon


IsValidAppearanceFileType

Header: Appearance.h Carbon status: Supported

Returns whether the system can interpret files of a given file type as appearance files.

Boolean IsValidAppearanceFileType (
    OSType fileType
);
fileType

A four-character code. Pass the file type to be examined.

function result

A value of type Boolean. If true, files of the specified file type can be used as appearance files; otherwise, false.

DISCUSSION

Under Appearance Manager 1.1, only the 'thme' and 'pltn' file types, described in “Appearance Manager File Type Constants”, are valid appearance file types. Your application typically does not need to call this function.

VERSION NOTES

This function is available with Appearance Manager 1.1 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)