The 'mntr' Resource
The 'mntr' resource contains the code that carries out the functions of your
Monitors extension. This resource must begin with a function that you provide,
referred to in as the monitor function. The parameters passed to the monitor
function by the Monitors control panel allow your code to determine what
action to perform. You can use the function result to keep a handle to local
storage or to return an error code. These options are described in the
parameter descriptions in the next section.
An 'mntr' resource is a code resource. In Think C, you can set the code
resource type to 'mntr' when you link the program.