DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

HDK code samples



DDI: 8 sample driver
        ddi8_sample.c code
                Header files and declarations
                _load entry point routine
                _unload entry point routine
                samp_config entry point routine
                        CFG_ADD subfunction
                        CFG_SUSPEND subfunction
                        CFG_MODIFY subfunction
                        CFG_RESUME subfunction
                        CFG_REMOVE subfunction
                samp_get_config subordinate routine
                samp_open entry point routine
                samp_close entry point routine
                samp_devinfo entry point routine
                samp_biostart entry point routine
                samp_start_io subordinate routine
                samp_end_io subordinate routine
                samp_ioctl entry point routine
                samp_read_cmos and samp_write_cmos subordinate routines
                samp_free_instance subordinate routine
                samp_free_globals subordinate routine
        DSP files
                Master file
                System file
                Drvmap file
                Node file
                Space.c file

DDI 8 stub for installation and configuration

Code fragments for handling byte order (``endianness'')

Adding a new printer type
        Define the printer type
        Create conversion filter(s)
        Creating the installable package
        Testing the package