hi, i need to define the FSCTL_LOCK_VOLUME value. This value seems to be defined by a CTL_CODE macro. I've try to find this macro on internet but i couldn't find it at all. It seems to be included in some .h microsoft files :( May anyone indicate me where to find the macro, or better an asm traduced equal macro ? manythanks
FSCTL_LOCK_VOLUME is defined in the Microsoft WinIoCtl.h file below is what it looked like in the file: #Define FSCTL_LOCK_VOLUME CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 6, METHOD_BUFFERED, FILE_ANY_ACCESS) by the way WinIoCtl.inc isnt included with the masm32 package. appears that you may have to make your own. smurf
ok. but the problem is that i don't find nowhere WinIoCtl.h. Could you mail me a copy of it ? Or just the macro CTL_CODE that's inside ?
sure check your mail. smurf
smurf, many thanks for the file ! I've received it. Ok now i've understand ! The macro i was looking for is just an 'or' of 4 parameters that i define. Thanks a lot !!