dokan (https://en.wikipedia.org/wiki/Dokan_LibraryDokan) has an example application called "mirror""mirror" which you could possibly use.
https://github.com/dokan-dev/dokany/wiki/Use-Mirror-example
It has a flag, "/w", which allows to mount a directory as read-only.