// kEventParamMouseDelta doesn't work on MacOS < X, so this code
// will need to be replaced if Carbon COSI is to work on 8.6 or 9.x
error = GetEventParameter(event,
kEventParamMouseDelta,
typeQDPoint,
NULL,
sizeof(delta),
NULL,
&delta);
CARBON_ERROR(error);