How Can I Develop Drivers for Specific Functions?

I would like to know if there are drivers for specific functions on the computer. If so, how do you write driver programs for use on the computer to carry out specific functions? What alternative software exist which does not require drives to function? What can cause a driver to get corrupted and not function properly?
