From Developer Community
This sample code demonstrates how to use the generic open/create fshook callback. It also deals with how to use the information in the callback struct to build a full file path,
including some anomolies and how to deal with them.
xfsh2.exe
--Benjamin Fjeldsted