Requests That KMDF Does Not Support

[Applies to KMDF only]

Kernel-Mode Driver Framework (KMDF) does not support I/O requests that have the following major IRP codes:

IRP_MJ_CREATE_MAILSLOT

IRP_MJ_CREATE_NAMED_PIPE

IRP_MJ_DEVICE_CHANGE

IRP_MJ_DIRECTORY_CONTROL

IRP_MJ_FILE_SYSTEM_CONTROL

IRP_MJ_FLUSH_BUFFERS

IRP_MJ_LOCK_CONTROL

IRP_MJ_QUERY_EA

IRP_MJ_QUERY_INFORMATION

IRP_MJ_QUERY_QUOTA

IRP_MJ_QUERY_SECURITY

IRP_MJ_QUERY_VOLUME_INFORMATION

IRP_MJ_SET_EA

IRP_MJ_SET_INFORMATION

IRP_MJ_SET_QUOTA

IRP_MJ_SET_SECURITY

IRP_MJ_SET_VOLUME_INFORMATION

When the framework receives such a request, its default action depends on the device object that was the target of the request. For an FDO or PDO, the framework completes the IRP with the status STATUS_INVALID_DEVICE_REQUEST. For a filter DO, the framework passes the IRP to the next lower driver. Although the framework does not support these request types, a KMDF driver can still handle them. For more information, see Handling an IRP that the Framework Does Not Support.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.