InitGraf
Ptr globalPtr ; address of thePort (start of global area) Call InitGraf once at the beginning of your program to initialize a set of global variables for using Quickdraw tools.
globalPtr is the address of the Quickdraw global data area. The first element
in that data area is a GrafPtr named thePort.
Notes: This should be called before other toolbox initialization functions.
The cursor starts out as a wristwatch (or whatever the Finder, or other
parent, has set). Use InitCursor to change it to the normal arrow pointer. InitCursor should only be used at application startup; use SetCursor(&arrow) at all other times to show the arrow.