Free source codes
ControlCD

Utility to open and close the CD drive door, using the Api command.

http://www.logicbasic.net/download/ControlCD.zip