Say, I can use Wow64DisableWow64FsRedirection API to disable file system redirection, but is there a way to know if the thread is currently being redirected? In other words, is there an API like GetWow64FsRedirection
?
There is no API function that reports this state. You are expected to remember that you disabled redirection.