Jump to content

SetFileInformationByHandle never works


Recommended Posts

Guest mkaufma@gmail.com
Posted

Hi, I'm not sure this is the correct newsgroup for my question, so

please tell me if I'm wrong to send it here.

 

I creates a small program that creates a file handle on an existing

file using CreateFile function.

After creating the handle the program tries to set FileRenameInfo or

FileDispositionInfo for the file but the function always fails with

ACCESS_DENIED. I tried many combinations of CreateFile parameters, but

none worked for me yet.

Are there specific parameters to use for creating the handle when

using SetFileInformationByHandle?

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...