The optional SetInterrupt routine controls the generation of VBL interrupts.
OSErr = Control(theDeviceRefNum, cscSetInterrupt, &theVDFlag Record );
To enable interrupts, pass a csMode value of 0; to disable interrupts, pass a csMode value of 1. The VDFlagRecord data structure is defined in Replacing Graphics Drivers.