WDF Storage Filter Driver

kisun 0 Reputation points
2023-09-08T05:47:02.7533333+00:00

Can WDF support IO read/write filtering on hard disks (not volumes, but hard disks, such as \.\PHYSICALDRIVE)? It is used to implement real-time data backup.

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,607 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,221 Reputation points
    2023-09-08T15:06:05.38+00:00

    Hello there,

    Whether you can implement IO read/write filtering on hard disks using WDF depends on the type of driver you're developing and the purpose of the filtering.

    Output buffers receive information from the driver. For read requests, this information is typically data that a function driver receives from a device. For device I/O control requests, an output buffer might receive status or other information that was specified by the request's I/O control code.

    The technique that your driver uses to access a request's data buffers depends on the driver's method for accessing data buffers for a device.

    Accessing Data Buffers in WDF Drivers (KMDF or UMDF) https://learn.microsoft.com/en-us/windows-hardware/drivers/wdf/accessing-data-buffers-in-wdf-drivers

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.