Installs a new
Gestalt selector code and a value that
Gestalt returns for that selector.
- macOS 10.0–10.8Deprecated
- Core Services
The selector code you want to add. This should be a four-character sequence similar to those defined in Constants.
The value to return for the new selector code.
A result code. See Gestalt Manager.
You call the function
New when the specified selector is not already installed and you don't want to override an existing value.
In macOS, the new selector and value are on a per-context basis. That means they are available only to the application or other code that installs them. You cannot use this function to make information available to another process.