Home / Articles / Programming Languages / C / A Windows Device Driver Primer (2/10): Device Driver Programming

“Chishiki” is Japanese for “knowledge.” e-chishiki.com aims to bring software developers, information security professionals, IT executives and other IT pros a rich body of knowledge in the form of articles, interviews, tutorials and technical discussions. Our contributors are among the biggest names in the Indian IT industry and include noted authors, educators and practitioners.

Windows Device Driver Programming Series

A Windows Device Driver Primer (2/10): Device Driver Programming

Yashavant Kanetkar and Asang Dani
Yashavant Kanetkar and Asang Dani

Writing a device driver for the Windows operating system is an entirely different discipline from traditional Windows application programming. A Windows device driver can be defined as "an extension to the operating system." This series of articles (ten in all) will provide you with a basic knowledge of device driver programming in a Windows environment and get you started developing your first device drivers.

Device Driver Programming

It is a common misconception that every Device Driver program controls some hardware device. There are many Device Driver programs that do not drive any device.

For example, a File System Driver (FSD) never interacts with any physical hardware.

  • A FSD is responsible for handling file I/O requests from application, converting these requests to a low-level form (Cylinder, Head, Sector request) and passing it to another driver.
  • This ‘another’ driver actually interacts with the physical storage device.
  • File system drivers bear the responsibility of managing the logical organization of a disk.
  • FSD is required for different types of file systems like FAT, NTFS, CDFS, UDF, etc.

Comments

Log in or create a user account to comment.

On Sale From April 2008

Let Us C
8th Ed.
C programming classic & best seller. 1 million+ copies sold!

Y. Kanetkar

On Sale From April 2008

Introduction to Object Oriented Programming & C++

Y. Kanetkar

On Sale From June 2008

Microsoft .NET Framework: Web Application Security

Vijay Mukhi

On Sale From June 2008

Quest C++ Courseware
20 hours of instructional video and slides.

Y. Kanetkar Asang Dani

On Sale From June 2008

A Programmer's Guide to Web Application Security

Vijay Mukhi

Latest Forum Posts