Important: The information in this document is obsolete and should not be used for new development.
The Monitor Code ResourceA monitor code resource contains the code that carries out the functions of a monitors extension. A monitor code resource is a resource of type
'mntr'and must have a resource ID of -4096. This resource must begin with a monitors extension function that you provide. The Monitors control panel calls your monitors extension function with requests to perform an action or handle an event. A monitors extension should return as a function result a handle to memory that the function allocated or an error code. In MPW, you can set the code resource type to
'mntr'when you link the program.