I wrote a previewhandler for the explorer inside a dll.
The prevhost.exe has the same rights as the User.
I want to write a temporary file in the temporary directory
(or any other directory), but if I called the
function CreateFile() or fopen to write
or append anything to an existing file the function failed
with the error 5 - access denied.
Reading a file doesn't fail.