How to Handle Requests that the Frameworks Do Not Support

Neither UMDF nor KMDF supports every possible type of I/O request. For example, the frameworks do not support file-system requests such as IRP_MJ_FILE_SYSTEM_CONTROL. Instead, the frameworks support the I/O request types that drivers most commonly receive.

Chapter 8 provides a complete list of supported request types.

Default Handling of Unsupported Requests

UMDF and KMDF differ in their default handling of unsupported requests.

For a UMDF driver, when the reflector receives an IRP of an unsupported type, it passes the IRP down to the next-lower driver in the kernel-mode device stack. UMDF drivers do not have access to requests that the framework does not support.

When KMDF receives a request ...

Get Developing Drivers with the Windows® Driver Foundation 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.