Obtains requested information about an item designated by file-system reference.
- macOS 10.0–10.10Deprecated
- Core Services
A pointer to a file-system reference designating the item about which information is requested; see the File Manager Reference in the Carbon File Management Documentation for a description of the
Flags specifying what information to obtain; see
LSRequestedfor a description of these flags.
A pointer to an item-information record that, on return, will contain the requested information; see
LSItemfor a description of this structure.
If you request the item’s filename extension (field
extensionof the item-information record, requested by flag
k), you are responsible for releasing the Core Foundation string object in which the extension is returned.
A result code; see Result Codes.
The information obtained about an item can include its filename extension, file type, creator signature, and various item-information flags (indicating, for example, whether the item is an application, or whether it has a hidden extension); see
LSItem for a description of these flags.
Thread-safe since Mac OS version 10.2.