AutoPlay content types

Is it posible to register new content type for autoplay?

In windows XP there is three types - Video, Music(Audio), Image. How can I add my own type?

Or may be there is some other way to run program on USB Flash/Drive insertion when there is no any of audio/video/image files on it?

I've tried to register DeviceHandler for USB drive device instance and USB drive device class - no luck. Windows gives me empty Autoplay dialog. If registration occurs as additional handler for audio/video/image content types all is ok. But this is not very beautiful solution beacuase some files of this types have to be present on device.

I've also tried to use autorun.inf. Then Windows shows Autoplay Dialog each time and do not allow to check "Take this action each time" checkbox.

[813 byte] By [IvanVolzhev] at [2007-12-25]

Software Development for Windows Vista

Site Classified