Obtains the kind string for an item designated by file-system reference.
- macOS 10.0–10.10Deprecated
- Core Services
A pointer to a file-system reference designating the item whose kind string is requested; see the File Manager Reference in the Carbon File Management Documentation for a description of the
A pointer to a Core Foundation string object that, on return, will contain the item’s kind string; see the CFString Reference in the Core Foundation Reference Documentation for a description of the
CFStringdata type. You are responsible for releasing this object.
A result code; see Result Codes.
The kind string (which may be localized) is obtained from the item’s preferred application, if one is found in the Launch Services database; otherwise, a more generic kind string is chosen. For example, the kind string might be
Frame, or just
Document if the item is a document for which no application is found.
Thread-safe since Mac OS version 10.2.