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
Posted on 2001-04-21 05:18:00 by angelo
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
Posted on 2001-04-21 06:51:00 by 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 ?
Posted on 2001-04-21 06:59:00 by angelo
sure check your mail. smurf
Posted on 2001-04-21 07:51:00 by 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 !!
Posted on 2001-04-21 08:52:00 by angelo