how can i use the device after lock it by FSCTL_LOCK_VOLUME
win32 api control code for example listing files in the device or delete files from the device and etc .
i can list all files by FindFirstFile()
and FindNextFile()
when the device isn't lock but when i lock them i can't use this two function .
is there any alternative function for example to list files which worked with device handle ?
the msdn said :
A locked volume can be accessed only through handles to the file object (*hDevice) that locks the volume.
thanks a lot , good luck .