I dont think so. It could be possible with JNI but thenthe program would not run on other systems.Use MSVC (ioctl) to access the cdrom struct (if it works like c thatis).