How to prevent windows from accessing and detecting new volumes while writing a raw image file to PhysicalDrive?
问题 After lots and lots of try and error I am now able to flash/write a raw image file (containing multiple partitions) to \\.\PhysicalDriveN (SD-Card in my case) by just using Windows Api calls ( see below ). But as soon as I have some explorer windows open and click around, the write process fails ( error 433 ). Another annoying problem are popup messages telling me that a new volume has to be formatted (at the beginning, while I am still writing!) or autoplay asks me to select an action (after