Tests whether an application can accept (open) an item designated by file-system reference.
- macOS 10.0–10.10Deprecated
- Core Services
A pointer to a file-system reference designating the source item (the item to test for acceptance by the target application); see the File Manager Reference in the Carbon File Management Documentation for a description of the
A pointer to a file-system reference designating the target application; see the File Manager Reference in the Carbon File Management Documentation for a description of the
A bit mask specifying the target application’s desired role or roles with respect to the source item; see
LSRolesfor a description of this mask. If the role is unimportant, pass
Flags specifying behavior to observe during the acceptance test; see
LSAcceptancefor a description of these flags.
A pointer to a Boolean value that, on return, will indicate whether the target application can accept the source item with at least one of the specified roles.
A result code; see Result Codes.
Thread-safe since Mac OS version 10.2.