I have an USB device with CD Drive and storage volume. I can eject both of them or one by one.
When I call CreateFileA
to obtain handle of ejected volume, it returns a valid handle.
Have anyone idea, how to detect that volume is not ready for using?
UDP: I have an application, that can starts when the volume is already ejected. I want to identify state of the volume, when programm is running