- Re: Copying files using device handles
- Posted by Maxim S. Shatskih on September 9th, 2003
Wrong approach. LOCK does not invalidate the cached metadata.
You need to call LOCK then DISMOUNT, and then copy the file sectorwise (good
luck with NTFS with this). Then UNLOCK, then close the handle. Then the next
new CreateFile to the volume will re-mount it back.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"andrew" <andrew.venz@eds.com> wrote in message
news:52d301c37677$79ab2170$a401280a@phx.gbl...
Similar Posts
- Copying files to CD (Help and Support) by Shaun
- Copying old HD files to new HD (Help and Support) by DS829
- Copying mpg files (Computers & Technology) by BooBoo
- Looking for program that handles ISO files please. (Software & Applications) by whayface
- copying files (Computers & Technology) by miklol

