Device Interfaces

In chapter 7, a primitive mechanism for extending the Dispatch interface is described. It relies upon a single user-mode call, DeviceIoControl, which allows specification of a control code that is generally device-specific. The remaining arguments of the Win32 API call specify separate input and output buffers. Of course, the structure and meaning of the buffers is code-dependent and relies upon a specification outside the scope of the I/O Manager or any other system component.

Interface Definition

With the introduction of Plug and Play for Windows 2000, Microsoft allows device drivers to extend a generic interface to user-mode code. An interface is a specification, or contract, between caller and implementer that is nothing ...

Get Windows® 2000 Device Driver Book: A Guide for Programmers, Second Edition, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.