Original Post
hi I am trying to download all files (jpeg images and avi/mpg movies) from a digital camera automatically with my application. Ideally, my application would be running and once it notices the usb camera has been plugged in, it grabs the files and saves them to folder on my hard drive. unfortunately, this specific camera it needs to work for is a canon powershot a410, which doesnt assign the camera a drive letter, but a port "\\.\Usbscan0" or 1 or 2, etc, depending on how many cameras are plugged in at the time. Of course I cannot just type \\.\usbscan0 in explorer (or pass that as a foldername in my application), because it is the port; so instead, I know I'll have to use CreateFile and all that fun. My question is, how do I grab all of the individual files stored, given the handle to the port returned by createfile?