long session_handle;
unsigned char state_buffer[15360];
short result, cnt = 0, ROM[8];
/* session_handle set from a call to TMExtendedStartSession */
...
/* Set into Auto Overdrive */
result = TMAutoOverDrive(session_handle, state_buffer, 1);
/* check the result */
if (result == 1)
{
/* The driver will go in and out of Overdrive automatically */
...
}
else
/* Error, invalid mode */
...
/* close the session with a call to TMEndSession */
...