We have implemented a USB port in our product that is using a Bitsy-X module. The purpose of the USB port is for the use of USB drives for file transfer, etc.
What we are looking for is this: Is there an OS event that we can detect in software when a USB drive is inserted? We would like to stay away from polling for the drive.
We are using CE .Net 4.1, native eVC++, and Bitsy-X image version 4.10.35.
You'd want to use a device notification. Walk through the following links to get an idea of where to begin and the APIs you'll need. The interface you'll want is PMCLASS_BLOCK_DEVICE