Might not be easy.
You have to add yourself to dlls/ntdll/file.c
NtCreateFile, NtWriteFile, NtReadFile ...
Last time I suggested that people were not happy, to say the least.
What I had in mind is writing my own implementation of CreateFile and the like, that deal with those functions, and call wine's own CreateFile and family as necessary.
It's definitely possible, I was just wondering if wine has any built-in mechanisms for patching DLL imports.
No it doesn't.
Ciao, Marcus