Using the FILE_FLAG_BACKUP_SEMANTICS flag when calling CreateFile(...) requires some extra privileges to be enabled before proceding (cf. MSDN).
This was in fact the purpose of the _EnablePrivileges() and related subroutines you may have noticed in Win32::ReadDirectoryChangesW.
____
HTH, Dominique
My two favorites:
If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
Bien faire, et le faire savoir...
In reply to Re: From File to at Sectors on harddrive (Windows)
by dfaure
in thread From File to at Sectors on harddrive (Windows)
by Ace128
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |