Supporting DOS Applications
}
// get file handle of driver
hndl = _fileno(modem);
// do the IOCTL_IN calls
GetDriverParms();
GetMfgId();
GetProdInfo();
fclose(modem);
}
Device Driver Errors
Interrupts Supported by NGENMOD.SYS
INT 14h
"
"
" NOTE:
These two functions apply only to modems:
"
"
INT 15h
"
"
" NOTE:
These interfaces are reserved solely for internal use and application use may affect applica-
tion portability. Therefore, applications should not use them.
R
2-28
PEN*KEY
6200/6300 Hand-Held Computer Programmer's Reference Guide
printf("Can't open modem\n");
exit(255);
// close driver to conserve power
SECTION 2